sonofdbn Posted June 29, 2017 Share Posted June 29, 2017 MinimServer is a UPnP music server; I'm trying to install a MinimServer docker (https://hub.docker.com/r/tromatik/docker-minimserver/). I haven't done a "manual" docker install before, but after a bit of reading I managed to download it via the CA tab and fiddled around mapping paths and ports, and in particular setting Network Type to "Bridge". Somewhat to my surprise (and a testimony to the amount of information available here), I managed to get MinimServer running. It required going to MinimServer's http page and accepting a licence agreement, but after that it seemed to be OK, as its web ui said it was running (and the log showed this as well). The problem was that I couldn't access it from any PC on my network. MinimServer is controlled via MinimWatch, which can be installed on a Windows PC. I installed it, and it had no problem finding a MinimServer test server that I was running on a Synology NAS. But I couldn't get it to find the docker MinimServer. (I tried shutting down the Syno server and reinstalled MinimWatch, but that didn't help.) I'm wondering if the problem is with UPnP (which I know very little about) and whether it somehow needs to be enabled on unRAID. I read a thread here on the Logitech Media Server docker which mentioned a similar-sounding UPnP problem. It was suggested there that Bridge mode should be used for Network Type, so I tried that, but it seems to remove (or not require) any port mapping then. So I think I misunderstood what is required. Is something else required in order to enable UPnP? (And is that the likely problem?) Quote Link to comment
EdgarWallace Posted September 19, 2017 Share Posted September 19, 2017 (edited) Good morning sonofdbn, here is a discussion that you might find useful: http://forum.minimserver.com/showthread.php?tid=4156 I followed these steps as provided by Simon: Create a folder to be used for building the Docker image (I used /mnt/user/system/docker/appdata/minimserver) Download the file MinimServer-0.8.4.7-linux-intel.tar.gz from this page and save it in this folder Download the file Dockerfile.bin from this link, save it in this folder and rename it to Dockerfile In a terminal window, change directory to this folder and run the following commands: docker build -t minimserver:0.8.4.7 . docker run -p:1900:1900/udp -p:9790:9790 -p:9791:9791 --net=host minimserver:0.8.4.7 This should start MinimServer in a Docker container. Issue is the following: docker run -p:1900:1900/udp -p:9790:9790 -p:9791:9791 --net=host minimserver:0.8.4.7 MinimServer 0.8.4.7, Copyright © 2012-2017 Simon Nash. All rights reserved. autoUpdate: installed package 'minimserver-0.8-update-104' autoUpdate: relaunching MinimServer 0.8.4.7 update 104, Copyright © 2012-2017 Simon Nash. All rights reserved. MinimServer: ohNet port 9791 is already in use MinimServer: startup error (see crash file for stack trace) The discussion is kind of stuck since Sep. 7th. There might be some Docker experts here who can help or having any great idea? Edited September 19, 2017 by EdgarWallace Quote Link to comment
steve1977 Posted December 25, 2017 Share Posted December 25, 2017 Has there been any update? Would love to run MiniM in a docker. Thanks! Quote Link to comment
EdgarWallace Posted December 25, 2017 Share Posted December 25, 2017 Good morning, here is how I implemented by using one of the Dockerhub (this is copy & paste of post #38 of the MinimServer Forum link I posted above. : https://hub.docker.com/r/tromatik/docker-minimserver/1.) You need to accept Dockerhub in CA2.) Install the Docker from above3.) Modify settings and add one Host Path4.) Starting your new Docker and open the log in order to accept Terms & ConditionsDone However, this version is not officially supported by Simon but his official guide doesn‘t provide a solution that is surviving a reboot. 1 Quote Link to comment
steve1977 Posted December 25, 2017 Share Posted December 25, 2017 Thanks for sharing. For whatever reasons, Simon didn't appreciate this solution and hinted it may stop working? Anyhow, I like it and may be a good solution for me as well. Can you share a bit more how you have done it. The four steps above read easy, but not clear to me where to do what. Thanks! Quote Link to comment
EdgarWallace Posted December 25, 2017 Share Posted December 25, 2017 Have you installed the Community Apps? That is a prerequesite. Please check the screen shot of the Docker settings. That should answer your remaining questions if you are a bit familiar with the unRAID Docker environment. Good luck!! Quote Link to comment
sonofdbn Posted December 26, 2017 Author Share Posted December 26, 2017 Wow, I haven't been keeping track of this, and now things have moved on so much. Thanks so much, EdgarWallace. I've successfully installed the docker following your instructions. A wonderful Christmas present! Er, of course now I want more... I've installed Minimstreamer as well, as I normally use this to convert flac to wav24. But to do this I also need to install ffmpeg, presumably somewhere where Minimstreamer can find it. Any idea how this can be done? Quote Link to comment
sonofdbn Posted December 26, 2017 Author Share Posted December 26, 2017 Well, I did some digging around and I came up with an inelegant way of putting ffmpeg into the container. My Linux skills are very limited, so I googled around and also read the Minimserver documentation about the stream converter (in my case ffmpeg) here. The first thing was to get a command prompt in the container. I opened a TTY window on my Windows PC and logged on to the unRAID server. Then I got into the docker container by using docker exec -it docker-minimserver /bin/bash I hunted a bit and found the minimserver directory under /opt. Under that minimserver directory is another opt directory, and I think I had to create the bin sub-directory under that. So that gave me the opt/bin directory I had to put ffmpeg in (/opt/minimserver/opt/bin). Next, I had to get ffmpeg, and found a static build here. I used the x86_64 build; initially I wasn't sure how to get it into the container, but since I had already mapped the /media folder to my music folder, I just needed to get ffmpeg into the music folder. So I downloaded the package ffmpeg-git-64bit-static.tar.xz and unzipped it (used 7-Zip) then copied ffmpeg into the music folder. Then in the terminal window I copied ffmpeg from the /media folder into /opt/minimserver/opt/bin. (I actually took a longer route, but this is the gist of what worked.) After that I opened the properties window from Minimwatch, went to System and entered ffmpeg for stream.converter and clicked Apply, and Minimserver found it (it appears as opt/bin/ffmpeg in my case) and now I'm happily transcoding flac to wav24. I'm not sure if Minimserver needs to be restarted for it to see the ffmpeg, and when I first tried, it didn't appear to find ffmpeg but after a few seconds I think the error message saying Minimserver couldn't find ffmpeg disappeared. No doubt there is a better way of doing this (and I'm not sure if this will survive a restart), but I'm happy it's working. Now I can shutdown my Linux Mint VM which I used only to run Minimserver. Quote Link to comment
EdgarWallace Posted December 27, 2017 Share Posted December 27, 2017 Great that you sorted it out. The remaining issue is that this Docker contains an old version of Minimserver so let‘s hope that this Docker is going to be updated. Quote Link to comment
steve1977 Posted December 28, 2017 Share Posted December 28, 2017 Thanks @EdgarWallace. This is indeed very clear and I should be able to build the docker from the screenshot above. Big thanks! Shouldn't it be possible to update Minimserver from within the docker? Will this break things? Quote Link to comment
steve1977 Posted January 13, 2018 Share Posted January 13, 2018 Any thoughts on whether it is possible to update Minimserver from within the docker? Or other updates for a more up to date version? Quote Link to comment
EdgarWallace Posted January 13, 2018 Share Posted January 13, 2018 I just changed the Repository towards: nielsdb97/docker-minimserver This is a fork of the previous docker an is updated to the most recent version of MinimServer. All other Docker definitions can be kept. Quote Link to comment
steve1977 Posted January 13, 2018 Share Posted January 13, 2018 Wow, cool, you rock! This is great! Just made an attempt to install the new fork "fresh". Unfortunately, not successful. Do I need to manually set the host ports 1 and 2 and the host path. I don't mean the content of it, but the actual "rows"/"fields" don't show in the template? Also, your screenshot shows the network type as host and I assume I can set it to bridge instead? Quote Link to comment
EdgarWallace Posted January 13, 2018 Share Posted January 13, 2018 Well, only with HOST option the server is showing up e.g. in KAZOO. And yes you need to add the ports as there is no template existing,. Quote Link to comment
steve1977 Posted January 14, 2018 Share Posted January 14, 2018 Thanks for your quick reply. I have followed instructions and download has started. Unfortunately, it doesn't complete and shows: Error: unauthorized: authentication required Quote Link to comment
TUMS Posted January 14, 2018 Share Posted January 14, 2018 Awesome. I'm going to have to try this out. It's pretty much the only reason I keep my DS1513+ is minimserver. But if I can run it on unraid that would be groovy. lol Quote Link to comment
EdgarWallace Posted January 14, 2018 Share Posted January 14, 2018 @steve1977 have you checked the "Show Log" in MinimWatch which is available to control MinimServer? You have to accept Terms & Condition, otherwise MinimServer doesn't start. Quote Link to comment
steve1977 Posted January 15, 2018 Share Posted January 15, 2018 Thanks. I haven't reached the stage yet to start it, but was only installing the actual docker. Unless it auto-started? Will check the logs on the weekend. How to access minimwatch and where can I accept the T&C? Quote Link to comment
EdgarWallace Posted January 15, 2018 Share Posted January 15, 2018 MinimWatch is available here, available for all kind of operating systems: LINK I am running it on my macOS machine so that I am having full control over my music library. Quote Link to comment
steve1977 Posted January 15, 2018 Share Posted January 15, 2018 so i need minim watch to use the docker as i otherwise can not agree with the gt&cSent from my iPhone using Tapatalk Quote Link to comment
EdgarWallace Posted January 15, 2018 Share Posted January 15, 2018 I have no clue if there is any other option but I do know that this was working well for me. Quote Link to comment
dikkiedirk Posted March 4, 2018 Share Posted March 4, 2018 Thanks all for this info. I managed to build this docker and set the media path to /mnt/user/Music, which is where my music is located. However the minimwatch icon turns red and I get a message that no content directory is found. Quote Link to comment
Woz32 Posted June 12, 2018 Share Posted June 12, 2018 Have people managed to get this working? Is there a simpler way to do it for a newbie? Quote Link to comment
steve1977 Posted December 26, 2018 Share Posted December 26, 2018 Has there been any update? Quote Link to comment
steve1977 Posted April 5, 2019 Share Posted April 5, 2019 Bumping this. Has anyone tried this and is it working? Have there been updates to the latest minim version? Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.