Hi all. Yesterday I fully set up the media centre using yams, all is working well until the point I started faffing around trying to add a new volume to expand the storage, which worked and did not work.
The procedure was editing the volumes bit in the docker-compose file, stopping the service, saving the file then re-starting the services. At some point I miss alt-tabbed and I believe I added (or removed) some wrong character to the file rendering any "yams start" or "yams stop" useless, which return the following to me:
Code: Select all
service "jellyfin" refers to undefined volume jellyfin: invalid compose project
Failed to stop services
Everything works. Jellyfin is streaming to devices, sonarr and radarr are downloading, and vpn checks are good.
The jellyfin code bit looks like this: - As I am new to yams, ofc, I don't have a backup of the compose file therefore I don't know how it should look like.
Code: Select all
services:
# jellyfin is used to serve your media to the client devices
jellyfin:
image: lscr.io/linuxserver/${MEDIA_SERVICE}
container_name: ${MEDIA_SERVICE}
#network_mode: host # plex
environment:
- PUID=${PUID}
- PGID=${PGID}
- VERSION=docker
volumes:
- /etc/localtime:/etc/localtime:ro
- ${MEDIA_DIRECTORY}:/data
- ${INSTALL_DIRECTORY}:/config
- ${MEDIA_SERVICE}:/config
ports: # plex
- 8096:8096 # plex
restart: unless-stopped
Any ideas about what could be causing this error?
Thank you in advance.