minidlna server not running after updated software

Hello,

after I updated my Leap 15 system my minidlna service isn’t running correctly anymore. It seems that the settings made in yast -> sysconfig editor and stored in /etc/sysconfig/minidlna are ignored.

The service was working correctly before I updated the system.

Does somebody know what to do?

Greetings

Hi, welcome to these forums,

Did you try to restart the service?

Yes. and I rebooted the computer some times after the update.
The service is running but it uses the wrong config. I did the config with the sysconfig- editor. There is a config file in /etc/sysconfig/minidlna. There are all settings I made.
The /etc/minidlna.conf exists, too with other (default) settings.
I think minidlna is using the wrong config.
This happend after an update yesterday.

Greetings

Hi
Looking at the spec file (assuming your package is from multimedia:libs);

The conf file in use resides in /run/minidlna/ directory, is it there? Since it’s a tmp directory after a reboot it would be re-created. What does the systemd service status show?


systemctl status minidlna

Could it be that the settings have moved to /etc/minidlna.conf?

Should be simple to fix.

  1. Locate the miniDLNA Unit file (the location and exact name whether it’s set up as a system or user service can be found by running “systemctl status minidlnad”) to /etc/systemd/system/(or …/user/ as may be the case)
  2. Open the copied file in your favorite text editor.
  3. Locate the command that starts the service, likely “ExecStart=”
  4. According t0 the MAN page for miniDLNA, you can insert the “f” option followed by the location to your preferred configuration file.
    Save.
    Run
systemctl daemon reload

Verify your MiniDLNA is working as before with your preferred settings.

TSU

Running an up to date instance:


erlangen:~ # systemctl status minidlna.service 
● minidlna.service - MiniDLNA UPnP-A/V and DLNA media server
   Loaded: loaded (/usr/lib/systemd/system/minidlna.service; enabled; vendor preset: disabled)
   Active: active (running) since Wed 2018-12-12 07:31:47 CET; 57min ago
  Process: 1913 ExecStart=/usr/sbin/minidlnad $RESCAN -P /var/run/minidlnad.pid -f /var/lib/minidlna/minidlna.conf (code=exited, status=0/SUCCESS)
  Process: 1896 ExecStartPre=/usr/sbin/minidlnaconfig (code=exited, status=0/SUCCESS)
 Main PID: 1987 (minidlnad)
    Tasks: 2 (limit: 4915)
   Memory: **16.4G**
   CGroup: /system.slice/minidlna.service
           └─1987 /usr/sbin/minidlnad -R -P /var/run/minidlnad.pid -f /var/lib/minidlna/minidlna.conf

Dec 12 07:31:47 erlangen systemd[1]: Starting MiniDLNA UPnP-A/V and DLNA media server...
Dec 12 07:31:47 erlangen systemd[1]: Started MiniDLNA UPnP-A/V and DLNA media server.
erlangen:~ #

Configuration is done with /etc/sysconfig/minidlna /etc/minidlna.conf does not exist on my machine. You may try to move /etc/minidlna.conf and restart minidlna.

Doesn’t work.
Something is strange here.

I configured my minidlna with sysconfig- editor, too.
But after an update on Sunday there is a /etc/minidlna.conf- file.

The package-file-list confirms that:

linux-q043:~ # rpm -ql minidlna
/etc/logrotate.d/minidlna
/etc/minidlna.conf
/usr/lib/systemd/system/minidlna.service
/usr/lib/tmpfiles.d/minidlna.conf
/usr/sbin/minidlnad
/usr/sbin/rcminidlna
/usr/share/doc/packages/minidlna
/usr/share/doc/packages/minidlna/NEWS
/usr/share/doc/packages/minidlna/README
/usr/share/doc/packages/minidlna/TODO
/usr/share/licenses/minidlna
/usr/share/licenses/minidlna/COPYING
/usr/share/licenses/minidlna/LICENCE.miniupnpd
/usr/share/locale/da/LC_MESSAGES/minidlna.mo
/usr/share/locale/de/LC_MESSAGES/minidlna.mo
/usr/share/locale/es/LC_MESSAGES/minidlna.mo
/usr/share/locale/fr/LC_MESSAGES/minidlna.mo
/usr/share/locale/it/LC_MESSAGES/minidlna.mo
/usr/share/locale/ja/LC_MESSAGES/minidlna.mo
/usr/share/locale/ko/LC_MESSAGES/minidlna.mo
/usr/share/locale/nb/LC_MESSAGES/minidlna.mo
/usr/share/locale/nl/LC_MESSAGES/minidlna.mo
/usr/share/locale/pl/LC_MESSAGES/minidlna.mo
/usr/share/locale/ru/LC_MESSAGES/minidlna.mo
/usr/share/locale/sl/LC_MESSAGES/minidlna.mo
/usr/share/locale/sv/LC_MESSAGES/minidlna.mo
/usr/share/man/man5/minidlna.conf.5.gz
/usr/share/man/man8/minidlnad.8.gz
/var/cache/minidlna
/var/log/minidlna

Hi,

I did a fresh installation in a virtual- machine.

The behavior is totally different to my first installation. Seems a minidlna- user and group exist now.

There is no entry in yast- sysconfig-editor to configure minidlna any longer.

This package was installed from packman- repo. Is there a way to contact the maintainer of this package?

Greetings

Hi
It’s the same package I linked to, packman is (due to it’s limited resources) more a rebuild service and packages maintained on OBS.

See the comment: https://pmbs.links2linux.de/package/show/Multimedia/minidlna

What is your package? Mine is:

erlangen:~ # zypper if minidlna
Loading repository data...
Reading installed packages...


Information for package minidlna:
---------------------------------
Repository     : Packman                      
Name           : minidlna                     
Version        : 1.2.1-8.12                   
Arch           : x86_64                       
Vendor         : http://packman.links2linux.de
Installed Size : 379.3 KiB                    
Installed      : Yes                          
Status         : up-to-date                   
Source package : minidlna-1.2.1-8.12.src      
Summary        : DLNA server software         
Description    :                              
    MiniDLNA (aka ReadyDLNA) is server software with the aim
    of being fully compliant with DLNA/UPnP-AV clients.

    It is developed by a NETGEAR employee for the ReadyNAS product line.
    So if you are looking for a NAS, please consider ReadyNAS first!

    Credit goes to: Justin Maggard

erlangen:~ # rpm -ql minidlna
/etc/logrotate.d/minidlna
/etc/sysconfig/SuSEfirewall2.d/services
/etc/sysconfig/SuSEfirewall2.d/services/minidlna
/usr/lib/systemd/system/minidlna.service
/usr/sbin/minidlnaconfig
/usr/sbin/minidlnad
/usr/sbin/rcminidlna
/usr/share/doc/packages/minidlna
/usr/share/doc/packages/minidlna/AUTHORS
/usr/share/doc/packages/minidlna/LICENCE.miniupnpd
/usr/share/doc/packages/minidlna/NEWS
/usr/share/doc/packages/minidlna/README
/usr/share/doc/packages/minidlna/TODO
/usr/share/fillup-templates/sysconfig.minidlna
/usr/share/locale/da/LC_MESSAGES/minidlna.mo
/usr/share/locale/de/LC_MESSAGES/minidlna.mo
/usr/share/locale/es/LC_MESSAGES/minidlna.mo
/usr/share/locale/fr/LC_MESSAGES/minidlna.mo
/usr/share/locale/it/LC_MESSAGES/minidlna.mo
/usr/share/locale/ja/LC_MESSAGES/minidlna.mo
/usr/share/locale/ko/LC_MESSAGES/minidlna.mo
/usr/share/locale/nb/LC_MESSAGES/minidlna.mo
/usr/share/locale/nl/LC_MESSAGES/minidlna.mo
/usr/share/locale/pl/LC_MESSAGES/minidlna.mo
/usr/share/locale/ru/LC_MESSAGES/minidlna.mo
/usr/share/locale/sl/LC_MESSAGES/minidlna.mo
/usr/share/locale/sv/LC_MESSAGES/minidlna.mo
/usr/share/man/man5/minidlna.conf.5.gz
/usr/share/man/man8/minidlnad.8.gz
/var/cache/minidlna
/var/lib/minidlna
/var/log/minidlna
erlangen:~ # 

My smart TV displays all stuff served by minidlna.

My package is:

linux-3mk1:~ # zypper if minidlna
Repository-Daten werden geladen...
Installierte Pakete werden gelesen...


Informationen zu Paket minidlna:
--------------------------------
Repository         : Packman Repository           
Name               : minidlna                     
Version            : 1.2.1-lp150.11.1             
Arch               : x86_64                       
Anbieter           : http://packman.links2linux.de
Installierte Größe : 377,1 KiB                    
Installiert        : Ja                           
Status             : aktuell                      
Quellpaket         : minidlna-1.2.1-lp150.11.1.src
Zusammenfassung    : DLNA compatible server       
Beschreibung       :                              
    MiniDLNA (aka ReadyDLNA) is server software with the aim of being fully
    compliant with DLNA/UPnP-AV clients.

Why do you have an other version in your pacman- repo?

I had contact with the maintainer who made the change of the package.
He copied back the old version of the package. I have to wait for the update.

The problem was that the package was moved to the tumbleweed- package.

Greetings,

Helge

Because it has been in the repo Index of /packman/suse/openSUSE_Tumbleweed in 2018-12-12. Now it’s orphaned and is listed as: Repository : @System. Somebody goofed. You may hunt for a functional version at: openSUSE Software

Just in case somebody goofs again I issued a “zypper addlock minidlna”.