this post was submitted on 24 Jun 2023
1 points (57.1% liked)

Selfhosted

39930 readers
419 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

I've been trying to setup a personal Lemmy instance for better control over federation, but I've run in to many error messages, most of I solved on my own but here's this one...

soullioness@raspberrypi:~ $ docker-compose up -d ERROR: yaml.constructor.ConstructorError: while constructing a mapping in "./docker-compose.yml", line 36, column 12 found unhashable key in "./docker-compose.yml", line 36, column 13

I can't for the life of me figure this out. I can't find any helpful info online either.

Edit: I'm using a raspberry pi 3 I'm sure there is more info I'm forgetting just let me know.

top 4 comments
sorted by: hot top controversial new old
[–] [email protected] 8 points 1 year ago

Well, you will need to tell us what is in line 36 of your docker compose file. Its probably a syntax error due to a typo or so.

[–] [email protected] 2 points 1 year ago

Posting that line will probably help. If you want the technicalities behind that error check out https://death.andgravity.com/yaml-unhashable-key

But that’s primarily aimed at using code to create docker YAML file. It may still help you.

[–] [email protected] 2 points 1 year ago

You have a map like

Abc: xyz

In line 36. Abc needs to be somethingconsisting of letters and digits, no spaces or funny characters

[–] [email protected] 1 points 1 year ago

Sounds like a problem with your docker compose file. Can you post the contents of docker-compose.yml?