![]() |
|
Minimserver multiple instances on QNAP - Printable Version +- MinimServer Forum (https://forum.minimserver.com) +-- Forum: MinimServer (/forumdisplay.php?fid=1) +--- Forum: Support (/forumdisplay.php?fid=4) +--- Thread: Minimserver multiple instances on QNAP (/showthread.php?tid=3940) |
Minimserver multiple instances on QNAP - br@m - 25-03-2017 15:15 First of all thanks for MinimServer software. My question requires some background info: - I run Minimserver on a QNAP NAS, installed with the regular QNAP package. This works fine. - What I want to accomplish is to have 4 MinimServer instances (Jazz music, Classical music, Popular music, and MP3). - I read that the regular QNAP package does not support installing multiple instances, so I sought for a work-around and decided to try using Docker instances. - QNAP QTS 4.2 provides a utility ContainerStation which allows you to run Docker instances. I created a Docker instance with Minimserver and had it running succesfully. I run MinimWatch to manage the two, works fine. I use Linn Kazoo as a control app, also fine. So now I had two MinimServer instances running on the QNAP, all fine. - As a next step, I created another Docker instance, with separate settings, so I would have three instances. - This worked out fine initially until I ran into a problem I can't understand: I created a second Docker instance with Minimserver, taking care to give each instance a unique displayname, and also unique settings for http and ohp ports. This worked fine and the third instance shows up in Minimwatch as expected. All maintenance functions in MinimWatch work fine, for all three instances. However when in Kazoo, the two docker instances were conflicting, in such a way that Kazoo showed only one of the two, being the instance started first. So apparently Kazoo cannot separate the two docker minimserver instances even though they have a different displayname and different port settings, while minimwatch has no problem at all. I would really like to understand why Kazoo cannot separate these two instances, while MinimWatch can. Is there some other setting that confuses Kazoo? Thank you for your reply RE: Minimserver multiple instances on QNAP - simoncn - 26-03-2017 15:04 How did you create the Docker image for MinimServer? Was this using Container Station or some other tool? If you used Container Station, please summarise the steps you followed. RE: Minimserver multiple instances on QNAP - br@m - 27-03-2017 18:35 (26-03-2017 15:04)simoncn Wrote: How did you create the Docker image for MinimServer? Was this using Container Station or some other tool? If you used Container Station, please summarise the steps you followed. I did not create the docker image myself, I found it here: https://hub.docker.com/r/tromatik/docker-minimserver/ Next steps are: Create a container in Container Station Allocate 30% CPU and 2048 MB RAM Set autostart (default) Advanced settings: - Link: accept defaults - Environment: accept defaults - Network: remove port forwarding settings and set to 'Host' - Device: accept defaults - Shared folders: - 1. Create an entry point, I use /musiclib - 2. On the next line fill out the entry point and have it point to your music folder Now if you create and start the container, you can access the settings with MinimWatch and change the settings to your preference. By default the port settings will be the MinimServer defaults so if you already have the minimserver QPackage running you will have to change the port settings in that instance before running the docker container. RE: Minimserver multiple instances on QNAP - simoncn - 27-03-2017 21:48 Thanks for this very helpful information. I have recently acquired a QNAP NAS that is able to run Container Station and I will try this in the near future. I can't provide support for Docker images that have been built by third parties without my knowledge or approval. From a quick look at this Docker image, it seems that it includes a prebuilt minimserver.config file and this is the reason why it isn't working for you. If you can modify the image to delete the prebuilt configuration file, this should solve the problem. RE: Minimserver multiple instances on QNAP - br@m - 28-03-2017 07:23 Thanks for the reply and your pointer. Of course I accept that you cannot support this docker image. This was actually my first experience with Docker, I will probably try digging further as a learning experience. If I am successful at this I will let you know. Otherwise it would be nice for QNAP users if an 'approved' Docker image could be made available. RE: Minimserver multiple instances on QNAP - simoncn - 30-03-2017 20:51 I am working on creating a Docker image that should solve the problem you are having. Which version of QNAP QTS are you running and which model of QNAP NAS do you have? RE: Minimserver multiple instances on QNAP - br@m - 31-03-2017 10:57 My NAS is a TS-453A with 8GB RAM. The firmware version is 4.2.4 Build 20170313. RE: Minimserver multiple instances on QNAP - simoncn - 31-03-2017 13:13 PM sent. |