ptoulouse / docker-musicip

Docker Container for MusicIP
0 stars 1 forks source link

Recipes.xml location #1

Closed saysaar closed 4 months ago

saysaar commented 4 months ago

Your image has been working very well for me for several years. I depend heavily on recipes.xml to intelligently feed Sugarcube in LMS. Recipes never worked by placing the file anywhere and everywhere in the /config directory. In the past, as a workaround, I was able to stop the container, search for .MusicMagic which I would find in somewhere else deep in the system and copy recipes.xml (and mmm.ini) into that directory. On restarting MusicIP would find it and work reliably even with reboots. This search and copy would have to be repeated any time I updated the container. This trick still works on a linux machine (Libreelec) but has stopped working on a Synology NAS perhaps due to some recent update of DSM 7. Since I do not really understand what is happening behind the scenes, may I request a look into if it is possible to copy recipes.xml (and mmm.ini) from the /config directory into these directories created elsewhere in the system when the container is created. .MusicMagic folder is found in the following locations: In Libreelec: /storage/.kodi/userdata/addon_data/service.system.docker/docker/overlay2 In Synolgy: /volume2/@docker/aufs/diff

saysaar commented 4 months ago

I managed to solve the problem. It had to do with permissions. I created a user and group for docker called "musicip", found the uid/gid through SSH, gave them ownership of docker folder and the music folder and ran docker-compose with the same uid/gid. Copied recipes.xml into .MusicMagic folder created by the container under @docker/aufs/diff. Everything works again :-). Thank you for maintaining this branch.