I would like to start LMS on my QNAP server. I start it using the following command:
docker run --name=lms --hostname=san --user=squeezeboxserver \
-e PUID=1000 -e PGID=100 \
-e EXTRA_ARGS="--advertiseaddr=192.168.173.10" \
--mac-address=02:42:0a:00:03:03 \
--env=TZ=Europe/Berlin \
--volume=/share/Container/squeezeserver:/config:rw \
--volume=/share/Multimedia/music/Corrected:/music:ro \
--network=bridge -p 3483:3483 -p 3483:3483/udp -p 4070:4070 -p 9000:9000 -p 9090:9090 \
--label='com.qnap.qcs.network.mode=nat' --label='com.qnap.qcs.gpu=False' \
--log-opt max-file=10 --log-opt max-size=10m \
--runtime=runc --memory="2147483648" --detach=true -t \
lmscommunity/logitechmediaserver:stable
However, when I start it, I get the following errors:
usermod: user squeezeboxserver is currently used by process 1
groupmod: Permission denied.
groupmod: cannot lock /etc/group; try again later.
chown: changing ownership of '/config': Operation not permitted
chown: changing ownership of '/lms/Slim/Buttons/Alarm.pm': Operation not permitted
chown: changing ownership of '/lms/Slim/Buttons/Block.pm': Operation not permitted
chown: changing ownership of '/lms/Slim/Buttons/Common.pm': Operation not permitted
…
chown: changing ownership of '/lms/strings.txt': Operation not permitted
chown: changing ownership of '/lms/types.conf': Operation not permitted
chown: changing ownership of '/lms': Operation not permitted
Starting Logitech Media Server on port 9000...
Using additional arguments: --advertiseaddr=192.168.173.10
So the given User- and Group-IDs already exist on my QNAP. The config directory has mode 777, so in any case, someone should be able to write it. But the lms directory is only inside the Docker image. How can I get an "Operation not permitted" error here?
In the end, the server has not been started and is not reachable using the given address. Moreover, the config directory does not contain anything, not even the subdirectories logs, prefs´ and cache`.
Thankful for any advice.
I would like to start LMS on my QNAP server. I start it using the following command:
However, when I start it, I get the following errors:
So the given User- and Group-IDs already exist on my QNAP. The config directory has mode 777, so in any case, someone should be able to write it. But the
lmsdirectory is only inside the Docker image. How can I get an "Operation not permitted" error here?In the end, the server has not been started and is not reachable using the given address. Moreover, the config directory does not contain anything, not even the subdirectories
logs,prefs´ andcache`.Thankful for any advice.