miniDLNA: Dockstar as DLNA-Server v1.0.25
Today I noticed there is a new version of miniDLNA available. When the build process was running I decided to make a deb-file that you guys don't have to compile the sources yourself.
Some people don't want to install the build-environment or sources of dependencies, that's two of the reasons why I put the files together into an installable deb-file, there you go:
wget http://dev.shyd.de/dockstar/minidlna-1.0.24-1-arm.deb dpkg -i minidlna-1.0.24-1-arm.deb apt-get -f install dpkg-reconfigure minidlna
Now edit the config in /etc/minidlna.conf and start the service:
service minidlna start
If everything works fine, the server should show up on your dlna-clients.
If your kernel supports inotify (my 3.1.10 does) and you want miniDLNA to use it, check if the device is present:
ls -l /dev/inotify
If it's not created automatically by udev, you have to do it manually:
mknod /dev/inotify c 10 63
After you restarted miniDLNA you should instantly see directorychanges on your clients.
Update 12.09.2011: v1.0.22
I just compiled the new version and packed it to a new deb file. To update just install it:
wget http://dev.shyd.de/dockstar/minidlna-1.0.22-arm.deb dpkg -i minidlna-1.0.22-arm.deb
In the version tag I added a version number lower than sid to avoid problems during system upgrade, thanks to fear_factory84!
Update 28.01.2012: v1.0.23
Today I found some time to build the new version into a deb-file. There you go:
wget http://dev.shyd.de/dockstar/minidlna-1.0.23-1-arm.deb dpkg -i minidlna-1.0.23-1-arm.deb
Update 21.02.2012: v1.0.24
Just build the new version into a deb-file. There you go:
wget http://dev.shyd.de/dockstar/minidlna-1.0.24-1-arm.deb dpkg -i minidlna-1.0.24-1-arm.deb
Update 24.07.2012: v1.0.25
Just build the new version into a deb-file. There you go:
wget http://dev.shyd.de/dockstar/minidlna-1.0.25-1-arm.deb dpkg -i minidlna-1.0.25-1-arm.deb

(17 votes, average: 4.94 out of 5)

August 5th, 2011 - 07:01
Thanks!
August 26th, 2011 - 17:35
Minidlna is also included in Debian Wheezy and Sid. So you could directly install it via apt, if youre on Squeeze then you could use apt-pinning to only install minidlna and keep the rest of the system as it is.
August 31st, 2011 - 10:56
Thanks for the hint!
September 8th, 2011 - 00:54
A recompiled backport it’s better than using the sid/wheezy version, you only missed a version number in order to avoid problems when you will upgrade your system.
You need to add a package version number less than the sid one. For example:
1.0.21-1squeeze
that’s less than sid one:
1.0.21-1
Is minidlna better than mediatomb? I found that mediatomb uses a lot of memory (plus mysql memory, but I use it also for other purposes)..
September 10th, 2011 - 10:52
Thanks for the hint! I will regard at next package.
Difficult to say which is better or not. I wanted a simple solution without a webinterface, so I’ve chosen minidlna. You should try both and decide which fits best for your needs.
September 12th, 2011 - 17:54
1.0.22 is out btw :D
September 12th, 2011 - 17:58
Thanks! Just wait a few minutes :)
September 12th, 2011 - 19:00
New deb file, there you go! :)
September 19th, 2011 - 12:15
Thank you for building the package! Nice service :)
Grimsrud
July 22nd, 2012 - 21:45
Hey,
1.0.25 is out… if you still care about making debs :) I would be glad if you would do :)
Greets. Grimsrud
July 24th, 2012 - 10:28
Sure I do! :)
Already downloaded the src a couple of days ago, now the deb is ready.
July 24th, 2012 - 22:25
Yeay :D
Thank you very much!
September 24th, 2011 - 13:46
Hi I’m fairly new to Ubuntu and think I got everything working except for starting the service.
Hoping someone can help me?
Thanks in advanced.
vu@wonghptv:/usr/sbin$ service minidlna start
* Starting minidlna minidlna start-stop-daemon: unable to start /usr/sbin/minidlna (Exec format error)
[fail]
September 25th, 2011 - 16:28
Hi, did you install it on a desktop pc or on a dockstar running ubuntu? My deb file will run on an arm-system only.
September 27th, 2011 - 08:10
Hi, thanks for the response.
I’ve installed it on a laptop running Ubuntu 11.04.
Sorry by arm-system, do you mean a 32-bit O/S?
September 27th, 2011 - 08:18
Ah ok, this doesn’t work, arm is a different architecture than 32 or 64 bit. I don’t know if there is a deb-file for you. But you can download and untar this tarball: http://sourceforge.net/projects/minidlna/files/minidlna/1.0.22/minidlna_1.0.22_static.tar.gz/download
You can even run it as a service.
October 12th, 2011 - 08:45
Hi,
I’m a long time user of miniDLNA on my home server (i386). I came across your blog post while searching for a more recent compiled binary for ARM architecture to update the rather old version on a Netgear Stora that I purchased for my parents-in-law. Does the binary in the .deb have any library dependencies, or are they all statically compiled into the executable file?
Thanks for your efforts,
Craig Chambers
October 19th, 2011 - 17:57
Hi, I didn’t compile any deps explicitly. You should be able to install them automatically with apt afterwards.
October 30th, 2011 - 16:31
Hi,
I have an OpenRD ARM platform with Debian debian squeeze & tried install package minidlna-1.0.22-arm.deb. But, I have the following error:-
Selecting previously deselected package minidlna.
(Reading database … 21569 files and directories currently installed.)
Unpacking minidlna (from minidlna-1.0.22-arm.deb) …
dpkg: dependency problems prevent configuration of minidlna:
minidlna depends on libid3tag0; however:
Package libid3tag0 is not installed.
minidlna depends on libflac8; however:
Package libflac8 is not installed.
minidlna depends on libvorbisfile3; however:
Package libvorbisfile3 is not installed.
minidlna depends on sqlite3; however:
Package sqlite3 is not installed.
minidlna depends on libavformat52; however:
Package libavformat52 is not installed.
dpkg: error processing minidlna (–install):
dependency problems – leaving unconfigured
Errors were encountered while processing:
minidlna
Any idea what is the problem ?
October 30th, 2011 - 18:27
Did you try to install the deps manually before running dpkg -i?
October 31st, 2011 - 05:24
Nope, first time installation. Could it be because libid3tag0, libflac8, libvorbisfile3, sqlite3, libavformat52 have not yet pre-installed in my system which your deb depend on them ?
October 31st, 2011 - 09:07
Yup, this is what I mean. Install them first with apt-get install libid3tag0 libflac8 libvorbisfile3 sqlite3 libavformat52. After that you should be able to install the deb file.
January 28th, 2012 - 03:36
On debian squeeze (Pogoplug v3), I needed all of these dependencies before minidlna would start.
apt-get install libid3tag0 libflac8 libvorbisfile3 sqlite3 libavformat52 libavcodec52 libavutil50 libjack-jackd2-0 librtmp0 libx264-118 libogg0 libvorbis0a libavutil49
Thanks a lot for providing this package in deb format!!
November 1st, 2011 - 03:13
I tried install the dependency packages but with some error :-
sudo aptitude install libid3tag0 libflac8 libvorbisfile3 sqlite3 libavformat52
The following NEW packages will be installed:
libavcodec52{a} libavformat52 libavutil49{a} libdirac-encoder0{a} libfaad2{a} libflac8 libgsm1{a} libid3tag0
libogg0{a} libopenjpeg2{a} liborc-0.4-0{a} libschroedinger-1.0-0{a} libspeex1{a} libtheora0{a} libvorbis0a{a}
libvorbisenc2{a} libvorbisfile3 sqlite3
0 packages upgraded, 18 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.1 MB of archives. After unpacking 25.6 MB will be used.
……..
Err http://ftp.uk.debian.org/debian/ squeeze/main libavutil49 armel 4:0.5.2-6 404 Not Found [IP: 83.142.228.128 80]
Err http://ftp.uk.debian.org/debian/ squeeze/main libavcodec52 armel 4:0.5.2-6 404 Not Found [IP: 83.142.228.128 80]
Err http://ftp.uk.debian.org/debian/ squeeze/main libavformat52 armel 4:0.5.2-6 404 Not Found [IP: 83.142.228.128 80]
E: Failed to fetch http://ftp.uk.debian.org/debian/pool/main/f/ffmpeg/libavutil49_0.5.2-6_armel.deb: 404 Not Found [IP: 83.142.228.128 80]
……..
November 1st, 2011 - 03:59
OK. I have managed to installed!
I added deb http://ftp.us.debian.org/debian/ squeeze main to the sources list, uodate & re-installed successfully.
Thanks for your HOW-TO posting.
FYI, I also managed to install into x86 platform from your provided link above http://sourceforge.net/projects/minidlna/files/minidlna/1.0.22/minidlna_1.0.22_static.tar.gz/download
Both are working fine :)
November 1st, 2011 - 09:08
Great to hear, you finally got it running!
November 20th, 2011 - 14:16
I have a mp4 file downloaded from http://h264-demo.code-shop.com/demo/apache/trailer2.mp4 & able to playback with video & sound locally on my pc.
I copy this same file to minidlna box & playback as usual from another dlna clients – Skifta app on Andriod Neuxs One phone & XBMC in ATV2, there is only video & no sound at all. Others mp4 files is OK, except this one.
Any idea?
December 2nd, 2011 - 17:47
This maybe has to do something with your clients or minidlna isn’t able to stream the sound of this video. Please ask the developers for additional info. I am not in the code, I am just providing an installable package.
December 1st, 2011 - 21:44
Hi
Installation worked perfect..But the server is not scanning the full directory and even if you change the notify interval will not influence anything….?! any recomendation..?!
Thanks
Christian
December 2nd, 2011 - 17:44
This has to do with inotify. As far as I know it is not enabled in the kernel, so you need to refresh the database manually by restarting minidlna. If this doesn’t work, tryminidlna -R
December 13th, 2011 - 07:53
I noticed that minidlna leaked memory. Did you encounter this problem?
December 13th, 2011 - 11:58
No, I didn’t. But this kind of problem doesn’t have to do with my deb file. I am not a developer of the project, so please try to get help at http://sourceforge.net/projects/minidlna/
February 3rd, 2012 - 21:03
Thanks Shyd. I’ll give this a try on my Netgear Stora tomorrow. The last one worked a treat and fixed a bug in the stock 1.0.22 :-)
/Craig
May 16th, 2012 - 20:55
Nice one mate, I’ve just installed v24 on my sheevaplug and it’s up and running. Thanks
May 27th, 2012 - 07:11
Thanks. Just updated to v24 on my Debian Squeeze 6 and it works like charm. Awesome works as always
October 3rd, 2012 - 14:27
Hi, thanks for all your Dockstar-work. With this DEB in particular, I was able to connect my VDR on Dockstar with my new Blu-Ray Player in just about 10 minutes (including the googling). Now the recordings are scaled up when I play them and it is just so much easier than watching them using the PC.
Great stuff!
December 9th, 2012 - 16:12
Hi & thanks for compiling minidlna for arm devices. I was just wondering if you could add the patch mentioned here: sourceforge.net/projects/minidlna/forums/forum/879956/topic/4045677 so I would be able to stream vdr (mpeg) recordings to my tv. I’ve no experience in cross-compiling so it would be a great help.
Peter
December 9th, 2012 - 18:02
Hi, that is absolutely no problem, you can simply apply the patch and build the sources directly on your device (with build-essential installed on it).
I did it for you:
Install minidlna from my .deb, then overwrite /usr/sbin/minidlna with the new binary packed in http://dev.shyd.de/dockstar/minidlna-1025-vdr-binonly.tar.gz
Hopefully it works as desired.
–Dennis
December 9th, 2012 - 20:39
Great, thanks. I’ll give it a try. And I will install build essentials. If it is that simple ;-)
December 23rd, 2012 - 16:23
Hi Shyd
I have a Seagate GoFlex Home 2TB – The DLNA hasnt been updated which i have the latest but dont know how to install it. I am a Windows Guy so I dont know much about Unix. I do have Putty and connected with SSH. I can stop, start, reload and status. The rebuild of the database nearly took 4 days and still doesnt refresh the content. I have 3 Directories :
1.Brandon -> 1.Movies, 2.Series & 3.Music.
It doesnt refresh often as I would love it too.
This is very frustating and irritating as I know there is way more on the drive than I am looking at.
What can I do or could you please help me fix this problem.
Thank you so much
December 24th, 2012 - 11:40
Hi,
first of all check its version with putty, type minidlna -V
My suggestion for an automatic update would be to check the presence of inotify, type ls -l /dev/inotify
Post the two outputs here, then we will go on.
cheers
January 3rd, 2013 - 11:06
Dear Shyd,
I just come across a transcoding version of minidlna and just wonder if you can compile it to a .deb package or if could you show me how to compile it from source on a debian squeeze linkstation ls-vl.
January 3rd, 2013 - 11:48
Hi,
nothing easier than compiling minidlna! All you need is build-essential, then download minidlna-src, cd into the untared directory. Make your changes, apply patches etc.
Then simply run
make all
make install
make install-conf
and edit the config.
Now you should be able to start your freshly compiled minidlna. Note: the init script has to be copied manually.
–Dennis
January 4th, 2013 - 17:20
Hi All,
I have problems with miniDLNA 1.0.25 on my Netgear Stora. it seems to not index all movies by some reason. it starts indexing all photos and then goes to the movies, only finds 3 movies though I have a lot more. I’ve upgraded miniDLNA to 1.0.25 from 1.0.22. I have it running from the /home/0common dir and the conf file is in the same.
Any ideas?
/martin
January 4th, 2013 - 20:12
Hi,
how many photos are indexed (http://ipofstora:8200)?
A friend of mine had similar problems when indexing a huge music library and some movies.
–Dennis
January 4th, 2013 - 22:40
this is what I get
MiniDLNA status
Audio files: 0
Video files: 3
Image files: 15099
January 4th, 2013 - 22:39
…also I get the following when starting up the minidlna
Sarting ../minidlna … /…./lib/libavutil.so.49: no version information available (required by /…/minidlna)
/…/minidlna:/usr/lib/libjpeg.so.62: no version information available (required by /…/minidlna)
January 4th, 2013 - 23:47
Try to install the packages libavutil and libjpeg-progs.
Further try excluding the images and check if all movies are indexed.
I don’t know where the file count limit in minidlna is, so try some scenarios.
January 5th, 2013 - 11:26
yes will try that.
strange though that it could index all files using version 1.0.22.
January 5th, 2013 - 11:56
For minidlna specific questions please consider asking in the forums as I am not in the code. http://sourceforge.net/projects/minidlna/forums?source=navbar
Good luck with the packages to install though!
January 5th, 2013 - 17:42
is there an way I can check if these packages are installed already?
I seem to have very little space left in the rootfs –
“df -t rootfs -h” gives
rootfs 212M 211M 152k 100%
how can I free up space here if this might have something to do with it?
January 17th, 2013 - 16:15
hi , i today i tryed to use 1 wget http://dev.shyd.de/dockstar/minidlna-1.0.24-1-arm.deb
2 dpkg -i minidlna-1.0.24-1-arm.deb
3 apt-get -f install
4 dpkg-reconfigure minidlna
but when i do this in putty it give me a error :dpkg : command not found . i have no idea about what can i do :S
January 17th, 2013 - 16:29
Hi,
you need to be root, are you?
January 17th, 2013 - 17:08
yes , i guess i am , to be root what i do is . username_hipserv2_seagateplug_XXXX-XXXX-XXXX-XXXX and then do sudo -E -s but i always get this error audit_log_user_command(): Connection refused .
Can u tell me the best way to root ?
January 17th, 2013 - 17:09
Well, the easiest way is typing: su
Or just log in as user root.
If your user is in sudoers, “sudo dpkg -i …” should work as well.
January 17th, 2013 - 17:16
when i type su it asks for a password and when i write my password it says password incorrect what can i do ?
January 17th, 2013 - 17:20
Type the rootpassword. You should know it. If you used Jeff’s or my script to install debian and you didn’t change it, it is simply root.
But if you have forgotten it, you need to mount your rootfs in another system and alter the passwd in the /etc/shadow
January 17th, 2013 - 17:29
Can u link the debian script ? , i dont have it installed im doing this on windows
January 17th, 2013 - 17:33
Eh? minidlna on windows using my .deb?! This won’t work at all!
Sorry, but it seems you don’t know what you are doing?
Using the script on a laptop/desktop computer doesn’t work either.
Or are you talking about putty? Or even cygwin?
January 17th, 2013 - 17:37
i explain . i acess my goflex drive by putty and tryed to do the update to Minildna in putty.
January 17th, 2013 - 17:40
Ahh I see. Why so complicated :) It makes no difference what ssh client you use.
So, did you change the OS on the goflex or what is currently running on it?
January 17th, 2013 - 17:47
my goflex is unchanged , is factory default . I’m trying to update the minidlna by a fresh base u see :) ?. i didnt changed anything. the os in my computer is windows 7 , from my goflex is the factory default . i dont know the name
January 17th, 2013 - 17:36
i was talking about putty … i tryed that on putty
January 17th, 2013 - 17:44
my goflex is unchanged , is factory default . I’m trying to update the minidlna by a fresh base u see :) ?. i didnt changed anything. the os in my computer is windows 7 , from my goflex is the factory default . i dont know the name
January 17th, 2013 - 17:55
Thanks for the information, finally ;)
I don’t know if it’s even possible to update minidlna on stock firmware. Never used it on my dockstars/goflex net.
Well, I don’t know your experience and knowledge level with unix and things. But if you know what’s going on with it, you might try to install a fresh debian on it. But this will void warranty!
A good start would be this post: http://dev.shyd.de/2011/01/seagate-dockstar-debian-squeeze/
But I can’t guide you through the whole thing if you are not aware of any deeper knowledge. In this case you should just leave it as it is.
You will have to setup everything from scratch. Initially there won’t be no such share to access from windows and so on.
January 17th, 2013 - 18:01
so i have to install debian in my goflex ? thats not hard . i will try if anything goes wrong i just reset it =) thank you by the information
January 17th, 2013 - 18:09
Exactly this won’t work, you cannot reset after installing debian that easy!
Anyway it will try to boot from disk. If no rootfs is present, it boots from nand.
Good luck with that!
January 28th, 2013 - 12:48
Just a quick “thank you” as I’m an utter novice – having the Debian builds in a simple file has made life far easier for me and restored our broken NAS to life!
I’ll bookmark this page and check back once in a while for future updates though the current build *seems* to do everything we need :)