Madsonic Docker support

opty
Posts: 5
Joined: 26 Aug 2014, 04:06
Has thanked: 1 time
Been thanked: 2 times

Re: Madsonic Docker support

Unread post by opty »

first of all thanks for the Docker image, it was real easy and simple to set it up on my synology NAS.

i actually for the first time was able to stream video to isub using this latest image but i also noticed that the url of the streams are exposed and anyone can actually stream any file by guessing the stream ID and without login.

is this something on my setup or some permission not being set correctly on madsonic side? it seems the madsonic admin account is being used for the stream
thanks
opty
Posts: 5
Joined: 26 Aug 2014, 04:06
Has thanked: 1 time
Been thanked: 2 times

Re: Madsonic Docker support

Unread post by opty »

just a little update.

it seems like this is true on any setup and server version and has nothing to do with synology or docker. this happens even on madsonic/subsonic demo site.

one of the reason i noticed this was the extreme number of hits/played on one of my video series on my server over 1500 in matter of days and i only have like 10 user with 3-5 of them being active users!

Thanks
These users thanked the author opty for the post:
Madsonic
Rating: 7.69%
User avatar
Madsonic
Administrator
Administrator
Posts: 984
Joined: 07 Dec 2012, 03:58
Answers: 7
Has thanked: 1201 times
Been thanked: 470 times

Re: Madsonic Docker support

Unread post by Madsonic »

with the new Madsonic 6.1 branch, authentication stream endpoint with token will solve this issue.

http://beta.madsonic.org/pages/changelog.jsp#6.1
These users thanked the author Madsonic for the post:
opty
Rating: 7.69%
opty
Posts: 5
Joined: 26 Aug 2014, 04:06
Has thanked: 1 time
Been thanked: 2 times

Re: Madsonic Docker support

Unread post by opty »

This is a real good news! and the 6.1 version already looks promising and slick. it seems like we are moving away from flash. :thumbsup:

Thanks
These users thanked the author opty for the post:
Madsonic
Rating: 7.69%
adrianp
Posts: 1
Joined: 23 May 2016, 17:58
Has thanked: 0
Been thanked: 0

Re: Madsonic Docker support

Unread post by adrianp »

Hi and thanks for working on the Docker support. I had a question regarding the docker images for Unraid. Why are there 4 different ones? And why would I choose one vs another? Just trying to figure out which one I should use. Im currently on Unraid 6.1.9.

Thank you,
Adrian
arckosfr
Contributor
Contributor
Posts: 1
Joined: 08 Aug 2016, 08:44
Has thanked: 0
Been thanked: 1 time

Re: Madsonic Docker support

Unread post by arckosfr »

Hello,

I currently using one of my docker image for Madsonic, it's based on Alpine.
Advantage is the weight of the image (around 5Mb for alpine).
Complete size (on serveur is 231Mb) and the actual tag on the hub a around 150Mb.
I think proposing an image based on Alpine can be great :)

Link of my image on the hub : arckosfr/madsonic (can't post URL)
Have a good day !
These users thanked the author arckosfr for the post:
Madsonic
Rating: 7.69%
daemon9th
Posts: 6
Joined: 12 Oct 2016, 18:04
Has thanked: 1 time
Been thanked: 3 times

Re: Madsonic Docker support

Unread post by daemon9th »

Hello,

Thanks for the great docker images!

Any chance of getting an update to the madsonic/arch-madsonic branch docker similar to the ubuntu and debian based dockers?

br
These users thanked the author daemon9th for the post:
Madsonic
Rating: 7.69%
z-vap
Posts: 21
Joined: 08 Jun 2013, 12:36
Has thanked: 2 times
Been thanked: 4 times

Re: Madsonic Docker support

Unread post by z-vap »

Hey. I was trying to use containers and thought id give this a try. I have a test openmediavault 3.0 VM that I am trying out and just installed their stable docker plugin. I found the madsonic debian image and started it, and a container showed up. But the container keeps "restarting" over and over.

Code: Select all

mkdir: cannot create directory ‘/config/media’: Permission denied
mkdir: cannot create directory ‘/config/media’: Permission denied
mkdir: cannot create directory ‘/config/playlists’: Permission denied
mkdir: cannot create directory ‘/config/playlists’: Permission denied
mkdir: cannot create directory ‘/config/playlists’: Permission denied
mkdir: cannot create directory ‘/config/transcode’: Permission denied
cp: cannot stat ‘/var/madsonic/transcode/linux/*’: No such file or directory
/var/madsonic/madsonic.sh: 164: /var/madsonic/madsonic.sh: cannot create /config/madsonic_sh.log: Permission denied
Started Madsonic [PID , /config/madsonic_sh.log]
mkdir: cannot create directory ‘/config/media’: Permission denied
mkdir: cannot create directory ‘/config/media’: Permission denied
mkdir: cannot create directory ‘/config/playlists’: Permission denied
mkdir: cannot create directory ‘/config/playlists’: Permission denied
mkdir: cannot create directory ‘/config/playlists’: Permission denied
mkdir: cannot create directory ‘/config/transcode’: Permission denied
cp: cannot stat ‘/var/madsonic/transcode/linux/*’: No such file or directory
/var/madsonic/madsonic.sh: 164: /var/madsonic/madsonic.sh: cannot create /config/madsonic_sh.log: Permission denied
Started Madsonic [PID , /config/madsonic_sh.log]
I don't know if its something I did, or if its the image itself, or what. Any ideas?
VikingOy
Posts: 41
Joined: 03 May 2015, 20:26
Has thanked: 3 times
Been thanked: 7 times

Re: Madsonic Docker support

Unread post by VikingOy »

I'm using a standard Debian Madsonic Image installed in ContainerStation (Docker) on my QNAP TS-453Mini server, and it runs just beautifully.
These users thanked the author VikingOy for the post:
Madsonic
Rating: 7.69%
daemon9th
Posts: 6
Joined: 12 Oct 2016, 18:04
Has thanked: 1 time
Been thanked: 3 times

Re: Madsonic Docker support

Unread post by daemon9th »

With the new versions coming out for download, any possibility for an update to the docker images in the near future?

I am still using “madsonic/debian-madsonic” (which has been running smoothly for 2 years), but would be great to try the new version 7 out as a docker install (running in Unraid).

Thanks!
User avatar
ChatNoir
Posts: 11
Joined: 28 Aug 2016, 20:10
Has thanked: 4 times
Been thanked: 3 times

Re: Madsonic Docker support

Unread post by ChatNoir »

Hi,
I am looking into building an unRaid server (maybe TrueNAS ?) and I would like to know if there are plans to update the official docker on hub.docker.com ?
I see several old files (3 years old or more) and all on beta.
It would be nice to have access to more recent releases and also stable releases.

I did find a github with 7.0 beta but I would prefer something officially or at least semi-officially maintained directly from the site or the forum.
These users thanked the author ChatNoir for the post:
Madsonic
Rating: 7.69%
Post Reply