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.
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.
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?
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)
Open the copied file in your favorite text editor.
Locate the command that starts the service, likely “ExecStart=”
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.
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.
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.
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.