Hello!
Since spring of this year I am using an Raspberry Pi 4 Modell B with Openmediavault. Till last week everything worked like a charm. But then i made an update, now using Version 5.5.18-1.
When i now shutdown the system or do a restart, the mini DLNA tool isn't showing any files after a restart.
service minidlna status via Putty shows me:
● minidlna.service - MiniDLNA lightweight DLNA/UPnP-AV server
Loaded: loaded (/lib/systemd/system/minidlna.service; enabled; vendor preset: enabled)
Active: active (running) since Wed 2020-12-16 13:57:14 CET; 4min 38s ago
Docs: man:minidlnad(1)
man:minidlna.conf(5)
Process: 741 ExecStart=/usr/sbin/minidlnad -f $CONFIGFILE -P /run/minidlna/minidlna.pid $DAEMON_OPTS (code=exited, status=0/SUCCESS)
Main PID: 794 (minidlnad)
Tasks: 2 (limit: 4915)
CGroup: /system.slice/minidlna.service
└─794 /usr/sbin/minidlnad -f /etc/minidlna.conf -P /run/minidlna/minidlna.pid -r
Dec 16 13:57:13 ttmk-nas systemd[1]: Starting MiniDLNA lightweight DLNA/UPnP-AV server...
Dec 16 13:57:14 ttmk-nas minidlnad[741]: [2020/12/16 13:57:14] minidlna.c:631: error: Media directory "/srv/dev-disk-by-label-DataTTMK/TTMK/" not accessible [No such file or directory]
Dec 16 13:57:14 ttmk-nas systemd[1]: Started MiniDLNA lightweight DLNA/UPnP-AV server.
But when i restart the miniDLNA Server via
sudo /etc/init.d/minidlna restart
the miniDLNA Server starts to indexing the files. Then everything works fine in 24/7 modus, until i shutdown or restart the system.
In my opinion, after a restart the miniDLNA server try to get access to the media directory before the media directory is mounted into the system. So the system says: not accessible [No such file or directory].
Is that issue known? How can it be solved?
Thanks in advance for help!