I'm getting an error and I have no idea what it means or how to fix it.

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.

1 points · 4 comments · view on lemmy.world

4 Comments

poVoq@slrpnk.net · 8 pts · 3y

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.

phase_change@sh.itjust.works · 2 pts · 3y

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.

oldfart@lemm.ee · 2 pts · 3y

You have a map like

Abc: xyz

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

hoodlem@hoodlem.me · 1 pts · 3y

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