Package: minidlna Version: 1.3.0+dfsg-1 Tags: patch Apparently minidlna is started before autofs and others. This breaks the initial scan for new media files. On the next reboot you just get an empty database.
Attached is a patch for minidlna.init and minidlna.service. Regards Harri
--- debian/minidlna.init.orig 2021-01-07 15:46:34.000000000 +0100 +++ debian/minidlna.init 2021-01-23 10:58:14.536554249 +0100 @@ -3,6 +3,8 @@ # Provides: minidlna # Required-Start: $local_fs $network $remote_fs # Required-Stop: $local_fs $network $remote_fs +# Should-Start: autofs +# Should-Stop: autofs # Default-Start: 2 3 4 5 # Default-Stop: 0 1 6 # Short-Description: minidlna server --- debian/minidlna.service.orig 2020-12-05 11:57:45.000000000 +0100 +++ debian/minidlna.service 2021-01-23 11:16:10.988227229 +0100 @@ -1,7 +1,7 @@ [Unit] Description=MiniDLNA lightweight DLNA/UPnP-AV server Documentation=man:minidlnad(1) man:minidlna.conf(5) -After=network.target +After=local-fs.target remote-fs.target autofs [Service] Type=forking