More > JRiver Media Center 28 for Linux
Docker Image for MC28
Richard Martin:
--- Quote from: cncb on October 12, 2021, 03:28:15 pm ---Thanks. I have it up and running but how do I supply the docker container with user name and password to access the network shares? Also, what would the paths look like if I want to change them to be to the local (on the Synology) shared directories? I don't seem to be able to access them when browsing to open a file, for example. Do I need to set up additional volume mounts?
--- End quote ---
This is what I have set up in the Synology Docker app and
Afrosheen:
Hi Max and JRiver team,
Thanks for update to the app! I just upgraded MC on my QNAP via Container Station/Docker. I see that the app can now load certain webpages; I'm wondering if there's a way to connect my Last.fm account so that I can start scrobbling again? Thanks for the consideration!
cncb:
I still cannot get permissions to work properly.
I modified my environmental variables to use my main user account. I created a folder named /Share/JRiver/config and added a volume mount accordingly as below. The docker container crashes on startup until I specifically added read/write permission for "Owner" to the /Share/JRiver/config?
Likewise, I have an Audio shared folder on the Synology that I can access fine from my Windows PC with the main user credentials. But MC on the Synology says it is missing even when I replace the \ with / (although I am not certain this is necessary because when I do the find/replace it shows the / replacement already). I then tried to do a volume mount for a local link as below but it still says it is missing?
max096:
--- Quote from: cncb on October 13, 2021, 05:28:51 am ---I created a folder named /Share/JRiver/config and added a volume mount accordingly as below.
--- End quote ---
You are sure about that? Your picture sais "Share/J RMC/config" (canīt type it without space the forum changes JR MC to just MC on save donīt know why). You might also want to start using absolute paths for these as "Share/MC/config" could be interpreted as relative path starting from the directory the docker command executed from and I have no idea where your docker command executes from the synology gui. Start with / in that path effectively to make sure itīs the folder you intended to mount and not some other. Is "/Share/MC/config" the complete path of that directory or is it something else, like "/somwhere/else/Share/MC/Config"?
There is also no need to create the config directory explicitly before starting the container for the first time. The container should be able to create that for you if it does not exist. But if it does exist with the wrong permissions it could indeed crash on startup.
Can you check the permissions of the folders you mounted with "ls -a" (for all folders you tried to mount), what user you configured with UID and if the output of "ls -a" outputs usernames instead of numbers also the output of "id <insert username>".
--- Quote from: cncb on October 12, 2021, 03:28:15 pm ---how do I supply the docker container with user name and password to access the network shares?
--- End quote ---
You donīt. If you need to access shares that are not local on your synology, you mount that to your synology (at which point you need username/password). Anything thats mounted on Linux based systems (your synology) looks and acts no different to a local folder.
cncb:
--- Quote from: max096 on October 13, 2021, 09:35:24 am ---There is also no need to create the config directory explicitly before starting the container for the first time. The container should be able to create that for you if it does not exist. But if it does exist with the wrong permissions it could indeed crash on startup.
--- End quote ---
I started over and had the Synology Docker GUI create the config folder and it started up with no problems.
--- Quote ---You donīt. If you need to access shares that are not local on your synology, you mount that to your synology (at which point you need username/password). Anything thats mounted on Linux based systems (your synology) looks and acts no different to a local folder.
--- End quote ---
So you mount these somewhere in the Synology system settings and don't include them in the volume mounts for the Docker container? Thanks.
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version