boohbah Posted September 24, 2014 Share Posted September 24, 2014 Oh boy...it's back docker run -d -p 4040:4040 --name="madsonic" -v /mnt/user/Music:/Music -v /mnt/user/Movies:/Movies -v /mnt/cache/madsonicdata:/config -v /etc/localtime:/etc/localtime:ro binhex/arch-madsonic Unable to find image 'binhex/arch-madsonic' locally Pulling repository binhex/arch-madsonic 2014/09/25 09:33:52 Get https://index.docker.io/v1/repositories/binhex/arch-madsonic/images: dial tcp: lookup index.docker.io: file exists No amount of new docker.img creation or permission fixing is solving it this time. docker images REPOSITORY TAG IMAGE ID CREATED VIRTUAL SIZE I had it working once on /mnt/user and decided to install a cache drive, since madsonic kept the array disc spun up all the time. Nothing else at all changed. I see nobody else reporting this, so I suspect it's my set up, maybe I should post this somewhere else? But since it's specific to Docker....... All the same, any new directions appreciated. Dan Quote Link to comment
lars Posted September 26, 2014 Share Posted September 26, 2014 thx for the help so far. still seem to have a problem with connecting. since i have a shitload of work to finish before weekend i will spend some more time with it over the weekend, hopefully more successful. i shall report over the weekend how it is going. thx, L Quote Link to comment
lars Posted September 26, 2014 Share Posted September 26, 2014 ok, a gave up on the dockerman gui attempt to install it and went with putty and typing. worked fine at the 3rd attempt (my own fault - just hammering away, dropping a slash here and a letter there). wonder why it would not work doing the same config in dockerman! - anyway, once i was up and running (kind of), i got kicked out while doing the setup stuff for no reasons. went to madsonic website and found sth along the lines .last.fm-cache not created by the 5.1 final installer in your madsonic directory - had a look and yup, not there. supposedly that causes all kind of crashes if not there. went to mkdir it manually. all seems to come along nicely so far since. as i start really from scratch for comparison purposes i am still in the middle of setting things up, we will see. my biggest issue with the 5b2 was actually speed (gui often and the unbelievable slowness of a file rescan -2days!!!). hope that is somehow solved. i shall report more as i getting ahead here. thx again to binhex and pinion! a) for fast and b) very helpful responses, you cut my frustration in half Cheers, L edit: same was true for the /thumbs directory in /config - had to create that manually as well. Quote Link to comment
boohbah Posted September 27, 2014 Share Posted September 27, 2014 docker run -d -p 4040:4040 --name="madsonic" -v /mnt/user/Music:/Music -v /mnt/user/Movies:/Movies -v /mnt/cache/madsonicdata:/config -v /etc/localtime:/etc/localtime:ro binhex/arch-madsonic Unable to find image 'binhex/arch-madsonic' locally Pulling repository binhex/arch-madsonic 2014/09/25 09:33:52 Get https://index.docker.io/v1/repositories/binhex/arch-madsonic/images: dial tcp: lookup index.docker.io: file exists Fixed! It appears to be a DNS error. Changed DNS, all good Pulling Madsonic now. 48 hours to figure that out.... So so silly. Quote Link to comment
lars Posted September 27, 2014 Share Posted September 27, 2014 No media folders found. Please change the settings. is what i get now in the binhex-madsonic gui. everything else is working fine guess i have to play a little more with the media folder settings :'( so far i just took them from botez version over to it. well, that will be solved also, at least madsonic itself is running for now cheers, L Quote Link to comment
pinion Posted September 28, 2014 Author Share Posted September 28, 2014 Why do you need them both running? Quote Link to comment
lars Posted September 28, 2014 Share Posted September 28, 2014 Why do you need them both running? i don't need them both running - just one at the time and figure out which one works better at the moment it does not matter - like the botez version is working. none of the others does! i am going slowly up the wall here. trying to figure out why the folders are not seen. just getting majorly pissed. i need the botez install running at the moment - because it works i like to get yours or binhex's to work - cause i have issues with botez' - which might be solved by yours or binhex's version. i wanna see that before i switch. at the moment it seems like whatever version i try - it will not see my folders. i am kinda cautious this days - having friends on the server. just dont want a 'upgrade' - leading to a 3 day downtime due to a folderscan. which wouldn't be happen at the moment anyway - since the media folders are not recognized... Quote Link to comment
lars Posted September 28, 2014 Share Posted September 28, 2014 to bring it down to my main issues at this point - the response of the gui is sub-optimal and what sucks even more is the time of a rescan. my last folder rescan took just under 39hrs! that's unacceptable! i am looking for improvements. considering my issue with with media folders not found in binhex and pinion options... i need the working botez option still, don't I? i actually tried in the meantime the deactivate botez-madsonic completely and just run unmodified binhex-madsonic. same friggin result! "No media folders found. Please change the settings." in the header bar, behind every folder i try to create in settings i get a "folder not found" comment. kinda on the end of my (limited) knowledge here. it was/ still is all fine with 5.1.4800.beta2. i was really hyped about 5.1final. especially reading stuff like faster, smoother, better. at the moment it is faster (yes, but i cant get media running), smoother, yep... with 2.5promille in my head i can enjoy a system without media , better... might be - still to be seen. as i said, i tried 'unmodified' in the meantime - same result. i get the actual madsonic up and running. all good, i can change/ adjust/ modify everything - no prob. i just get this folder not found issue. let me ask you a question here - being the semi-noob idiot. i tried all kind of variations at this point for the /media setting - from /mnt/user over /mnt/user/<sharename>, ... deeper drilling down the tree - all to the same result. tried the same with settings like boohbah's - to music and movie instead of media.... all leading to the same result. considering that i had to mkdir .last.fm-cache/ and thumbs/ manually anyway in order to get madsonic up and running in the first place... do i have to create /media as well somewhere? i tried a couple places allready, with no positive result. got rid of them as well again, since it was a no go. basically my /mnt/user goes /mnt/user/<sharename>/music/A ... /B... /C... -... /movies/A... /B ... /C - i tried all kind of path options so far, even outlandish ones with no go. basically i would think when /mnt/user:/media it should be /<sharename>/music/folder in settings-madsonic. i tried also there all kind of unlikely stuff - always leading to 'folder not found' what do i do wrong? is there a rw setting i miss?..... any help would be appreciated! cheers, L Quote Link to comment
binhex Posted September 28, 2014 Share Posted September 28, 2014 Hi Lars I think you need to better understand the v switch in docker, basically it's split into host part, this is the path on the left of the colon, then there is the docker side which is the path on the right. The path on the left is easy, this is simply the path to what you wish to share with the docker container e.g. /mnt/user/Music. The right hand side is the root folder created within the docker that you use with the app to access the media from your host e.g. /Music So the whole thing would look like this -v /mnt/user/Music:/Music You can of course be lazy and simply share the whole of your array by simply specifying /mnt:/mnt I hope this helps. Quote Link to comment
lars Posted September 28, 2014 Share Posted September 28, 2014 Hi Lars I think you need to better understand the v switch in docker, basically it's split into host part, this is the path on the left of the colon, then there is the docker side which is the path on the right. The path on the left is easy, this is simply the path to what you wish to share with the docker container e.g. /mnt/user/Music. The right hand side is the root folder created within the docker that you use with the app to access the media from your host e.g. /Music So the whole thing would look like this -v /mnt/user/Music:/Music You can of course be lazy and simply share the whole of your array by simply specifying /mnt:/mnt I hope this helps. sorry wasn't really clear there before. what i used initially was: docker run -d -p 4041:4040 -p 4051:4050 --name=madsonic-binhex -v /mnt/user/LFI/Music:/Music -v /mnt/cache/appdata/madsonic-binhex/:/config -v /etc/localtime:/etc/localtime:ro binhex/arch-madsonic that led for whatever reason in madsonic with any variation to media folder not found, next i went up one level to just /mnt/user/LFI:/Music same result with all kind of tries... and so on. now i went for the /mnt:/mnt and it works. not my favorite solution, but hey suddenly madsonic can find my media folders, just had to adjust the path in madsonic accordingly. thx for the help!!! didnt even came to my mind before to try that! having a happy Lars now still wondering what the issue was with the other path variations.... anyway, it is working cheers, L Quote Link to comment
pinion Posted September 28, 2014 Author Share Posted September 28, 2014 Hi Lars I think you need to better understand the v switch in docker, basically it's split into host part, this is the path on the left of the colon, then there is the docker side which is the path on the right. The path on the left is easy, this is simply the path to what you wish to share with the docker container e.g. /mnt/user/Music. The right hand side is the root folder created within the docker that you use with the app to access the media from your host e.g. /Music So the whole thing would look like this -v /mnt/user/Music:/Music You can of course be lazy and simply share the whole of your array by simply specifying /mnt:/mnt I hope this helps. sorry wasn't really clear there before. what i used initially was: docker run -d -p 4041:4040 -p 4051:4050 --name=madsonic-binhex -v /mnt/user/LFI/Music:/Music -v /mnt/cache/appdata/madsonic-binhex/:/config -v /etc/localtime:/etc/localtime:ro binhex/arch-madsonic that led for whatever reason in madsonic with any variation to media folder not found, next i went up one level to just /mnt/user/LFI:/Music same result with all kind of tries... and so on. now i went for the /mnt:/mnt and it works. not my favorite solution, but hey suddenly madsonic can find my media folders, just had to adjust the path in madsonic accordingly. thx for the help!!! didnt even came to my mind before to try that! having a happy Lars now still wondering what the issue was with the other path variations.... anyway, it is working cheers, L Working off your first example (-v /mnt/user/LFI/Music:/Music) if under /mnt/user/LFI/Music you had: /mnt/user/LFI/Music/artist1 /mnt/user/LFI/Music/artist2 /mnt/user/LFI/Music/artist3 Within the madsonic docker what madsonic will think the directory structure is like is: /Music/artist1 /Music/artist2 /Music/artist3 So in this case in the gui you'd just share /Music to madsonic and it should pick up everything. Also, I hope you're changing your config directory for each different version you're trying to run or they will all step on each others toes. Quote Link to comment
lars Posted September 30, 2014 Share Posted September 30, 2014 Hi Lars I think you need to better understand the v switch in docker, basically it's split into host part, this is the path on the left of the colon, then there is the docker side which is the path on the right. The path on the left is easy, this is simply the path to what you wish to share with the docker container e.g. /mnt/user/Music. The right hand side is the root folder created within the docker that you use with the app to access the media from your host e.g. /Music So the whole thing would look like this -v /mnt/user/Music:/Music You can of course be lazy and simply share the whole of your array by simply specifying /mnt:/mnt I hope this helps. sorry wasn't really clear there before. what i used initially was: docker run -d -p 4041:4040 -p 4051:4050 --name=madsonic-binhex -v /mnt/user/LFI/Music:/Music -v /mnt/cache/appdata/madsonic-binhex/:/config -v /etc/localtime:/etc/localtime:ro binhex/arch-madsonic that led for whatever reason in madsonic with any variation to media folder not found, next i went up one level to just /mnt/user/LFI:/Music same result with all kind of tries... and so on. now i went for the /mnt:/mnt and it works. not my favorite solution, but hey suddenly madsonic can find my media folders, just had to adjust the path in madsonic accordingly. thx for the help!!! didnt even came to my mind before to try that! having a happy Lars now still wondering what the issue was with the other path variations.... anyway, it is working cheers, L Working off your first example (-v /mnt/user/LFI/Music:/Music) if under /mnt/user/LFI/Music you had: /mnt/user/LFI/Music/artist1 /mnt/user/LFI/Music/artist2 /mnt/user/LFI/Music/artist3 Within the madsonic docker what madsonic will think the directory structure is like is: /Music/artist1 /Music/artist2 /Music/artist3 So in this case in the gui you'd just share /Music to madsonic and it should pick up everything. Also, I hope you're changing your config directory for each different version you're trying to run or they will all step on each others toes. that was my thought as well, but it didn't. don't ask me why! right now i have it running with /mnt:/mnt - fine for the moment. it bothers me as well, why it wont see the other options. i will investigate further on that with a new container. so far i established that 5.1 is running a lot faster in the gui daily use events (i assume it's based on additional/ optimized caches for the gui) and also a full database scan went down from about 40hrs to roughly 12hrs. that is still insane compared to my old scan times of about 3hrs running subsonic as .plg - but it is doable, considering i do that once a week. thx anyway for the knowledge sharing. i will take your advice as a guideline again for the next experiments! hope i get that to work at one point as well. /mnt:/mnt does not strike me as an outrageously clever idea to begin with + i could see (just the layman's way of thinking!) that shorter path leads to shorter scan times - i do not wanna go into my logic behind that rite now, fearing to get a digital beating cheers, L Quote Link to comment
binhex Posted October 3, 2014 Share Posted October 3, 2014 new version of madsonic and transcode pack out, just updated the dockerfile and currently building, please wait 30 mins from this post time to allow the docker image to build before updating or check here for status https://registry.hub.docker.com/u/binhex/arch-madsonic/builds_history/29437/ have a good weekend guys! Quote Link to comment
boohbah Posted October 5, 2014 Share Posted October 5, 2014 Fabulous - works great. Thanks Quote Link to comment
NAS Posted October 5, 2014 Share Posted October 5, 2014 I dont want to go OT but the thread is labeled "Subsonic / Madsonic" and from what I can read they are not really interchangeable anymore. i.e. dbase server side and clients may or may not work on both. Can anyone clarify for those of us not up to speed on "Subsonic / Madsonic"? ta Quote Link to comment
NAS Posted October 8, 2014 Share Posted October 8, 2014 pinion any interest in working towards getting this container added to the stock templates? Unfortunately the binhex version wont ever be stock because of the Arch base OS. Quote Link to comment
binhex Posted October 22, 2014 Share Posted October 22, 2014 new version released 5.1.5200, updated docker, if you want to use dockerman rather than cli then you can include my templates repository https://github.com/binhex/docker-templates Quote Link to comment
Brettv Posted October 26, 2014 Share Posted October 26, 2014 Hi all, Is there anyway to disable SSL? I want to run the binhex version as its the most up to date. However I cant use SSL as my connection at work blocks the unsigned cert. I've tried a few things without luck Regards, Brett Quote Link to comment
NAS Posted October 26, 2014 Share Posted October 26, 2014 Also the only free IOS client you can use does not support SSL so this is a doubly valid question Quote Link to comment
binhex Posted October 26, 2014 Share Posted October 26, 2014 Use the other port guys there are two ports setup for this docker, 4040 is http, 4050 is https Quote Link to comment
Brettv Posted October 26, 2014 Share Posted October 26, 2014 Whenever i point to 4040 it automatically redirects to 4050, this happens no matter what the browser/system. Does anyone else experience this? -Brett Quote Link to comment
NAS Posted October 26, 2014 Share Posted October 26, 2014 Whilst technically correct 4040 is HTTP PORT STATE SERVICE VERSION 4040/tcp open http Jetty 8.y.z-SNAPSHOT 4050/tcp open ssl/http Jetty 8.y.z-SNAPSHOT Whenever i point to 4040 it automatically redirects to 4050, this happens no matter what the browser/system. Does anyone else experience this? -Brett as quoted HTTP by default it redirect you to https. I am not familiar enough with madsonic to know to reconfigure this. Quote Link to comment
binhex Posted October 26, 2014 Share Posted October 26, 2014 Didn't realise it now does a redirect, I will take a look on Monday and see of I can disable the redirect. Quote Link to comment
binhex Posted October 26, 2014 Share Posted October 26, 2014 OK after a bit of reading it looks like if the port for https is defined then it will auto redirect http requests to https. So my Action plan will be to use an env variable in the docker container to trigger whether to use https and thus edit the madsonic config to define port or not. Quote Link to comment
NAS Posted October 26, 2014 Share Posted October 26, 2014 Seems like an elegant solution. 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.