More > JRiver Media Center 27 for Linux

Docker Image for MC27

<< < (24/32) > >>

max096:

--- Quote from: NH on March 31, 2021, 11:53:18 am ---Dear Max

I tried the following:

1. Raised a ticket with QNAP as to why the external hard disk is not visible as a share within docker. Its a feature limitation now, so nothing can be done immediately. If its a common problem they might take it up but that's a long shot.
2. I tried to follow the link above and copied and entered the commands through putty. I am sure I must have done something wrong since always got "command not found". Will be great if you could share the exact command that I need to enter in the terminal through putty. Some details as follows:
- Name of my hard disk is Seagate Backup Plus Drive and it is seen like that in file station and  on the network
3. I am using your MC24 image
4. Do the commands have to be entered via putty or via the terminal window in the docker container

Many thanks

Best

NH

--- End quote ---

Through putty try to type docker and see if it finds that command at all. If it does not you probably need to add it to the path variable. If you are logged in as root /root/.bashrc otherwise ~/.bashrc.

Assuming your docker executeable is where they say it is in this thread

https://forum.qnap.com/viewtopic.php?t=152023

You add this line to the bashrc.


--- Code: ---PATH=/share/CACHEDEV1_DATA/.qpkg/container-station/bin/docker:$PATH

--- End code ---

Then when you log out and back in. You should be able to use the docker command without typing out the entier path all the time.

Then you can run one of the docker run commands from the readme. Your disk should be somewhere in /mnt hopefully and wherever you want the /config dir to be on your NAS. You have to put those two paths (or more if you need more media locations) into the docker run command.

NH:
Thanks much Max.

I followed your instructions to enable the HDD to become accessible. Then I installed the docker with the following commands:

docker run -d \
    --name=jrivermc27 \
    --net=host \
    --restart=always \
    -v config:/config:rw \
    -v /share/Media/Music:/data/music:rw \
    -v /share/external/DEV3601_2:/data/musichdd:rw \
    -e VNC_PASSWORD=12345 \
    shiomax/jrivermc27

The container started. I got into JRiver. And could add the folders data/music and data/musichdd to file>library/import>configure auto import.

Selected the folders data/music and data/musichdd to import from.

However no files are being imported into the library.

I am able to access other libraries on the network eg minimserver in the library and that library loads. But doesnt play any file.

I had an instance of jriver mc24 also pointed to data/music. Thinking that that could create a conflict, I removed that also, but still no files are being imported.

What am I missing?

Best

NH

max096:

--- Quote from: NH on April 03, 2021, 08:19:08 am ---Thanks much Max.

I followed your instructions to enable the HDD to become accessible. Then I installed the docker with the following commands:

docker run -d \
    --name=jrivermc27 \
    --net=host \
    --restart=always \
    -v config:/config:rw \
    -v /share/Media/Music:/data/music:rw \
    -v /share/external/DEV3601_2:/data/musichdd:rw \
    -e VNC_PASSWORD=12345 \
    shiomax/jrivermc27

The container started. I got into JRiver. And could add the folders data/music and data/musichdd to file>library/import>configure auto import.

Selected the folders data/music and data/musichdd to import from.

However no files are being imported into the library.

I am able to access other libraries on the network eg minimserver in the library and that library loads. But doesnt play any file.

I had an instance of jriver mc24 also pointed to data/music. Thinking that that could create a conflict, I removed that also, but still no files are being imported.

What am I missing?

Best

NH

--- End quote ---

Are you sure you mounted the right paths? Go into your docker console to /data/music and /data/musichdd and see if the files are really there.

You probably get into the container from the qnap gui. Otherwise 'docker ps' to find the container id and 'docker exec -it <id> /bin/bash'. Then go to those directories and see if there are files there.

NH:
I dont think the files are there.

I tried doing an install via the QNAP GUI and even for that I am not able to access the files. What could be the issue? It had worked automatically when I had installed it via the GUI earlier where I had to select the folders so there was no issue of making any mistake.

I changed the USER_ID and GROUP_ID to 0 which is what I found it to be for admin in case that was to be the issue - I read in one of the other posts of MAWI - hence.

BTW - my files are in the folder Media/Music which is in the root folder of my NAS which is called NH68. Do I need to add the NAS name? Earlier I had mentioned the source folder as share/Media/Music which I changed when I saw that in the installation via the GUI, it takes /Media/Music only without the "share".

Also while I use host - then I go into settings and change it to bridge after installation because host doesnt work. Could that be an issue? I do that because I had another instance of MC27 also running which had access to the ports.

It has to be some error in pointing the folder location to the docker. Posting the commands I used:

docker run -d \
    --name=jrivermc24 \
    --net=host \
    --restart=always \
    -v config:/config:rw \
    -v /Media/Music:/data/music:rw \
    -v /external/DEV3601_2:/data/musichdd:rw \
    -e VNC_PASSWORD=12345 \
    -e USER_ID=0 \
    -e GROUP_ID=0 \
    shiomax/jrivermc24

Best

NH

NH:
Dear MAx

I also see an error message "failed to commit changes to dconf: failed to execute child process: "dbus-launch" - no such file or directory

Dont know what that means

Best

NH

Navigation

[0] Message Index

[#] Next page

[*] Previous page

Go to full version