INTERACT FORUM

More => Old Versions => JRiver Media Center 28 for Linux => Topic started by: merman-corrode-portage on June 21, 2021, 06:29:42 pm

Title: Docker Image for MC28
Post by: merman-corrode-portage on June 21, 2021, 06:29:42 pm
Who's going to post first? My server is ready and waiting!
 :P
Title: Re: Docker Image for MC28
Post by: max096 on June 22, 2021, 01:23:41 pm
Here you go https://hub.docker.com/r/shiomax/jrivermc28  :)
Title: Re: Docker Image for MC28
Post by: Richard Martin on June 22, 2021, 04:45:39 pm
Is upgrading from 27 to 28 the same process as upgrading from 27.x to 27.y?
Title: Re: Docker Image for MC28
Post by: max096 on June 22, 2021, 05:28:28 pm
Is upgrading from 27 to 28 the same process as upgrading from 27.x to 27.y?

You do need to make a library backup and restore from it just as you would on a normal install of MC. Other than that it's the same.
Title: Re: Docker Image for MC28
Post by: Richard Martin on June 23, 2021, 07:39:52 am
28 is up and running on my Synology NAS, thank you
Title: Re: Docker Image for MC28
Post by: HaWi on June 24, 2021, 10:13:08 am
You do need to make a library backup and restore from it just as you would on a normal install of MC. Other than that it's the same.
For good measure, I created a new container for 28. Everything worked like a charm. Thank you so much
Title: Re: Docker Image for MC28
Post by: merman-corrode-portage on June 24, 2021, 09:57:44 pm
Here you go https://hub.docker.com/r/shiomax/jrivermc28  :)

Thanks Max, your container has been my go-to for the last few years. Really appreciate it.
Title: Re: Docker Image for MC28
Post by: Scobie on June 25, 2021, 08:03:52 pm
Hi Max, thanks for standing this up, much appreciated.

I'm having an issue with this image though  in that it is not allowing me to assign a static IP. I've done that in your previous builds (MC26/27)  but this one only seems to want to use DHCP, is there something new in the network setup?

Edit: sorry scratch that...didn't like the Mac Address I was using, used one of your generated ones and all good.

Cheers
Title: Re: Docker Image for MC28
Post by: yeanay on June 30, 2021, 05:26:49 am
Would Love to give Docker Image for MC28 a whirl, but there simply are NO instructions anywhere. I had no problems setting up a unifi docker on a Synology Nas. But with this docker, Nothing. Just use docker compose.. ? okay where, when , how, host vs bridge? the only choice is bridge.., how do i connect? Somewhere out there, there must be SOMEONE that made up some basic instructions SOMEWHERE. Thanks.
Title: Re: Docker Image for MC28
Post by: Richard Martin on June 30, 2021, 04:12:58 pm
Instructions are here https://gitlab.com/shiomax/jrivermc-docker/-/blob/master/README.md
They are generic, not specifically for Synology.  You don't need to use Docker Compose if you are using the Synology docker application.
Do you have any experience of using Docker on Synology?
Basically, you go in to the Registry and search for jrivermc28 to download then Launch it from Images which will take you through creating and configuring the Container.

If you get stuck come back and ask specific questions about the point you are stuck on.
Title: Re: Docker Image for MC28
Post by: max096 on July 01, 2021, 06:55:13 am
NO instructions anywhere.

There are instructions on both dockerhub and gitlab. Itīs the same instructions. Just canīt copy paste it here, because the forum does not use markdown like seemingly everything else does.

I had no problems setting up a unifi docker on a Synology Nas.

What instructions did you follow for that? Probably, you can do it very similar. The instructions I wrote are mostly for straight up Linux hosts. So not specific to synology.

Just use docker compose.. ? okay where, when , how, host vs bridge? the only choice is bridge.., how do i connect?

Given that you probably already found those instructions and did not find them very helpful.

I did add a "Accessing the GUI" section. The ports were already listed in the port sections. Effectively port 5800 is for the WEB GUI http://<IP>:5800 or https://<IP>:5800 when using the SECURE_CONNECTION flag. Should work with just about any browser. If you want to access it with a VNC client <IP>:5900 with any VNC client. If you use the SECURE_CONNECTION flag there same thing, however you do require a VNC client with SSL support then (which many do not support at all, so your choice of VNC clients becomes very limited).

Since you were happy with however you installed the unifi controller Iīd recommend you find that guide again and substitute the image name, ports, environment variables and mounts for the ones for this image.

The only extra thing you might need to do for this image is finding out what user your media folders belong to. The default is just 1000, which if you install Linux itīs the first User you end up with. But it may be different on your synology. It might be 1003 or 1004 or something. JRiver inside the container runs as the User thatīs set with the environment variables USER_ID and GROUP_ID. If whatever user has ID 1000 does not have access rights to the folder(s), you cannot access it from JRiver and you need to change those.

Also got a section here in the docu for that
https://gitlab.com/shiomax/jrivermc-docker#permission-problems

You should be able to ssh into your synology and use the same id command to find out the numeric user id. Names donīt help, since the container does not actually have any way of knowing who that User really is on the host.
Title: Re: Docker Image for MC28
Post by: JimH on July 01, 2021, 07:09:15 am
Thanks, Max0096.

Yeaney, Docker support is entirely by volunteers here.  Max096 has been very generous with his time.

JRiver doesn't support Docker, so I'm asking on behalf of JRiver that you be more respectful.  Docker isn't for everyone.
Title: Re: Docker Image for MC28
Post by: merman-corrode-portage on July 06, 2021, 08:46:30 pm
FYI I had a permissions error which I've never had with previous versions of the container. I needed to modify the environment variable for GROUP_ID to match the host.

https://yabb.jriver.com/interact/index.php/topic,129979.0.html
Title: Re: Docker Image for MC28
Post by: jokertest on August 25, 2021, 11:04:13 pm
Hi there,
i installed shiomax/jrivermc28 on my qnap TS-251+ latest Firmware via Container Station.
mostly everthing work as it should except Video. JRiver found mounted Music and Video drives add this to the library i also see my files when go to import section but i can not see any movie in jriver. the complete side section Video is empty. No Files, Movie, TV-Show or Home Video. Movies i see only in recent importet, thats it. Music works perfect.


Any idea whats the problem?

Edit: i test shiomax/jrivermc25,26,27,28. MC 25 and 26 worked for Video MC 27 and 28 not work for Video.

 :'( same problem i have in desktop docker win10
Title: Re: Docker Image for MC28
Post by: max096 on August 30, 2021, 07:44:39 pm
Hi there,
i installed shiomax/jrivermc28 on my qnap TS-251+ latest Firmware via Container Station.
mostly everthing work as it should except Video. JRiver found mounted Music and Video drives add this to the library i also see my files when go to import section but i can not see any movie in jriver. the complete side section Video is empty. No Files, Movie, TV-Show or Home Video. Movies i see only in recent importet, thats it. Music works perfect.


Any idea whats the problem?

Edit: i test shiomax/jrivermc25,26,27,28. MC 25 and 26 worked for Video MC 27 and 28 not work for Video.

 :'( same problem i have in desktop docker win10

This had come up before, but I kinda forgot about it. I think I got it working now through basically installing all of ffmpeg. Relatively big but better too much than too little I guess. Not sure what exactly it was missing, the log just said missing ffmpeg and I couldnīt figure out how to narrow it down. Donīt believe it needs even remotely close to everything.

Though, unfortunately for the first time that I can remember dockerhub is currently dead so Im unable to push the image to the registry.

Pretty sure it will come back up shortly. It does still let you push images, but they disappear into the void. Curious how many automated systems are currently repeatedly trying to push images to dockerhub (circumstancial ddos?  ^^).

You can test build it locally if you want
Code: [Select]
git clone https://gitlab.com/shiomax/jrivermc-docker
cd jrivermc-docker
git checkout dev
./build.sh 28-latest-debian-10-amd64

Then you will have an image locally tagged shiomax/jrivermc28-testing:28-latest-debian-10-amd64 that you can use for now.
Title: Re: Docker Image for MC28
Post by: Outlaw Audio on August 30, 2021, 07:46:58 pm
I gave Docker a try.  Setting it up on my Western Digital PR4100 took awhile since WD upgraded their firmware and completely broke the, then current installer.  Located the files for WD OS5 and installed it, got portainer to run, downloaded the latest version of MC25 (which is the version Im using) and everything set up great......until......it came time to load the actual media files, which are located on two separate NAS drives.  I was able to locate the local mount for the NAS that Docker was running on but unable to set up the mount point for the remote NAS that the other half of the library is located on.  Therefore, I was not able to load the complete media library onto MC25.  Anyone have any good material I can use as a guide to set up the remote NAS?  I'm curious to see what kind of performance Docker can provide
Title: Re: Docker Image for MC28
Post by: max096 on August 30, 2021, 07:57:32 pm
I gave Docker a try.  Setting it up on my Western Digital PR4100 took awhile since WD upgraded their firmware and completely broke the, then current installer.  Located the files for WD OS5 and installed it, got portainer to run, downloaded the latest version of MC25 (which is the version Im using) and everything set up great......until......it came time to load the actual media files, which are located on two separate NAS drives.  I was able to locate the local mount for the NAS that Docker was running on but unable to set up the mount point for the remote NAS that the other half of the library is located on.  Therefore, I was not able to load the complete media library onto MC25.  Anyone have any good material I can use as a guide to set up the remote NAS?  I'm curious to see what kind of performance Docker can provide

So you have docker setup on your Western Digital PR4100 (NAS) and it needs access to yet another NAS? Just making sure I got this right.

Does the other NAS have an SMB share? Or something else?

https://community.wd.com/t/mount-smb-share-on-pr4100/237512

This seems to suggest to me that you just do it with the normal linux mount utilities or put it into your fstab.

Normally to setup a smb mount permanently Iīd put the following into /etc/fstab
Code: [Select]
//<nas_ip>/<share> /mnt/<mount_name> cifs credentials=/<path>/<to>/.smbcredentials,uid=1000,gid=1000,defaults,users,iocharset=utf8,nofail 0 0

The file /<path>/<to>/.smbcredentials would contain
Code: [Select]
<username>
<password>

Then it will get mounted to /mnt/<mount_name> on boot or upon running "mount -a".

uid and gid you might want to adjust if yours are different.

I'm curious to see what kind of performance Docker can provide

Generally should be almost equivalent to bare metal. Except when you want to use GPU accelleration to decode videos it will fall short by a lot without proper setup. You can setup GPUs with docker, but Iīve never really done that yet.
Title: Re: Docker Image for MC28
Post by: jokertest on August 30, 2021, 11:57:21 pm
This had come up before, but I kinda forgot about it. I think I got it working now through basically installing all of ffmpeg. Relatively big but better too much than too little I guess. Not sure what exactly it was missing, the log just said missing ffmpeg and I couldnīt figure out how to narrow it down. Donīt believe it needs even remotely close to everything.

Though, unfortunately for the first time that I can remember dockerhub is currently dead so Im unable to push the image to the registry.

Pretty sure it will come back up shortly. It does still let you push images, but they disappear into the void. Curious how many automated systems are currently repeatedly trying to push images to dockerhub (circumstancial ddos?  ^^).

You can test build it locally if you want
Code: [Select]
git clone https://gitlab.com/shiomax/jrivermc-docker
cd jrivermc-docker
git checkout dev
./build.sh 28-latest-debian-10-amd64

Then you will have an image locally tagged shiomax/jrivermc28-testing:28-latest-debian-10-amd64 that you can use for now.

Hi Max096
thanks for your help.
it doesn't work out. container jriver28-testing start and stop directly using windows docker.

Title: Re: Docker Image for MC28
Post by: max096 on August 31, 2021, 06:07:26 am
Hi Max096
thanks for your help.
it doesn't work out. container jriver28-testing start and stop directly using windows docker.

Probably you just donīt have bash on Windows.

Dockerhub is working fine again now. Can you try the latest images shiomax/jrivermc28:latest and check if it works for you now?
Title: Re: Docker Image for MC28
Post by: Outlaw Audio on August 31, 2021, 02:37:48 pm
So you have docker setup on your Western Digital PR4100 (NAS) and it needs access to yet another NAS? Just making sure I got this right.

Does the other NAS have an SMB share? Or something else?

https://community.wd.com/t/mount-smb-share-on-pr4100/237512

This seems to suggest to me that you just do it with the normal linux mount utilities or put it into your fstab.

Normally to setup a smb mount permanently Iīd put the following into /etc/fstab
Code: [Select]
//<nas_ip>/<share> /mnt/<mount_name> cifs credentials=/<path>/<to>/.smbcredentials,uid=1000,gid=1000,defaults,users,iocharset=utf8,nofail 0 0

The file /<path>/<to>/.smbcredentials would contain
Code: [Select]
<username>
<password>

Then it will get mounted to /mnt/<mount_name> on boot or upon running "mount -a".

uid and gid you might want to adjust if yours are different.
Thanks, Max, both NAS's use SMB shares.  Let me set up some dummy directories on each NAS and experiment more .  Its been three decades since I played with Linux so the neurons are rusty

Generally should be almost equivalent to bare metal. Except when you want to use GPU accelleration to decode videos it will fall short by a lot without proper setup. You can setup GPUs with docker, but Iīve never really done that yet.

Nothing quite so strenuous, the MC Server only points to the files and stores tag information.  No transcoding of video or audio, nor DPS functions are being performed. 
Title: Re: Docker Image for MC28
Post by: jokertest on September 01, 2021, 01:39:37 am
Probably you just donīt have bash on Windows.

Dockerhub is working fine again now. Can you try the latest images shiomax/jrivermc28:latest and check if it works for you now?

Okay, now the image works for videos too.
I only use qnap as a library server for JRiver.

Thanks Max for all the work and time you put into making JRiver available as a Docker image.

Title: Re: Docker Image for MC28
Post by: cncb on October 12, 2021, 01:12:17 pm
I just got a Synology NAS and am considering moving from my Windows server to the Synology.  Is it possible to just restore a library backup to the NAS?  Will it be able to resolve the network paths to my media files which I updated on the Windows server to the Synology's shared directories?
Title: Re: Docker Image for MC28
Post by: Richard Martin on October 12, 2021, 01:18:15 pm
I just got a Synology NAS and am considering moving from my Windows server to the Synology.  Is it possible to just restore a library backup to the NAS?  Will it be able to resolve the network paths to my media files which I updated on the Windows server to the Synology's shared directories?
The back up library from Windows will have "\"s in the file paths.  The docker image is Linux and will expect "/".  You should be able to use MC's search and replace tools to fix this.
Also, if you have DVDs and/or BluRays in your library you will only be able to play them from an instance of MC running on Linux as the file paths have to be the same on the client and the server.  This doesn't apply to audio or video files.
Title: Re: Docker Image for MC28
Post by: HaWi on October 12, 2021, 02:57:12 pm
Yes, it's entirely possible to successfully restore a library from any platform onto another platform. There are several ways in which the paths to the media can be corrected. I use the portable library tool because I restore libraries often on my Linux devices from a Mac library (I use the Mac for library maintenance because it's a lot faster)
Title: Re: Docker Image for MC28
Post by: 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?
Title: Re: Docker Image for MC28
Post by: Richard Martin on October 12, 2021, 05:03:38 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?
This is what I have set up in the Synology Docker app (https://i.postimg.cc/Hxh9T7XM/Capture.png) and (https://i.postimg.cc/gJJK9KXd/Capture2.png)
Title: Re: Docker Image for MC28
Post by: Afrosheen on October 13, 2021, 02:27:07 am
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!
Title: Re: Docker Image for MC28
Post by: cncb on October 13, 2021, 05:28:51 am
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?

Title: Re: Docker Image for MC28
Post by: max096 on October 13, 2021, 09:35:24 am
I created a folder named /Share/JRiver/config and added a volume mount accordingly as below.

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>".

how do I supply the docker container with user name and password to access the network shares?

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.
Title: Re: Docker Image for MC28
Post by: cncb on October 13, 2021, 11:03:36 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.

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.

So you mount these somewhere in the Synology system settings and don't include them in the volume mounts for the Docker container?  Thanks.
Title: Re: Docker Image for MC28
Post by: max096 on October 13, 2021, 01:07:26 pm
I started over and had the Synology Docker GUI create the config folder and it started up with no problems.

So you mount these somewhere in the Synology system settings and don't include them in the volume mounts for the Docker container?  Thanks.

You do include them in the volume mounts, but the local path on your synology. Just as you would with local folders. After you mounted the share to your synology it has a local path.
Title: Re: Docker Image for MC28
Post by: HaWi on October 14, 2021, 10:34:18 am
I don't think this has to be complicated. I followed Max's instructions and came up with the following .yml file that works without any hitches. Synology Docker does support docker-compose so all you need is put the file in your docker share and run docker-compose from there. I also use Portainer to update my containers which is really easy (literally one click). I also have the equivalent docker run file if you prefer setting it up via CLI. Just let me know.
EDIT: You need to create the folders
/volume1/docker/MC28/config
/volume1/docker/MC28/data/Library
/volume1/music
beforehand. In my case, the /volume1/music folder contains the media files

Code: [Select]
version: '3'
services:
  jrivermc28:
    image: shiomax/jrivermc28
    restart: always
    container_name: jrivermc28
    network_mode: host
    environment:
      - VNC_PASSWORD=<YOUR_VNC_PW>
      - USER_ID=1026 (this may be different for you)
      - GROUP_ID=101 (this may be different for you)
      - DISPLAY_WIDTH=2560 (this may be different for you)
      - DISPLAY_HEIGHT=1440 (this may be different for you)
      - TZ=America/New_York (this may be different for you)
    volumes:
      - /volume1/docker/MC28/config:/config:rw
      - /volume1/music:/data/music:rw
      - /volume1/docker/MC28/data/Library:/data/Library:rw
Title: Re: Docker Image for MC28
Post by: cncb on October 15, 2021, 08:12:00 am
It was a permissions issue.  I created the shared folders in the Synology GUI and then copied all my media over from Windows with robocopy.  Apparently, my main account did not have permissions on the copied folders even though I used those credentials to access the shares in Windows.  Thanks for the help.
Title: Re: Docker Image for MC28
Post by: HaWi on October 15, 2021, 10:09:25 am
Interesting, I recently also noticed a change in the permissions to my /music folder. I had to update them for MC to be able to read the media again. No idea how and why that happened.
Title: Re: Docker Image for MC28
Post by: Afrosheen on October 25, 2021, 01:34:00 pm
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!

Hi, just checking in if this could be implemented? TIA
Title: Re: Docker Image for MC28
Post by: HaWi on October 25, 2021, 07:39:21 pm
I tried updating the MC 28 docker image to v28.0.78 by pulling the latest but got 28.0.73 (28.0.78 is listed on the repository)
Does this mean that the 28.0.78 image has been pulled for some reason?
many thanks
Hans
Title: Re: Docker Image for MC28
Post by: HaWi on October 26, 2021, 07:00:38 pm
So I managed to pull and install the v28.0.78 image but is was very sluggish so I reverted to the "latest" which is 28.0.73
Title: Re: Docker Image for MC28
Post by: joetiii on November 05, 2021, 07:04:39 am
Subscribed
Title: Re: Docker Image for MC28
Post by: max096 on November 05, 2021, 07:41:33 am
I tried updating the MC 28 docker image to v28.0.78 by pulling the latest but got 28.0.73 (28.0.78 is listed on the repository)
Does this mean that the 28.0.78 image has been pulled for some reason?
many thanks
Hans

No I did not really do anything. The script builds the "latest" image (from the repository) and then starts it and determines itīs version from MCWS. It pushes the built image to latest always and if the version does not yet exists it also pushes to a tag with the version it determined. I donīt really have any clue when new JRiver versions release it just runs on timer.

At the end of this it also tries to find versions that donīt exist yet by trying to put in a bunch of numbers into the files.jriver.com download link for .deb files and see if that exists. This is mostly intended to rebuild older jriver versions when I update the image version and not just build the new one. But if JRiver does not immidiately put the file into the repository as well or pulls it from the repository because of some bug and then it runs it is possible for this script to pick up a version more recent than in the repository.

When you look here: https://hub.docker.com/layers/shiomax/jrivermc28/28.0.78-latest-14/images/sha256-866fd2ae5bc694fe0a85c5583645bae260366029d6968b70eb62feb9806e504e?context=explore

You can see all at the very bottom it sais that this one is using deb_url=some link to files.jriver.com. If this was using the repository it would say repository there.
Title: Re: Docker Image for MC28
Post by: HaWi on November 05, 2021, 03:54:04 pm
Thanks Max, it's not a problem. Just wanted to mention it.
Title: Re: Docker Image for MC28
Post by: wiesieks on November 06, 2021, 09:50:20 am
Hello, I am such a new user of MC and Linux also that I know almost nothing, I have problem with MC28 docker version (host network), I installed it on openmediavault 5.6.13. Most of them work, but for example in the audio options settings - nothing is shown only by NUL, but as a DLNA server it plays music to my devices (Pioneer VSX-S520D, LG-TV, samsung galaxy phone .....). However, a few songs do not want to play on the Pioneer VSX-S520D, I get a message on Pioneer - "Can't play", when I play the same file on the Samsung A52s 5G phone it's a game without any problems, what did I set up wrong? I can set it because the audio devices print NUL, and if I want to set something in the DSP, I write that DSP is available only for the local zone. What should I do with it, the file is e.g. DSD 64 - 5.1 Surrond.

of course I send music over ethernet
Title: Re: Docker Image for MC28
Post by: max096 on November 06, 2021, 10:25:34 pm
Hello, I am such a new user of MC and Linux also that I know almost nothing, I have problem with MC28 docker version (host network), I installed it on openmediavault 5.6.13. Most of them work, but for example in the audio options settings - nothing is shown only by NUL, but as a DLNA server it plays music to my devices (Pioneer VSX-S520D, LG-TV, samsung galaxy phone .....). However, a few songs do not want to play on the Pioneer VSX-S520D, I get a message on Pioneer - "Can't play", when I play the same file on the Samsung A52s 5G phone it's a game without any problems, what did I set up wrong? I can set it because the audio devices print NUL, and if I want to set something in the DSP, I write that DSP is available only for the local zone. What should I do with it, the file is e.g. DSD 64 - 5.1 Surrond.

of course I send music over ethernet

When you create a docker container normally you do not have access to any audio device inside the container. There is a section in the readme for how to make ALSA work within the container. When you want to play audio directly from within the container you need to do that. As in if you are connecting boxes to your openmediavault directly. If you are not doing that the 'null' sound device is not really a problem as none will be needed.

Doing this will not make any difference for your streaming problems with DLNA for some files. What it can and cannot play entierly depends on the device that plays the files. If possible use media network on another instance of jriver to play your files. Otherwise, youīll have to play around with DLNA conversion settings some more to find something suitable for all of your devices.
Title: Re: Docker Image for MC28
Post by: wiesieks on November 07, 2021, 05:07:05 pm
thank you max096, that's what I tried and it came out !, I set the DSP to 1 xDSD in native format and plays directly to the Pioneer VSX - S520D  ;D :D, but it does not show the visualization, e.g. spectrum analyzer, is there anything else you can do to show the visualizations? :'(
Title: Re: Docker Image for MC28
Post by: joetiii on November 18, 2021, 05:46:57 am
OK so I am new to all this Docker stuff and have a new Synology DS220+. I have installed Docker  and have the latest shiomaxJriver27 installed and up and running. I have mounted my music data and config folder. I now am trying to access the image using webgui, but get the following message that I can not connect to the 192.168.1.247:5800.

I know I am missing something, but what?

Title: Re: Docker Image for MC28
Post by: Richard Martin on November 18, 2021, 06:35:09 am
OK so I am new to all this Docker stuff and have a new Synology DS220+. I have installed Docker  and have the latest shiomaxJriver27 installed and up and running. I have mounted my music data and config folder. I now am trying to access the image using webgui, but get the following message that I can not connect to the 192.168.1.247:5800.

I know I am missing something, but what?
Have you checked the Synology firewall settings?
Have you looked at the logs in Docker to make sure it is running OK?
Have you installed a VNC client on the pc that you are trying to access it from to see if that works?
Title: Re: Docker Image for MC28
Post by: HaWi on November 18, 2021, 08:38:20 am
Have you checked the Synology firewall settings?
Have you looked at the logs in Docker to make sure it is running OK?
Have you installed a VNC client on the pc that you are trying to access it from to see if that works?
I'd also recommend giving the NAS a reserved IP on your router (so it doesn't change when DHCP leases update). If you want to access from outside your LAN, you also need to forward the port on your router.
Title: Re: Docker Image for MC28
Post by: joetiii on November 18, 2021, 11:20:17 am
Have you checked the Synology firewall settings?
Have you looked at the logs in Docker to make sure it is running OK?
Have you installed a VNC client on the pc that you are trying to access it from to see if that works?

No
No
Not yet .... but this gets me going in the right direction. Thanks
Title: Re: Docker Image for MC28
Post by: HaWi on November 22, 2021, 02:02:32 pm
The MC 28.0.84 image is now available (https://hub.docker.com/r/shiomax/jrivermc28/tags).
Thanks Max
Title: Re: Docker Image for MC28
Post by: Richard Martin on November 22, 2021, 02:50:38 pm
The MC 28.0.84 image is now available (https://hub.docker.com/r/shiomax/jrivermc28/tags).
Thanks Max

Thanks Max, successfully upgraded.
For other Synology users who need reminding how to upgrade.

In the Docker App
1) Container tab. Stop the JRiver container
2) Registry tab.  Download the latest image.  Search for Shiomax then select jrivermc28
3) Wait for a notification that the download is complete
4) Container tab.  Reset the container.
5) Container tab.  Start the container.
Title: Re: Docker Image for MC28
Post by: joetiii on November 23, 2021, 10:12:45 am
Thanks Max, successfully upgraded.
For other Synology users who need reminding how to upgrade.

In the Docker App
1) Container tab. Stop the JRiver container
2) Registry tab.  Download the latest image.  Search for Shiomax then select jrivermc28
3) Wait for a notification that the download is complete
4) Container tab.  Reset the container.
5) Container tab.  Start the container.

Thanks Richard, I will be updating this once I get my server files returned and MC27 back up and running as it was.

I am sure to have more questions as I plod along trying to get Shiomax up and running on my new Synology NAS.
Title: Re: Docker Image for MC28
Post by: HaWi on November 23, 2021, 02:01:51 pm
Thanks Max, successfully upgraded.
For other Synology users who need reminding how to upgrade.

In the Docker App
1) Container tab. Stop the JRiver container
2) Registry tab.  Download the latest image.  Search for Shiomax then select jrivermc28
3) Wait for a notification that the download is complete
4) Container tab.  Reset the container.
5) Container tab.  Start the container.
Or, if you have Portainer installed, it's just <Recreate> and turn turn on "latest image"
Painless and less than a minute, just saying
Title: Re: Docker Image for MC28
Post by: joetiii on November 28, 2021, 07:20:43 pm
I'd also recommend giving the NAS a reserved IP on your router (so it doesn't change when DHCP leases update). If you want to access from outside your LAN, you also need to forward the port on your router.

OK so I disabled the firewall on my router and the firewall on my Synology, but still no dice loading it up in my chrome browser. Here are the settings in my container for shiomax.

What to check?
Title: Re: Docker Image for MC28
Post by: max096 on November 29, 2021, 06:32:51 am
It says here you have your ports mapped to 49153 and up. Did you try to access those ports?
Title: Re: Docker Image for MC28
Post by: joetiii on November 29, 2021, 09:41:30 am
It says here you have your ports mapped to 49153 and up. Did you try to access those ports?

Max, the 49153 and up were all assigned by the Synology webgui AUTO . I have deleted the container and started fresh and set up the ports so that the Local Port is same as the Container Port. When I go to launch the container, I get an error message "Docker API has failed. Check log. Log says "Start container shiomax-jriver281 failed: {driver failed programming external connectivity on endpoint shiomax-jriver281and string of letters and numbers, then error starting userland proxy: listen udp4 0.0.0.0 1900: bind: address already in use.

As you can tell I am quite the newbie here and I'm determined to get this up and running.
Title: Re: Docker Image for MC28
Post by: max096 on November 29, 2021, 03:42:45 pm
Use 1901 or something instead of 1900 then, looks like you already have another service that use 1900. Might be synology itself. You can also try without that port for now.
Title: Re: Docker Image for MC28
Post by: Richard Martin on November 29, 2021, 05:13:27 pm
I don't have any port mappings in my set up and it works fine.  What do you have on the network tab? I have Network Name=host and Driver=host
Title: Re: Docker Image for MC28
Post by: joetiii on November 29, 2021, 06:42:46 pm
Use 1901 or something instead of 1900 then, looks like you already have another service that use 1900. Might be synology itself. You can also try without that port for now.

Hey Max, that worked. I changed out to 1901 and I can get it running without any errors now. Though I can not access anything using the WebGUI. I just get my synology home page when I put in <IP address:5900>. I am running in bridge mode, (not sure why the system set it up this way, because I know host mode is is easier for newbies like me than bridge mode.) I am going to try and switch the NAS over to Host mode. Any other things for me to check?
Title: Re: Docker Image for MC28
Post by: joetiii on November 29, 2021, 06:45:13 pm
I don't have any port mappings in my set up and it works fine.  What do you have on the network tab? I have Network Name=host and Driver=host

Richard,

Any thoughts on how to switch from Bridge Mode to Host mode?
Title: Re: Docker Image for MC28
Post by: joetiii on November 29, 2021, 06:54:18 pm
Well I disabled the Firewall on Synology and used :5800 in webGui and I got MC to appear. Quick question... is it OK to keep Firewall disabled or should set up an exception for the 5800 port?
Title: Re: Docker Image for MC28
Post by: HaWi on November 30, 2021, 10:33:27 am
On the Synology firewall settings allow the IP range of your local network and disallow everything else. The "allow" rule needs to be above the disallow rule. That way you can access from your LAN but nobody can access from outside.
Title: Re: Docker Image for MC28
Post by: Richard Martin on November 30, 2021, 11:37:38 am
Richard,

Any thoughts on how to switch from Bridge Mode to Host mode?
If you select Bridge>Manage, you can delete the container from the bridge, whether that then make it use host mode I don't know, but it might!
Title: Re: Docker Image for MC28
Post by: joetiii on November 30, 2021, 07:37:32 pm
On the Synology firewall settings allow the IP range of your local network and disallow everything else. The "allow" rule needs to be above the disallow rule. That way you can access from your LAN but nobody can access from outside.
Mucho Gracias. Took a bit but I got it working.

Now that its running and I see the familiar MC image, I have to get MC to find my music files. When I try to import from my Music data files, I get an error opening directory 'music library' permission denied. I believe I set up all the folders as shared so I am not sure why this is happening. My files should be in a folder outside of docker so they do not get deleted when the image gets updated or deleted correct?
Title: Re: Docker Image for MC28
Post by: HaWi on December 01, 2021, 10:45:10 am
make sure you used the correct UID and GID when you spun up the container. You can find them by ssh'ing into your NAS and typing 'id'<ENTER> (without quotation marks) in the terminal
Title: Re: Docker Image for MC28
Post by: max096 on December 01, 2021, 10:47:24 am
Mucho Gracias. Took a bit but I got it working.

Now that its running and I see the familiar MC image, I have to get MC to find my music files. When I try to import from my Music data files, I get an error opening directory 'music library' permission denied. I believe I set up all the folders as shared so I am not sure why this is happening. My files should be in a folder outside of docker so they do not get deleted when the image gets updated or deleted correct?

There is a section in the instructions for permissions. You have to find out what user it is that owns your media files (numeric id) and configure the container to use that one. By default it uses UID and GID 1000.

And no deleting the container won't delete anything you mounted into it.
Title: Re: Docker Image for MC28
Post by: joetiii on December 01, 2021, 06:37:22 pm
make sure you used the correct UID and GID when you spun up the container. You can find them by ssh'ing into your NAS and typing 'id'<ENTER> (without quotation marks) in the terminal

ssh'ing into your NAS?    That is all greek to me. I have had this Synology for about 15 days and working to find my way around it, but I have no clue how to operate in Linux, DOS or Windows for that matter. Thanks for the input, but I am lost.
Title: Re: Docker Image for MC28
Post by: max096 on December 02, 2021, 07:59:10 am
ssh'ing into your NAS?    That is all greek to me. I have had this Synology for about 15 days and working to find my way around it, but I have no clue how to operate in Linux, DOS or Windows for that matter. Thanks for the input, but I am lost.

Move to a directory: cd <folder Name>
"cd .." to go up a dir
List directories where you are with owners included: ls -la
Where the f*ck am I: pwd
If LS does print a username and not a number: id <name>
To get the id.

That's all you could possibly need for this.

I think you can also do this in the docker console. When you navigate to your container Synology surely somewhere gotta have a console thing where you can get into the container. Then you navigate to /data/music or wherever you mounted your music to. LS should output the IDs not names next to the folders because the container is unaware of the names for those users.
Title: Re: Docker Image for MC28
Post by: HaWi on December 02, 2021, 10:48:32 am
As I am sure you will need this in the future to work with your NAS, I would recommend looking up Command Line Interface access to Synology NAS via a Terminal session. e.g.
https://kb.synology.com/en-in/DSM/help/DSM/AdminCenter/system_terminal?version=6
There are a lot of good tutorials and help files out there from Synology and others.
Some basic skills with the CLI will be very useful to you. I have had my NAS for a couple of years now and have slowly acquired some very basic skills with the help of a lot of people on various forums. Max has been so helpful with setting up MC. I wouldn't have been able to do it without him.
Title: Re: Docker Image for MC28
Post by: joetiii on December 05, 2021, 10:33:21 am
As I am sure you will need this in the future to work with your NAS, I would recommend looking up Command Line Interface access to Synology NAS via a Terminal session. e.g.
https://kb.synology.com/en-in/DSM/help/DSM/AdminCenter/system_terminal?version=6
There are a lot of good tutorials and help files out there from Synology and others.
Some basic skills with the CLI will be very useful to you. I have had my NAS for a couple of years now and have slowly acquired some very basic skills with the help of a lot of people on various forums. Max has been so helpful with setting up MC. I wouldn't have been able to do it without him.

Thanks guys..... I will definitely check out the tutorials and learn more. I am in no real hurry as I do have to work on rebuilding my library. The good news is Western Digital recovery team just finished recovering all my data from my MyBook Live which was hacked like thousands of others this past June. I should be getting the data in a week or so and can work on getting that back up and sorted out in my Windows MC28.

More good news is I got real frustrated the other night and deleted the shiomax image , uninstalled docker and then reinstalled everything. I understand those that have Synology NAS have used Synology DSM to install this image with success. The first thing I noticed when starting fresh is that DSM only shows one network available and that is Bridge Mode. It does have an option for "Use same Network as Docker Host", but when you check that box, you get a message that "You Cannot Join other networks when using the same network as Docker Host". At first I thought I couldnt use Host mode but that is just a warning message. After checking Host mode I then went into Port Settings, wherein DSM states "Port Settings are not required when using the same network as Docker Host". Sounds too easy I thought. Well I was wrong. Right after launching the image, MC loaded right up in mt browser. I was now able to see all my wireless music devices in my network. Yeah.

My only issue right now is to getting the Volume mapped properly to import my music files. Current setup looks like this.


And I cant seem to files when setting up Auto Import.
The way I am seeing it, the the /Data Music folder holding all my music files should be located in /config/Music and then mount /data Music to that. Correct?
(http://)
Title: Re: Docker Image for MC28
Post by: HaWi on December 05, 2021, 11:00:01 am
This is what my Volumes look like in Docker. The actual media reside in a shared folder on the NAS (/volume1/music)
Title: Re: Docker Image for MC28
Post by: Richard Martin on December 05, 2021, 01:58:25 pm
That's pretty much what mine is, except that I don't have a separate mount for the library, it is in a sub folder of  /config, which I think is the default behaviour.

Title: Re: Docker Image for MC28
Post by: HaWi on December 05, 2021, 02:30:23 pm
That's pretty much what mine is, except that I don't have a separate mount for the library, it is in a sub folder of  /config, which I think is the default behaviour.
And your media are stored in /volume1/docker/jrmusic/?
Title: Re: Docker Image for MC28
Post by: Richard Martin on December 05, 2021, 02:44:19 pm
And your media are stored in /volume1/docker/jrmusic/?
no, my music is in /volume1/music, videos in /volume1/videos etc
Title: Re: Docker Image for MC28
Post by: joetiii on December 05, 2021, 08:29:25 pm
And your media are stored in /volume1/docker/jrmusic/?

OK so I changed folder and mount path to be exactly like you have things setup and still have issues. My music is stored in Volume1/Music. I created this in Control Panel. I then ran Import and then searched within the NAS and found data/music which  believe is the folder that Docker has it mounted to and received the message "permission denied".

I am approaching this such that the Folder where my files are stored is Music and the Mount Path is folder that I search in when looking to import the files, but this does not seem to be the case. I appreciate your taking the time to explain this but I am still at a loss.
Title: Re: Docker Image for MC28
Post by: HaWi on December 06, 2021, 04:05:42 pm
no, my music is in /volume1/music, videos in /volume1/videos etc
Well, that is the issue. I am not sure if the image can mount two different shares for video and audio. I do audio only and the setup I showed works. You can try to create a structure like this

/volume1/media/music/ and /volume1/media/video/ and then mount /volume1/media/ into the container using something like

-v /volume1/media:/data/music:rw \  or

-v /volume1/media/music:/data/music:rw \     and
-v /volume1/media/video:/data/video:rw \

I am not sure this would work but it's worth a try. Max would know for sure

EDIT: I think I got some posts confused (I failed to realize that there are two people with issues here, sorry)
Title: Re: Docker Image for MC28
Post by: HaWi on December 06, 2021, 04:22:04 pm
OK so I changed folder and mount path to be exactly like you have things setup and still have issues. My music is stored in Volume1/Music. I created this in Control Panel. I then ran Import and then searched within the NAS and found data/music which  believe is the folder that Docker has it mounted to and received the message "permission denied".

I am approaching this such that the Folder where my files are stored is Music and the Mount Path is folder that I search in when looking to import the files, but this does not seem to be the case. I appreciate your taking the time to explain this but I am still at a loss.

I think your folder structure is limiting for when you want to create more containers in the future. I'd recommend this structure for docker containers:

/volume1/docker/MC28 for JRiver, so that in the future you can have another container like  /volume1/docker/Portainer/ for example
then the data folder should be a sub-folder in /volume1/docker/MC28/ >> /volume1/docker/MC28/data/

Also make sure that the permissions on the media folders are set correctly in Disk Station Manager and that your UID and GID are correct
Title: Re: Docker Image for MC28
Post by: Richard Martin on December 08, 2021, 05:18:51 pm


EDIT: I think I got some posts confused (I failed to realize that there are two people with issues here, sorry)

I don't have any issues, my config works.  I have shown what I have to try to help @joetiii
Title: Re: Docker Image for MC28
Post by: HaWi on December 09, 2021, 09:56:29 am
I don't have any issues, my config works.  I have shown what I have to try to help @joetiii
Yeah, sorry about that. getting too old ...
Title: Re: Docker Image for MC28
Post by: Richard Martin on December 10, 2021, 03:55:03 pm
Yeah, sorry about that. getting too old ...
:) Me too
Title: Re: Docker Image for MC28
Post by: joetiii on December 11, 2021, 10:40:04 am
Thanks for all the help. I have the image up and running but have an issue with permissions. I am going to use the synology tutorials to try and figure out how to fix this. I will report back once I have time. My Library restoration will be taking up most all my waking moments.  :'(
Title: Re: Docker Image for MC28
Post by: HaWi on December 12, 2021, 11:29:53 am
There is two types of permissions; the permissions that docker MC needs to access the library, and the permissions that you need to access docker. The latter is defined in your docker file (.yml) if you are using docker compose, or in the CLI instructions if you are using the Terminal to spin up the container (PID, GID).
The permissions to access your library are defined in the Synology Disk Station Manager.
In DSM you can just right click the top folder of your media ([music] in my case) and select <Properties> and then click <Permissions>. There you get all the options to set permissions for all the services and users. Make sure you check the box <Apply this to folders, subfolders and files> at the bottom of the screen. I have set my entire [music] folder to full access.
Title: Re: Docker Image for MC28
Post by: crypticc on January 09, 2022, 09:55:09 am
Hello

I'm trying out JRiver running in docker container on my QNAP
I have managed to get it working including both as DLNA server and DLNA controller.  But I can't get it to act as a local player.  Or rather I can but I don't get any audio

this is my first post but I'm hoping to have done enough b4 asking for help here that someone more experienced might be able to help.

Thank you
Chris


This is my docker-compose.yml file

Code: [Select]
version: '3'
services:
  jrivermc28:
    image: shiomax/jrivermc28
    restart: always
    container_name: jrivermc28
    network_mode: host
    environment:
      - VNC_PASSWORD=mypassword
      - USER_ID=1004
      - GROUP_ID=100
      - DISPLAY_WIDTH=1920
      - DISPLAY_HEIGHT=1080
      - TZ=Europe/London
    volumes:
      - /share/Container/JRiver/config:/config:rw
      - /share/Multimedia/Music:/data/music:rw
      - /share/Container/JRiver/data/Library:/data/Library:rw
    devices:
  - '/dev/snd/'
    device_cgroup_rules:
          - 'c 116:* rmw'
          - 'c 14:* rmw'
          - 'c 188:* rmw'
          - 'c 189:* rmw'


I added all the USB looking devices into cgroup devices although i think it's 189 which is the actual device

If relevant this is the USB device I'm trying to output to
Code: [Select]
Bus 001 Device 007: ID 22d9:0461
Here's cat /proc/devices
Code: [Select]
Character devices:
  1 mem
  4 /dev/vc/0
  4 tty
  4 ttyS
  5 /dev/tty
  5 /dev/console
  5 /dev/ptmx
  7 vcs
 10 misc
 13 input
 14 sound
 21 sg
 29 fb
 81 video4linux
 86 ch
 89 i2c
108 ppp
116 alsa
128 ptm
136 pts
166 ttyACM
180 usb
188 ttyUSB
189 usb_device
202 cpu/msr
212 DVB
216 rfcomm
226 drm
238 usdm_drv
239 qat_dev_processes
240 qat_adf_ctl
241 uio
242 vfio
243 ql2xapidev
244 ttySDIO
245 rpmb
246 nvme
247 bsg
248 watchdog
249 ptp
250 pps
251 lirc
252 rtc
253 dax
254 gpiochip

Block devices:
  1 ramdisk
  7 loop
  8 sd
  9 md
 11 sr
 43 nbd
 65 sd
 66 sd
 67 sd
 68 sd
 69 sd
 70 sd
 71 sd
128 sd
129 sd
130 sd
131 sd
132 sd
133 sd
134 sd
135 sd
147 drbd
179 mmc
251 fbsnap
252 fbdisk
253 device-mapper
254 mdp
259 blkext
Title: Re: Docker Image for MC28
Post by: max096 on January 11, 2022, 06:12:57 am
The USB device is irrelevant you can select what output you want in alsamixer on your docker host.

Test if you can play audio with aplay on the system first (not in the container).

You need a working alsa on the docker host for it to work in the container.
Title: Re: Docker Image for MC28
Post by: cncb on March 22, 2022, 07:05:20 pm
Is it possible to get Hardware-Accelerated Encoding to work with Docker?  I have a Synology DS220+ with an Intel processor that is capable of this, but the CPU is pegged when it is converting MP4 videos (h264,aac) with the option checked in MC.
Title: Re: Docker Image for MC28
Post by: max096 on March 22, 2022, 09:53:26 pm
Currently not an option built into the container. You can try to install it yourself. You'd need Intels drivers in the container, expose the GPU device to the container and give the user that you configured to run the container as permissions to use it by adding it to the render group (inside the container).

This seems how they do it for jellyfin mostly it should be the same https://forum.openmediavault.org/index.php?thread/38696-how-to-activate-intel-quick-sync-in-docker-jellyfin-handbrake/

To set the group you can mount an additional init script like this one https://gitlab.com/shiomax/jrivermc-docker/-/blob/master/rootfs/etc/cont-init.d/10-check-snd.sh

You can mount another script to /etc/cont-init.d/10-set-render-group.sh or similar.

Code: [Select]
#!/usr/bin/with-contenv sh
echo -n render >> /var/run/s6/container_environment/SUP_GROUP_IDS

Hope that helps. If you get it working you could share the init script / steps. Could add it as an option to setup in the container then.

The script that adds the audio group if you passed threw /dev/snd would interfear with it if you did that as it overrides that variable at startup too. This worked for now because there was only one group to add but there would have to be additional checks to not blindly override SUP_GROUP_IDS but append to it if something is already there. It's supposed to be a comma separated list. So better to not pass threw /dev/snd for testing now.
Title: Re: Docker Image for MC28
Post by: cncb on March 23, 2022, 04:40:22 pm
Thanks.  I might try it but I am not very skilled in Linux.
Title: Re: Docker Image for MC28
Post by: joetiii on March 29, 2022, 03:46:26 pm
There is a section in the instructions for permissions. You have to find out what user it is that owns your media files (numeric id) and configure the container to use that one. By default it uses UID and GID 1000.

And no deleting the container won't delete anything you mounted into it.

Ok so I have been rebuilding my music files on my PC for the past few months and now working on identifying how docker was setup. Hooray... I was able to SSH in to discover that the UID = 1026, GID =100, Groups=100, Admin=101. I changed the environment in shiomax to reflect the differing UID and GID.. I then went into docker to see that the shared folders I have set up have full permissions so I should be all set to run auto import correct?

Do I need to reboot my systems, because when I launch the image, all I get is a countdown with no files being imported. HELP!
Title: Re: Docker Image for MC28
Post by: Richard Martin on March 29, 2022, 04:25:52 pm
Ok so I have been rebuilding my music files on my PC for the past few months and now working on identifying how docker was setup. Hooray... I was able to SSH in to discover that the UID = 1026, GID =100, Groups=100, Admin=101. I changed the environment in shiomax to reflect the differing UID and GID.. I then went into docker to see that the shared folders I have set up have full permissions so I should be all set to run auto import correct?

Do I need to reboot my systems, because when I launch the image, all I get is a countdown with no files being imported. HELP!
If I was you my next step would be to turn off auto import for now and try a manual import, when you have that working turn auto import back on.
No, I don't think you need to reboot anything after setting permissions, but you should restart the container after updating the environment variables.
Title: Re: Docker Image for MC28
Post by: joetiii on March 29, 2022, 08:15:11 pm
OK so here we go with tracking down why my setup won't import my music files. I have setup my Volume Environment as pictured and my Music files reside in folder Volume1/data/Music Files.

I have corrected my permissions issue so that User Id and Group Id are same between my PC and docker as seen below.

Yet when I go to import my files from Volume1/data/Music Files I get a big fat zero. What am I doing wrong?
Title: Re: Docker Image for MC28
Post by: JimH on March 30, 2022, 07:22:58 am
Something that is different about Linux.  The case matters.  I don't know if that helps or not.
Title: Re: Docker Image for MC28
Post by: BryanC on March 30, 2022, 08:24:00 am
OK so here we go with tracking down why my setup won't install my music files. I have setup my Volume Environment as pictured and my Music files reside in folder Volume1/data/Music Files.

I have corrected my permissions issue so that User Id and Group Id are same between my PC and docker as seen below.

Yet when I go to import my files from Volume1/data/Music Files I get a big fat zero. What am I doing wrong?

Your files are located at the mount paths in the container (not the host path), one of which is invalid.
Title: Re: Docker Image for MC28
Post by: joetiii on April 20, 2022, 08:58:52 pm
Your files are located at the mount paths in the container (not the host path), one of which is invalid.

So BryanC, please explain in detail what I need to change.

Not sure what is invalid?

I am fairly illiterate with computers so I tend to copy other's configurations and don't really understand how this all works even after reading it over and over.

TIA.
Title: Re: Docker Image for MC28
Post by: max096 on April 21, 2022, 08:08:57 am
So BryanC, please explain in detail what I need to change.

Not sure what is invalid?

I am fairly illiterate with computers so I tend to copy other's configurations and don't really understand how this all works even after reading it over and over.

TIA.

Looking at your screenshot your mount paths are those
"/data/library"
"/data/music"
"/Data Music"

When you access the containers Web UI or VNC and you donīt find songs in any of those locations that means there arenīt any files on your host at that location so the column to the left "File/Folder" is wrong. If you see them but cannot access them thatīs a different problem. The mount paths can only be wrong in so far as the music will end up in a folder you didnīt intend it to go into. But really you can pick anything that makes sence to you. Just the host path (File/Folder) has to be accurate as thatīs where the files are really from.
Title: Re: Docker Image for MC28
Post by: joetiii on April 21, 2022, 05:30:03 pm
Max, You're the best. All I had to do was change my mount Path and the Image found my files to import.

Very happy camper thanks.