epoupon / lms

Lightweight Music Server. Access your self-hosted music using a web interface.
http://lms-demo.poupon.dev
GNU General Public License v3.0
1.11k stars 62 forks source link

UnRAID LMS docker does not install/start #535

Open TallMan206 opened 2 hours ago

TallMan206 commented 2 hours ago

When I install LMS on my UnRAID server I get an error.

docker run -d --name='lms' --net='bridge' --pids-limit 2048 -e TZ="Europe/Paris" -e HOST_OS="Unraid" -e HOST_HOSTNAME="UnRAID" -e HOST_CONTAINERNAME="lms" -l net.unraid.docker.managed=dockerman -l net.unraid.docker.webui='http://[IP]:[PORT:5082]' -l net.unraid.docker.icon='https://raw.githubusercontent.com/JPDVM2014/icons/main/lms.webp' -p '5082:5082/tcp' -v '/mnt/user/Music Complete/':'/music complete':'ro' -v '/mnt/ssd-pool/appdata/lms':'/var/lms':'rw' -v '/mnt/ssd-pool/appdata/lms/config/':'/etc/':'ro' --user 99:100 'epoupon/lms:latest'

e13fcb56eefc8dccfb0a94554d27f4230f0ff41c326b66e48d12228bb1247aa1 docker: Error response from daemon: failed to create task for container: failed to create shim task: OCI runtime create failed: runc create failed: unable to start container process: error during container init: error mounting "/var/lib/docker/containers/e13fcb56eefc8dccfb0a94554d27f4230f0ff41c326b66e48d12228bb1247aa1/resolv.conf" to rootfs at "/etc/resolv.conf": open /var/lib/docker/btrfs/subvolumes/dcabebd7c50e5abbcccdc95ec42909f60533cd142f8332c8e9dded14230500c6/etc/resolv.conf: read-only file system: unknown.

The command failed.

What is the cause of this, and how to resolve?

The rest of the dockers install perfectly fine.

epoupon commented 2 hours ago

Hello! I guess this is not a good idea to try to mount a volume on /etc/ You should mount the config file elsewhere and specify it when running the image (see https://hub.docker.com/r/epoupon/lms)

TallMan206 commented 37 minutes ago

Hi there!

I don't know how to change that in UnRAID. I can only set the settings seen in my screenshot. Also, what can I change without breaking the functionality of LMS?

Schermafbeelding 2024-10-17 155202