MiniDLNA releases

    • Re: MiniDLNA releases

      "ryecoaaron" wrote:

      I installed the plugin on a system that didn't have minidlna on it previously. I think the service is failing to start because there is no /var/cache/minidlna directory. Therefore, it can't create the sqlite database. If you manually (as root) run mkdir /var/cache/minidlna from the command line, it should work. I'm guessing that is an easy fix for Marcel


      I created the folder, but i can't get minidlna runnig. Hoping for a fix soon :)
    • Re: MiniDLNA releases

      Hi, I just performed this as a crude fix for minidlna not starting up.

      1) Uninstall the minidlna plugin.
      2) #apt-get purge minidlna
      3) #apt-get install minidlna
      4) Install minidlna plugin
      5) #service minidlna status <-- Should state minidlna is running.
    • Re: MiniDLNA releases

      I don't have /var/cache/minidlna folder and minidlna runs just fine.

      Source Code

      1. root@NAS:~# ls -l /var/cache/
      2. total 32
      3. drwxr-xr-x 3 www-data www-data 4096 Feb 7 21:25 apache2
      4. drwxr-xr-x 3 root root 4096 Jul 21 08:00 apt
      5. drwxr-xr-x 2 root root 4096 Jul 7 19:07 ddclient
      6. drwxr-xr-x 2 root root 4096 Jul 7 18:22 debconf
      7. drwxr-xr-x 2 root root 4096 Nov 18 2011 fontconfig
      8. drwx------ 2 root root 4096 Jul 2 23:34 ldconfig
      9. drwxr-xr-x 3 openmediavault openmediavault 4096 Nov 18 2011 openmediavault
      10. drwxr-xr-x 3 root root 4096 Jul 21 15:44 samba
      11. root@NAS:~# service minidlna status
      12. minidlna is running.
      13. root@NAS:~# ps -ef | grep minidlna
      14. root 18528 18409 0 15:53 pts/0 00:00:00 grep minidlna
      15. minidlna 29345 1 0 Jun21 ? 00:01:45 /usr/sbin/minidlna -f /etc/minidlna.conf -P /var/run/minidlna/minidlna.pid -R
      16. minidlna 29346 29345 0 Jun21 ? 00:00:10 /usr/sbin/minidlna -f /etc/minidlna.conf -P /var/run/minidlna/minidlna.pid -R
      17. minidlna 29352 29346 0 Jun21 ? 00:00:36 /usr/sbin/minidlna -f /etc/minidlna.conf -P /var/run/minidlna/minidlna.pid -R
      18. root@NAS:~#
      Display All
    • Re: MiniDLNA releases

      Hi,
      the service is running OK... now create the directory becomes minidlna. :roll:

      But a log file is still not created! (For me) :cry:

      We all agree here that there is apparently a bug in the new minidlna 1025?

      I want a "clean solution" in the form of a properly running off
      Update.

      Placebo01
    • Re: MiniDLNA releases

      So I upgraded to 1.0.25 and noticed the same issue, service was not running.

      So I started the service manually with:

      Source Code

      1. $ /etc/init.d/minidlna start


      And that seemed to work, except that is not logging anything so I am not sure it's working or not. /var/log/minidlna.log is empty. I removed the log before starting it, so it did re-created it, but it doesn't write anything to it. Ps shows the service running as follows:

      Source Code

      1. $ ps aux | grep mini
      2. minidlna 10608 0.0 0.0 22840 2896 ? Ssl 21:41 0:00 /usr/sbin/minidlna -f /etc/minidlna.conf -P /var/run/minidlna/minidlna.pid -R


      Any ideas why it's not logging? Or whether it's actually working?
    • Re: MiniDLNA releases

      "bigcat" wrote:

      And that seemed to work, except that is not logging anything so I am not sure it's working or not. /var/log/minidlna.log is empty. I removed the log before starting it, so it did re-created it, but it doesn't write anything to it. [...] Any ideas why it's not logging? Or whether it's actually working?


      That's odd, my logfile is logging:

      Source Code

      1. root@NAS:~# tail /var/log/minidlna.log
      2. [2012/07/22 13:02:29] upnpsoap.c:1691: warn: SoapMethod: Unknown: RegisterDevice
      3. [2012/07/22 13:02:29] upnpsoap.c:1739: warn: Returning UPnPError 401: Invalid Action
      4. [2012/07/22 16:01:57] upnpsoap.c:1691: warn: SoapMethod: Unknown: RegisterDevice
      5. [2012/07/22 16:01:57] upnpsoap.c:1739: warn: Returning UPnPError 401: Invalid Action
      6. [2012/07/22 19:46:18] upnpsoap.c:1691: warn: SoapMethod: Unknown: RegisterDevice
      7. [2012/07/22 19:46:18] upnpsoap.c:1739: warn: Returning UPnPError 401: Invalid Action
      8. [2012/07/23 11:18:00] upnpsoap.c:1691: warn: SoapMethod: Unknown: RegisterDevice
      9. [2012/07/23 11:18:00] upnpsoap.c:1739: warn: Returning UPnPError 401: Invalid Action
      10. [2012/07/24 15:55:17] upnpsoap.c:1691: warn: SoapMethod: Unknown: RegisterDevice
      11. [2012/07/24 15:55:17] upnpsoap.c:1739: warn: Returning UPnPError 401: Invalid Action
      Display All


      "ryecoaaron" wrote:

      Going through the source shows that the log level is user configurable. I wonder if 1.0.25 was compiled with the log level set to off. I will try compiling my own binary to see if it fixes it.


      You could try first to activate log by editing config file /etc/minidlna.conf and restarting minidlna service

      Source Code

      1. # set this if you would like to specify the directory where you want MiniDLNA to store its log file
      2. #log_dir=/var/log
      3. # set this to change the verbosity of the information that is logged
      4. # each section can use a different level: off, fatal, error, warn, info, or debug
      5. #log_level=general,artwork,database,inotify,scanner,metadata,http,ssdp,tivo=warn
    • Re: MiniDLNA releases

      I wanted to understand so I tried to restart the minidlna service and guess what, service would not restart :D

      I added /var/cache/minidlna/ folder with appropriate rights and was able to start the service. But now I don't have any logs in the /var/log/minidlna.log (not a big deal for me, but I can understand the frustration)

      I would have thought that when I updated minidlna plugin to 1.0.25 version, the service would have been restarted automatically but it seems it was not the case. Since I did not restart my NAS or changed dlna config, I didn't see that the service could not start properly and wouldn't log anymore.
    • Re: MiniDLNA releases

      "lindsay" wrote:

      Is there a way to just get installed the previous version of minidlna wich worked perfecly?

      I'm pretty sure you can download the older version directly from the repository using:

      Source Code

      1. wget http://packages.omv-plugins.org/pool/main/m/minidlna/minidlna_1.0.24%2b2_all.deb


      Remove the newer version after that and run:

      Source Code

      1. dpkg -i minidlna_1.0.24+2_all.deb