INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1] 2   Go Down

Author Topic: Docker for MC24?  (Read 12858 times)

sjhilton

  • Junior Woodchuck
  • **
  • Posts: 73
Docker for MC24?
« on: May 08, 2018, 05:39:42 am »

Hi - I was wondering if there are any plans for a docker version of MC24? I've been using an MC22 version (detailed in this thread https://yabb.jriver.com/interact/index.php/topic,106118.msg737992.html#msg737992) and it's been very reliable as a server on my QNAP NAS. The main improvement in a newer version would be better security?
Logged

Jatzoo

  • Recent member
  • *
  • Posts: 26
Re: Docker for MC24?
« Reply #1 on: May 15, 2018, 08:21:14 am »

I created a docker image for MC24 based on solution by cassfras21/jrivermc and use it on my Qnap.

You can find it on docker hub (https://hub.docker.com/r/jatzoo/jrivermc24/).
Logged

astromo

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2239
Re: Docker for MC24?
« Reply #2 on: May 16, 2018, 11:17:35 am »

I created a docker image for MC24 based on solution by cassfras21/jrivermc and use it on my Qnap.

You can find it on docker hub (https://hub.docker.com/r/jatzoo/jrivermc24/).

Nice work. Thanks for helping the rest of us out.
Logged
MC31, Win10 x64, HD-Plex H5 Gen2 Case, HD-Plex 400W Hi-Fi DC-ATX / AC-DC PSU, Gigabyte Z370 ULTRA Gaming 2.0 MoBo, Intel Core i7 8700 CPU, 4x8GB GSkill DDR4 RAM, Schiit Modi Multibit DAC, Freya Pre, Nelson Pass Aleph J DIY Clone, Ascension Timberwolf 8893BSRTL Speakers, BJC 5T00UP cables, DVB-T Tuner HDHR5-4DT

sjhilton

  • Junior Woodchuck
  • **
  • Posts: 73
Re: Docker for MC24?
« Reply #3 on: May 22, 2018, 06:10:41 am »

Fantastic Jatzoo, thanks - I'll give it a go!
Logged

NoFace

  • Recent member
  • *
  • Posts: 14
Re: Docker for MC24?
« Reply #4 on: June 30, 2018, 06:48:06 am »

@Jatzoo - Just wanted to say Thanks! Works Perfectly!
Logged

RvdZ

  • Recent member
  • *
  • Posts: 5
Re: Docker for MC24?
« Reply #5 on: August 19, 2018, 03:14:38 pm »

@Jatzoo:
I'm using your Docker on my Qnap too. It's working great.

But I have the following problem:
I connect to the server with TighVNCViewer, for configuring JRiver. In some screens there is no OK or Cancel button and there is also no X-icon in the upper-right corner. In these cases, I don't know how to get back in the previous screen. The only thing I can do is restart the Docker.
This happens for example in the screen: Help - About Media Center. (this is no big deal).
But it also happens when configuring DSP Studio for the DLNA Server, and some other screens.
I think this changed somewhere during MC24. In the early versions, there was an X-icon in the upper corner, and everything worked fine.

Do you know how to fix this? Or is there some keyboard shortcut to close these screens?
Logged

Scobie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 715
  • Looking Busy
Re: Docker for MC24?
« Reply #6 on: August 19, 2018, 05:40:04 pm »

Also curious as to the memory usage and performance for the Dockerised MC24 on the QNAP?

I have it running as a VM and works really well but can get resource hungry, especially as my QNAP can only have 8G memory.

Cheers
Logged

Scobie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 715
  • Looking Busy
Re: Docker for MC24?
« Reply #7 on: August 20, 2018, 12:52:03 am »

Would love to try this but new to Docker so...

If I search on the QNAP Container Station it finds the jatzoo/jrivermc24 image and I can download it. According to logs it seems to be the Data container.

However on Dockerhub you mention I need 2 containers, Apps and Data; how do i go about getting the Apps container?

Thanks

Scobie
Logged

sjhilton

  • Junior Woodchuck
  • **
  • Posts: 73
Re: Docker for MC24?
« Reply #8 on: August 24, 2018, 05:39:16 am »

Hi Scobie - I have 8GB ram on my QNAP and it works well (although I haven't really tested it with video much). There's only one version on Docker Hub, which is the one I use. I don't use a separate data container - I just access a shared folder on the QNAP to store media, backup library etc. Hope that helps. I also used a VM for a long time - this is much more reliable and uses less resources.
Logged

Jatzoo

  • Recent member
  • *
  • Posts: 26
Re: Docker for MC24?
« Reply #9 on: August 24, 2018, 05:50:27 am »

@RvdZ
I don't know how to fix this (and whether it is a problem with MC or with Docker).
I do exactly the same as You - just restart the docker.

@Scobie
On my Qnap, memory usage is 3% (from 8GB) and CPU 0-1% (use MC only for audio). In comparison to VM, dockerized version use very, very, very small resources. If it's still too much, You can set limits for memory and cpu from Container Stations.

Image is only one and common to create data or/and app container. If You create data container, it will be the place for all configuration files for MC24 (/home/jriver/.jriver - library settings, custom views, etc.). So, if You delete app container and install another app container with different version of MC (for example with beta not latest release), all Your previous settings will be taken from data container. Without data container You must configure MC every time You create new app container.
Logged

Scobie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 715
  • Looking Busy
Re: Docker for MC24?
« Reply #10 on: August 25, 2018, 07:01:48 pm »

Ok many thanks Jatzoo and sjhilton. It looks like I need to do some homework on Docker to get used to the terminology...!

So from what I understand I just install the container linked to in this thread and spin it up.

Then I can hit it with VNC Viewer to and link to my library / files as per any Jrover MC install and also configure DLNA etc.

Cheers

Scobie
Logged

RvdZ

  • Recent member
  • *
  • Posts: 5
Re: Docker for MC24?
« Reply #11 on: August 27, 2018, 05:37:46 pm »

@Jatzoo:
I think the issue has something to do with display package in the Docker.
But it's not such a big deal. I have been experimenting with DLNA-DSP-settings today, and even though I cannot go back to the previous menu, the settings that i changed are still applied when I just restart the server.
It's just a little inconvenient when you want to change and test the DSP settings. You have to restart the server several times in the process. (But restarting takes only 20-30 secs, so that's also not a big deal).

@Scobie.
I also use MC mainly for music. But I do stream DSD 5.6 MHz, an I stream 2 (sometimes 3) streams at the same time.
No problem for my QNAP.
I also have 8GB, but I set the Docker to use max 6144 MB and max 75% processertime.
Logged

Mikhail

  • Recent member
  • *
  • Posts: 11
Re: Docker for MC24?
« Reply #12 on: September 24, 2018, 07:29:13 pm »

Greetings.
Please help me with one problem, I successfully installed MC24 in the docker on my QNAP NAS, but I can not access my music folders.
I have it on the path /share/CACHEDEV3_DATA/Music_Los
After trying to mount the directory
Code: [Select]
-v /share/CACHEDEV3_DATA/Music_Los:/Music: rwI see permission denied.
I tried to manually specify
Code: [Select]
-e USER_ID=0
-e GROUP_ID=0
But it did not help.
if I mount the entire Share folder to container, like this
Code: [Select]
-v /share:/share: rw \then the directory structure is visible in the MC, but the contents of the folders can not be viewed - permission denied.
What am I doing wrong?
Please help me, thank you!
Logged

Jatzoo

  • Recent member
  • *
  • Posts: 26
Re: Docker for MC24?
« Reply #13 on: September 25, 2018, 06:18:09 am »

I will not help too much - for me, works this:
Code: [Select]
-v /share/Audio:/mnt/audio \
I didn't use options "rw", full path "CACHEDEVx..." and mount different media every time under "/mnt" folder.
Logged

Mikhail

  • Recent member
  • *
  • Posts: 11
Re: Docker for MC24?
« Reply #14 on: September 25, 2018, 07:09:52 am »

Thank you very much for your reply.

Code: [Select]
docker run -d \
--name=jrivermc24--latest \
--net=host \
--pid=host \
-e UPDATE=yes \
-e VNCPASS=jriver \
--volumes-from jrivermc24--data-container \
-v /share/Music_los:/mnt/audio \
jatzoo/jrivermc24:latest

I tried to use your method, but the result in my case is the same.

Tell me, what permissions do you have on the /share/Audio folder? Maybe a problem somewhere in the permissions ?.

Problem solved!

It was all about - advanced folder permissions.

Disable it, and the folder access for containers starts working again.

Thx - demod from Qnap Forum

https://forum.qnap.com/viewtopic.php?t=135435#p635779
Logged

kliclick

  • Recent member
  • *
  • Posts: 9
Re: Docker for MC24?
« Reply #15 on: November 04, 2018, 10:46:49 pm »

Hi, I'm trying to use it in my Synology. I can connect with VNC,  but I have the permissions problems with the shared folders. In Synologyy we can use a GUI for Docker, and add sharings with it (image).
I have the same settings for shared folders with a Duplicati Docker image for backup, and it works...

The user and group in the Docker container are "999. I've tried to create a "999" user and group in Synology and adding permissions, but it still doesn't work.

I don't know if it's possible (and how) to connect to the container with ssh or similar to change these settings ?

Another idea: as I read in other forums about Docker, maybe it would be possible to have these settings as parameters in the Docker image, as "PUID", "PGUI". If you can modify the docker image this way every user can pass his own userid, groupid  (if this is the point).
Any help is welcomed
Logged

arundalep

  • Member
  • *
  • Posts: 2
Re: Docker for MC24?
« Reply #16 on: November 14, 2018, 10:25:03 am »

Is there any way of making a docker version of MC24 capable of local rendering. I have my Qnap with the HD station version of MC21 running with autostart, local output via a usb dac and would love to be able to do this with mc24 and docker.

If this is not possible what are peoples thoughts on running MC24 through linux VM vs the HD station MC21?

Any help appreciated very much.
Logged

Scobie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 715
  • Looking Busy
Re: Docker for MC24?
« Reply #17 on: November 24, 2018, 02:16:08 am »

HI I'm doing something fundamentally wrong here but don't know what and need some help.

I've got the docker image running in the container station on my QNAP, and can hit JRiver with VNC. I want to be able to access my files on the QNAP but am not getting anywhere.

Can I ask where exactly do I enter these commands such as " -v /share/Audio:/mnt/audio \ "

There is a Terminal available on the QNAP Container station, do I enter it in there? Is it a particular bash command I need to enter first?

 I also try standard Linux mount commands, mount folder: /mountpoint  but I get access denied. Do I need to sudo as a user?

Edit: ah just actually read this thread properly(!)...I need to SSH into the QNAP host OS and run commands from there...? I'll give that a try in any case, thanks.

Thanks
Logged

Scobie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 715
  • Looking Busy
Re: Docker for MC24?
« Reply #18 on: December 01, 2018, 10:36:48 pm »

Turns out the NAS mount points can be configured in the UI as part of the QNAP container creation, a true case of RTFM.

Been using the Docker version for a couple of days and it is a real game changer for running MC24 on a QNAP. Much, much lighter on resources than the Linux VM I was using and MC24 is now a heck of a lot more responsive. At times the VM was next to frozen due to its memory usage, and with the QNAP maxing out at 8gb there was nowhere to go.

Great stuff, many thanks to all involved.
Logged

elvanor

  • Recent member
  • *
  • Posts: 13
Re: Docker for MC24?
« Reply #19 on: December 05, 2018, 02:05:42 pm »

Is there any way of making a docker version of MC24 capable of local rendering. I have my Qnap with the HD station version of MC21 running with autostart, local output via a usb dac and would love to be able to do this with mc24 and docker.

If this is not possible what are peoples thoughts on running MC24 through linux VM vs the HD station MC21?

Any help appreciated very much.

Hello, I would be extremely interested in this as well. I managed to very easily (thanks to Docker) install and run MC24 on my Asustor NAS. But I need local audio rendering - the NAS is connected via an HDMI cable to my main audio receiver...
Logged

elvanor

  • Recent member
  • *
  • Posts: 13
Re: Docker for MC24?
« Reply #20 on: December 07, 2018, 02:42:17 am »

In fact, I just thought that if I can send JMC output to a pulseaudio server running on the NAS, it will work. Has someone already tried that?
Logged

Grundgütigster

  • Junior Woodchuck
  • **
  • Posts: 97
Re: Docker for MC24?
« Reply #21 on: December 28, 2018, 03:15:03 am »

Hi MC-with-Docker-on-a-QNAP-users,

I really really would love this thing to work, but failed big. I obviously don't have the brains for it.

I have a working QNAP NAS and I'm sure I was able to install Docker and also the MC 24 package from jatzoo/jrivermc24. I attach a screenshot of my MC package, running in my Docker app.

So, what do I have to do now? I propably need a step-by-step help, as I'm not familiar to Linux or the like. I tried some of the console commands I found, but they did not do anything as far as I can tell. If this is too much to ask, don't worry, I guess I have to wait until a QNAP version of MC comes out (hopefully).

Thanks for reading!
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7355
  • The color of Spring...
Re: Docker for MC24?
« Reply #22 on: December 28, 2018, 03:26:47 am »

I guess I have to wait until a QNAP version of MC comes out (hopefully).

It won't. They already did it a few years ago, it didn't work out, so I wouldn't hold my breath on JRiver again developing MC for NASes like QNAP or Synology. It'd be a waste of time and resources with the same thing(s) that happened last time happening again.

If you didn't need video (e.g. an audio-only setup) you probably could add a Raspberry Pi or JRiver Id (or Id Pi) running MC to the NAS and use that with it.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 23.10 Mantic Minotaur 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | Topping D50s DAC

Grundgütigster

  • Junior Woodchuck
  • **
  • Posts: 97
Re: Docker for MC24?
« Reply #23 on: December 28, 2018, 04:23:06 am »

Thanks Awesome Donkey!

I remember tht QNAP versions which, as far as I remember, needed a virtual machine running. In fact that was the reason for me to choose a QNAP over a Synology. But I couldn't get it running (too). There are music and video solutions out there which work fine on NASses, so I thought to add that little subclause in my cry for help in the hope to scratch a little concrete off of that wall...

I do not want to add another thingy to my NAS, so I would love to find out how to get the Docker solution running.

Happy and prosperous new year to everyone!
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7355
  • The color of Spring...
Re: Docker for MC24?
« Reply #24 on: December 28, 2018, 06:12:51 am »

I do not want to add another thingy to my NAS, so I would love to find out how to get the Docker solution running.

Sometimes it's unavoidable. That, and running MC on a NAS via Docker would technically be considered "unsupported" AND there's no guarantee somebody will update the Docker container. Does MC24 via Docker even run the latest build? Never checked.

I have a NAS too and instead of trying to mess with installing a Docker container and all that, I just added a small Raspberry Pi and connected the NAS to it since (at least right now) I'm audio only and it works perfectly. With MC running on the Pi with the NAS connected, I can use it 24/7 with any device in my house and it's rather nice that way. In addition I don't have to connect the Raspberry Pi to a monitor or TV either, I just use RealVNC to remote access it, maintain it, update it, etc. The Pi is so small, that hiding it is pretty easy.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 23.10 Mantic Minotaur 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | Topping D50s DAC

Grundgütigster

  • Junior Woodchuck
  • **
  • Posts: 97
Re: Docker for MC24?
« Reply #25 on: December 28, 2018, 08:01:22 am »


Since the idea grew inside my head to get rid of the Mac Mini I used for only hosting my music (and which perfectly suited my needs), I tried several ways to keep it as simple as possible. I even bought the Android version of MC to see if it can be used on my Fiio DAP, so I can avoid again adding another gadget for the only purpose of handling music files The DAP would be used as a DAC then. Unfortunatelly it didn't even start. (That, by the way, was the third license I bought: Master, Linux, Android).

Last year I got a one year membership for another music service as a present and that worked perfectly out of the box on and with my NAS and my DAC. But I don't like that service and think MC is the better solution. So, it is possible to bring out an app for a NAS, and I won't give up hope  :)
Until then I see if I can find out how to run the Docker version. I don't mind if it is supported or not. I never had an issue with MC and if it works I'm fine with the actual MC version 24.

A cloud version would be cool, depending on the costs. Hosting the music somewhere else, including a streaming server, so one would only need a player would be something I would go for, if I could afford it.

Thanks & All the best from Germany
Logged

Scobie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 715
  • Looking Busy
Re: Docker for MC24?
« Reply #26 on: December 29, 2018, 05:55:38 am »

Quote
So, what do I have to do now? I propably need a step-by-step help, as I'm not familiar to Linux or the like. I tried some of the console commands I found, but they did not do anything as far as I can tell.

You shouldn't need any great Linux knowledge to get this working, I made the same mistake and over complicated what is essentially a simple setup. Everything is setup from within the Container station GUI.

Just make sure the network setup is correct and you can see your docker container from your NAS. Either give it an address on the same network or just bridge it, this is in the network setup.

Also make sure you set the mount point in the container config to be where your media files live on your NAS file system. This is also set in the GUI. Only catch here is think this can only be done at import time, you cant  - as far as I can see - configure this later. So you may have to delete and re import your container.

Remember you can only see the actual MC interface via VNC. The container image has one built in as per the instructions in the thread. If you grab a VNC viewer and point it to the container address it should come up.

Cheers

Scobie
Logged

Grundgütigster

  • Junior Woodchuck
  • **
  • Posts: 97
Re: Docker for MC24?
« Reply #27 on: December 29, 2018, 08:26:37 am »

Thanks Scobie!

I was just about to write down what my problems are, as I am "playing" around for some hours now with Docker.

I was able to install Docker and the MC24 package, which really is simple. After the installation, an URL is popping up eventually that I can klick to be forwarded to a new browser tab. I don't know what triggers that URL, but sometimes it seems as if it needs a little push by closing and re-opening the Container Station window. In the new browser tab a JRiver panel shows up where I could access my music if Media Center would know where my music files were.

Within QNAPs Container Station there is a console field which I think was the place to type in certain commands to set-up MC. This is not possible here but propably should be possible and only is a problem with my computer set-up. I tried this on two browser engines, Safari and Waterfox, which is a Firefox derivate I am using.

I am trying a VNC app with the URL I mentioned above, but it stops connecting to Media Center after some while, "the connection closed unexpectedly". Same goes with a VNC app I tried on my iPad.
This morning I was able to sucessfully connect to Media Center and I was able to add my license. But I was not able to find the directory with my audio files. So I quit  the app to do some more research on the file structure of Linux. My guess at the moment is, that I somehow have to mount the file path within Docker to the MC app. But I do not know how to do this (see above). Anyway I quit the VNC app and was re-starting the MC Docker package too. When I re-opened the VNC app, the bookmark I made for my last session was still there, but the link was broken and I couldn't access MC since then.

So, that's where I am now. It's most likely my inexperience that i haven't found out how things work. At the moment I am learning a lot about Docker from internet articles and videos and I'm sure  will succeed at some time!

Have a great 2019!
Logged

Jatzoo

  • Recent member
  • *
  • Posts: 26
Re: Docker for MC24?
« Reply #28 on: December 29, 2018, 09:23:56 am »

Grundgütigster, when You create a new container with JRiver, You also set where media files are ("Advance Settings" and then "Shared Folders").

In the example:
- "Volume from Host": /Audio - this is Your (in this example my ;)) Qnap folder with media files (music, etc.),
- "Mount Point": /mnt/media/ - this is container folder where You can find files from above (after create a conatiner, You must connect by VNC and set this path in JRiver config for media files).

The link with URL is to PANEL from JRiver not to JRiver App. As was mention in earlier post - You can connect to JRiver app only by VNC.
If You config container with "Network Mode" set as "Host" - then You can connect by VNC on port 5900, if set as "NAT" (and no define any ports on "Host" side) then this port is assigned randomly (when container will be create, You can see what this port is in the container settings page).


Logged

Grundgütigster

  • Junior Woodchuck
  • **
  • Posts: 97
Re: Docker for MC24?
« Reply #29 on: December 29, 2018, 11:01:03 am »

Thanks Jatzoo for your fresh reply!

I know that the URL points to the panel, but I thought the very same URL would be good for the VNC. Meanwhile I found the right port to open a VNC access to Media Center to play around with the MC settings.

The pics you sent show different Docker settings than those on my machine. I didn't do anything there and wasn't asked to do any adjustments (see pics). I can't add a shared folder for example, as seen on your screen shot.

The mount point thing I do not understand yet (sorry for being that stupid), as I do not know where to connect this in MC. Also I only found folders called mnt and media, but the mnt-folder being without a media folder. I manually could add a media folder though, if this is needed.

Thanks again  :)
Logged

Jatzoo

  • Recent member
  • *
  • Posts: 26
Re: Docker for MC24?
« Reply #30 on: December 29, 2018, 12:04:22 pm »

You can add this shared folder ONLY when creating a container (delete current container and create fresh from images).

Below is simple "step by step" install.

1. Get image from docker-hub ("Pull").


2. Create a new container (Actions "+").


3. Name a container and click "Advance Settings" (don't change "Command" and "Entrypoint").


4. In "Environment" submenu, You don't need to change anything except VNCPASS.


5. In "Network" submenu, if set:
- NAT: You can enter port in "Host" side or leave empty (but then docker assigned ports randomly),
- HOST: Ports are mapped 1:1 from container to Qnap.


6. In "Shared Folders" You map Qnap folders to container folders ("Add"). In example folder "/Audio" is mapped to "/mnt/media" (You must enter that path by yourself).

Logged

Jatzoo

  • Recent member
  • *
  • Posts: 26
Re: Docker for MC24?
« Reply #31 on: December 29, 2018, 12:27:24 pm »

Additional info how to set/works shared folders (reached max attachments for the previous post).

1. Folder "/Audio" is folder from Qnap (for me, it's folder with my music: mp3, flac, etc.).


2. Folder "/mnt/media" is folder from container mapped to folder from Qnap:
a) You must define this path in "Create container" stage 6 in previous post (later it will be impossible),
b) when container will be created, You connect to it by VNC and configure this path as source for media files for JRiver.


PS. Because English is not my native language, please forgive me my mistakes and please change the text as you like.
Logged

Grundgütigster

  • Junior Woodchuck
  • **
  • Posts: 97
Re: Docker for MC24?
« Reply #32 on: December 29, 2018, 12:58:00 pm »

Thanks a zillion times, Jatzoo!

I always thought  that the MC docker thing was a finished "product" that I only needed to install. I didn't realise that I have to create it during the installation process. That makes sense now that I can't create a shared folder. All those youtube videos I watched over the past days didn't point me in that direction.

I'll dig into it tomorrow and think I'll get it work (fingers crossed). English isn't my first language either but your little step by step tutorial helped a lot, propably for some other users too!!

Thanks again and all the best for next year!
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71293
  • Where did I put my teeth?
Re: Docker for MC24?
« Reply #33 on: December 29, 2018, 02:55:36 pm »

Thanks, Jatzoo.
Logged

Scobie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 715
  • Looking Busy
Re: Docker for MC24?
« Reply #34 on: December 29, 2018, 03:23:10 pm »

Yes great explanation Jatzoo, thanks again for all your work on this.

Grundgütigster, when I mentioned "mount point" (sorry that is linux-speak) I was referring to the "Shared Folder" setting that Jatzoo pointed out in the screenshot. They both mean the same thing, the folder on the NAS that MC points to for its media files.
Logged

Grundgütigster

  • Junior Woodchuck
  • **
  • Posts: 97
Re: Docker for MC24?
« Reply #35 on: December 30, 2018, 06:02:35 am »

Thanks Scobie!

I understood the meaning of a "mount point" but couldn't figure out how to set it, resp. how to mount the volume with my music files to Docker-MC. That has to be done when creating the Docker which I thought was already done. My bad.

Anyway, I just created a Docker version (deleted everything old before) and did everything according to Jatzoos great pictorial manual. Most of it already was set by default, except the shared folder settings, which wasn't a big deal.

But  ?  still my music isn't imported. Sorry again for bothering you with that and I might be able to figure out the problem myself. I set mnt/media as the folder where my music is stored within the import section of MC, but nothing happened, propably because I do not have the permission to read anything in that folder. I double checked to have set the right permission when creating the Docker, which was pre-ticked anyway. And I checked to pick the correct folder.

Maybe a clean install of everything Docker related will do the trick, as I played around quite a bit.

A prosperous 2019 to everybody!
Logged

Scobie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 715
  • Looking Busy
Re: Docker for MC24?
« Reply #36 on: December 30, 2018, 03:54:47 pm »

Can you actually browse the file system when attempting to import...can you see all files & folders?

I seem to remember Advanced Security on the QNAP needing to be disabled as well for the container version to work. It is disabled on mine.
Logged

Scobie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 715
  • Looking Busy
Re: Docker for MC24?
« Reply #37 on: January 01, 2019, 04:23:22 pm »

Can anyone (hello Jatzoo) provide any information as to how to add the native QNAP VNC client  - delivered through the QRM+ application - to the MC24 Container? This would allow me to view and manage MC directly through a browser on the QNAP (or on the network) which can be handy.

It requires the installation of an agent, but is OS specific and does not detect the Container instance IP.

Thanks

Scobie
Logged

Jatzoo

  • Recent member
  • *
  • Posts: 26
Re: Docker for MC24?
« Reply #38 on: January 03, 2019, 02:25:48 am »

Scobie, I don't use QRM+ so I'll not help You too much... but based on documentation via Qnap site:
- did you try to install QRMAgent on container with JRiver (login to it via SSH and install agent for Debian)?
- did you know what ports need to be open/exposed (in tutorial I see only 8080 but that would be too easy)?
Logged

Scobie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 715
  • Looking Busy
Re: Docker for MC24?
« Reply #39 on: January 03, 2019, 05:21:08 pm »

Thanks Jatzoo, I've had a bit of a crack at this but it looks the QRM agent is not actually designed to install on the QNAP QTS OS itself, only Windows/Linux hosts.

If I attempt to install it I get package errors (no base64, no gawk) but I think this is due to the QNAP OS not being compatible. Nowhere in the documentation does it reference installing the agent on the QNAP itself. I'll scratch around when i get some time but I think I will need to run VNC from another host to hit MC24.

Thanks

Scobie.

Logged

Jatzoo

  • Recent member
  • *
  • Posts: 26
Re: Docker for MC24?
« Reply #40 on: January 04, 2019, 03:22:57 am »

Scobie, You must install that agent in container with docker image with JRiver, not on Qnap.

So, with GUI:
- enter Container station,
- enter docker image with JRiver,
- run menu "Terminal" with command "/bin/sh"

Now, You are in docker with JRiver where You can install any app which You need with command: apt-get install XYZ (but first try to install agent to check what extra package are needed).

PS. I base on this tutorial: https://download.qnap.com/QPKG/GUIDE/QRM%2B_Tutorials_v1.0.0_EN_20170925.pdf (Step 4.3, page 21 and next).
Logged

Scobie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 715
  • Looking Busy
Re: Docker for MC24?
« Reply #41 on: January 04, 2019, 03:45:17 am »

Thanks Jatzoo I have tried that as well but get the same package errors (gawk etc). I wasn’t going to download and install in case there was another way but sounds like that’s what I have to do.

Also if I add this to my container, will I lose it on restart as it is not in your image?

Thanks

Scobie
Logged

Jatzoo

  • Recent member
  • *
  • Posts: 26
Re: Docker for MC24?
« Reply #42 on: January 04, 2019, 04:27:41 am »

They will survive restart. You lost this extra packages only when remove and create a new container from my base image.

But... because You need extra ports (used by QRM not by JRiver) to expose from docker there will be a need to create a special new image for it (no worry, I can create it for You).
Logged

Scobie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 715
  • Looking Busy
Re: Docker for MC24?
« Reply #43 on: January 04, 2019, 03:05:25 pm »

Thanks Jatzoo, you're a star.

I also notice that when I restart the QNAP - there was a recent firmware update - I need to re enter JRiver license details. I take it this is expected as they are not part of your image?

Thanks again.
Logged

Jatzoo

  • Recent member
  • *
  • Posts: 26
Re: Docker for MC24?
« Reply #44 on: January 07, 2019, 05:27:26 am »

Hmm... When You create container with JRiver from my image, it is also create a volume where all data is stored (settings including entered license details). If every restart Qnap is the same problem?
Logged

Scobie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 715
  • Looking Busy
Re: Docker for MC24?
« Reply #45 on: January 07, 2019, 04:31:27 pm »

Certainly not a restart of the container, that works fine and does not require License entry.

I have only restarted the NAS once since using MC24 on Container Station and I needed to re enter the license, but i will try again tonight and see if I need to enter the License details again.
Logged

Scobie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 715
  • Looking Busy
Re: Docker for MC24?
« Reply #46 on: January 10, 2019, 06:01:12 pm »

Also hopeful that there will be a container image available for MC25...?
Logged

Jatzoo

  • Recent member
  • *
  • Posts: 26
Re: Docker for MC24?
« Reply #47 on: January 11, 2019, 01:28:59 am »

As soon as the new version appears, I will try build a new image for MC25.
Logged

Scobie

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 715
  • Looking Busy
Re: Docker for MC24?
« Reply #48 on: January 11, 2019, 03:07:17 am »

Legend, thanks Jatzoo.
Logged

szczemirek

  • Recent member
  • *
  • Posts: 12
Re: Docker for MC24?
« Reply #49 on: January 12, 2019, 02:31:20 pm »

Dziękuję Jatzoo  ;D
Logged
Pages: [1] 2   Go Up