navilg / media-stack

A stack of self-hosted tools to manage and stream media. Sonarr + Radarr + qBitTorrent + Prowlarr + Jellyfin + Jellyseerr + VPN
GNU General Public License v3.0
605 stars 94 forks source link

Unable to run. #24

Closed karthiksogal closed 1 year ago

karthiksogal commented 1 year ago

I am getting error yaml: line 7: did not find expected key

VPN_SERVICE_PROVIDER=protonvpn OPENVPN_USER=openvpn-username OPENVPN_PASSWORD=openvpn-password SERVER_COUNTRIES=Netherlands docker compose --profile vpn up -d parsing /media/SSD240/docker-compose.yml: yaml: line 7: did not find expected key

Any idea why?

PS: very new to code

navilg commented 1 year ago

Which version of docker and docker compose are you using

karthiksogal commented 1 year ago

Docker: Docker version 24.0.5, build ced0996 compose: 2.20.2-desktop.1 ubuntu: Distributor ID: Ubuntu Description: Ubuntu 22.04.3 LTS Release: 22.04 Codename: jammy

code: image

i tried different versions on line 8 remove the bracket the quotes and combinations of it, still same

i want to really make this work as this is the most elegant solution in have seen out there, thanks for your response, let me know if you need more info. Regards

navilg commented 1 year ago

I will check this on weekend

karthiksogal commented 1 year ago

Thanks!

navilg commented 1 year ago

Its working fine on my sandbox environment with same docker and compose version.

Have you edited anything in docker-compose file before deploying.

Check if all the lines have proper indentation. Check YAML documentation if you don't understand YAML file. This error occurs when indentation has some extra space or less space. Try to remove indentations and add it again manually. Sometimes due to IDE used to open/edit the code, indentations are messed up due to space and tabs concept in it.

brycebresnan commented 1 year ago

@karthiksogal check the indentation at 46. Likely you only deleted the "#" and that gives the word "ports" 5 spaces.