MrMette wrote: 
> I was in the same boat as you, but I was able to fix it.
> I am not convinced it's the easiest way, but I do think it has to do
> with the PUID and PGID (which dictates the user and group the docker
> image is running under).
> 
> I fixed it by 
> - Creating a new "docker" user and give that user the correct
> permissions on the folders I wanted it to be able to access.
> - Then I searched the userid for that user (which I couldn't find in the
> user interface, so I had to log in via ssh to find it). You can find all
> the userids by typing "cat /etc/passwd". The user is the first word and
> the userid is the first number for each line, the second number is the
> groupid.
> - Then I just put that userid as the PUID in environment variables of
> the docker container instead of the 99 that was there by default.
> 
> You can reuse an other user instead (like guest or your own user), but I
> personally prefer to run it on a different user, since I can limit what
> files the docker user has access to that way.
> It does baffle me that there is no way for people to see the userid in
> the webinterface though.
> 
> Out of the box, it seems to run on the "nobody" user, but for some
> reason it was running on the 100 GUID (which is the default users
> group).  I suspect it should be possible to run it through the "nobody"
> user and it was able to write my configs with that user, but for some
> reason it couldn't read my music files.
> 
> I had basically no experience with docker (and struggled to get a
> weboutput to work at first, which I fixed by changing local port "auto"
> under Port settings to a specific port.
> But I do work in IT and have enough knowledge about linux to be
> dangerous, but probably not enough to not do dumb things. So I hope that
> if someone knowledgeable sees this and if it is a bad idea, they let me
> know.

Thanks a lot. You're a star. It helped with SSH to find the userid and
now LMS can connect to my music library, but my squeezebox touch cannot
see that the LMS is running. Can you help with that part as well?



Squeezebox Touch via LMS under Docker on Synology DS216+. iPeng remote
on iPad
------------------------------------------------------------------------
caze's Profile: http://forums.slimdevices.com/member.php?userid=71643
View this thread: http://forums.slimdevices.com/showthread.php?t=111876

_______________________________________________
plugins mailing list
plugins@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to