caze wrote: 
> Thanks for the input. 
> 
> I forgot to mention that i tried to create a folder at the same level as
> my shared folder (fælles) and LMS can't find that either, so actually I
> don't think it is related to the naming of the shared folder. 
> I have downgraded Perl and installed the 8.0 package instead of getting
> docker to work, which works perfectly without changing anything, but I
> would like to use the docker version as it sounds to be a more
> future-save way, when DSM 7 will be mandatory. In my Docker-testing i
> have uninstalled the "normal" LMS package.
> 
> I looked into the log, which does not make very much sense to me except
> this one
> 
> Some suggested to change the NFS permissions on the shared folder. I
> used these settings on my "/volume1/music"-folder. 
> 
> What am i missing?

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 into it via ssh). You can find all the
userids by typing "cat /etc/passwd". The userid is the first number for
each line and the user is the first word, the second number is the
groupid.
- Then I just put that userid as the PUID in environment variables
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 this way I can
limit what files the docker user has access to.
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 someone
knowledgeable for sure let me know if what I did is a bad idea.


------------------------------------------------------------------------
MrMette's Profile: http://forums.slimdevices.com/member.php?userid=71660
View this thread: http://forums.slimdevices.com/showthread.php?t=111876

_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins

Reply via email to