News:

SMF - Just Installed!

Main Menu

minidlna fails status=255/EXCEPTION

Started by kalpana, Oct 18, 2023, 05:49 AM

Previous topic - Next topic

kalpana

Ubuntu 22.04.1 LTS (GNU/Linux 5.15.0-50-generic x86_64)

I installed minidlna a long while ago and it was working. I just tried to use it and it is not working. I checked the setup, that all looks OK, I stopped and restarted it. I checked the status, this is what I see
Code:

mick@holly:~$ sudo service minidlna status
× minidlna.service - MiniDLNA lightweight DLNA/UPnP-AV server
     Loaded: loaded (/lib/systemd/system/minidlna.service; enabled; vendor preset: enabled)
     Active: failed (Result: exit-code) since Tue 2022-10-18 12:18:02 BST; 2min 37s ago
       Docs: man:minidlnad(1)
             man:minidlna.conf(5)
    Process: 1833 ExecStart=/usr/sbin/minidlnad -f $CONFIGFILE -P /run/minidlna/minidlna.pid -S $DAEMON_OPTS (code=exited, status=255/EXCEPTION)
   Main PID: 1833 (code=exited, status=255/EXCEPTION)
        CPU: 39ms

Oct 18 12:18:02 holly systemd[1]: Started MiniDLNA lightweight DLNA/UPnP-AV server.
Oct 18 12:18:02 holly minidlnad[1833]: minidlna.c:1028: fatal: Failed to open log file '/home/common/.minidlna/minidlna.log': Permission denied
Oct 18 12:18:02 holly systemd[1]: minidlna.service: Main process exited, code=exited, status=255/EXCEPTION
Oct 18 12:18:02 holly systemd[1]: minidlna.service: Failed with result 'exit-code'.

There is an old log /var/log/minidlna.log.1 which is 18 months old and a newer one which is empty.
What can I do to fix it?
Thanks
Mick