Mini dlna plugin error

volumio@zerling:~$ ls -al /data/plugins/miscellanea/minidlna
total 104
drwxr-xr-x 4 volumio volumio 4096 Jun 15 18:23 .
drwxr-xr-x 3 volumio volumio 4096 Jun 15 18:20 …
-rw-r–r-- 1 volumio volumio 35626 Dec 19 2019 UIConfig.json
-rw-r–r-- 1 volumio volumio 2316 Jun 15 18:23 config.json
-rw-r–r-- 1 volumio volumio 29 Dec 19 2019 gitignore
drwxr-xr-x 2 volumio volumio 4096 Jun 15 18:20 i18n
-rw-r–r-- 1 volumio volumio 11390 Dec 19 2019 index.js
-rw-r–r-- 1 volumio volumio 963 Dec 19 2019 install.sh
-rw-r–r-- 1 volumio volumio 5779 Dec 19 2019 minidlna.conf.tmpl
-rw-r–r-- 1 volumio volumio 440 Dec 19 2019 minidlna.service
drwxr-xr-x 12 volumio volumio 4096 Jun 15 18:20 node_modules
-rw-r–r-- 1 volumio volumio 2981 Dec 19 2019 package-lock.json
-rw-r–r-- 1 volumio volumio 447 Dec 19 2019 package.json
-rw-r–r-- 1 volumio volumio 5 Dec 19 2019 requiredConf.json
-rw-r–r-- 1 volumio volumio 370 Dec 19 2019 uninstall.sh
volumio@zerling:~$ ls -al /data/configuration/miscellanea/minidlna
total 12
drwxr-xr-x 2 volumio volumio 4096 Aug 25 15:34 .
drwxr-xr-x 8 volumio volumio 4096 Aug 25 15:34 …
-rw-r–r-- 1 volumio volumio 2315 Aug 25 18:32 config.json
volumio@zerling:~$ ^C
volumio@zerling:~$ sudo apt-get update
Hit http://archive.volumio.org jessie InRelease
Hit http://archive.volumio.org jessie InRelease
Hit http://archive.volumio.org jessie/main Sources
Hit http://archive.volumio.org jessie/contrib Sources
Hit http://archive.volumio.org jessie/non-free Sources
Hit http://archive.volumio.org jessie/rpi Sources
Hit http://archive.volumio.org jessie/main armhf Packages
Hit http://archive.volumio.org jessie/contrib armhf Packages
Hit http://archive.volumio.org jessie/non-free armhf Packages
Hit http://archive.volumio.org jessie/rpi armhf Packages
Hit http://archive.volumio.org jessie/main Sources
Hit http://archive.volumio.org jessie/ui Sources
Hit http://archive.volumio.org jessie/main armhf Packages
Hit http://archive.volumio.org jessie/ui armhf Packages
Ign http://archive.volumio.org jessie/contrib Translation-en
Ign http://archive.volumio.org jessie/main Translation-en
Ign http://archive.volumio.org jessie/non-free Translation-en
Ign http://archive.volumio.org jessie/rpi Translation-en
Ign http://archive.volumio.org jessie/main Translation-en
Ign http://archive.volumio.org jessie/ui Translation-en
Reading package lists… Done
volumio@zerling:~$ sudo apt-get -y install minidlna
Reading package lists… Done
Building dependency tree
Reading state information… Done
The following extra packages will be installed:
libexif12 libjpeg8
The following NEW packages will be installed:
libexif12 libjpeg8 minidlna
0 upgraded, 3 newly installed, 0 to remove and 24 not upgraded.
Need to get 0 B/543 kB of archives.
After this operation, 2401 kB of additional disk space will be used.
debconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package libexif12:armhf.
(Reading database … 20542 files and directories currently installed.)
Preparing to unpack …/libexif12_0.6.21-2_armhf.deb …
Unpacking libexif12:armhf (0.6.21-2) …
Selecting previously unselected package libjpeg8:armhf.
Preparing to unpack …/libjpeg8_8d1-2_armhf.deb …
Unpacking libjpeg8:armhf (8d1-2) …
Selecting previously unselected package minidlna.
Preparing to unpack …/minidlna_1.1.2+dfsg-1.1+b1_armhf.deb …
Unpacking minidlna (1.1.2+dfsg-1.1+b1) …
Processing triggers for systemd (215-17+deb8u8) …
Setting up libexif12:armhf (0.6.21-2) …
Setting up libjpeg8:armhf (8d1-2) …
Setting up minidlna (1.1.2+dfsg-1.1+b1) …
Failed to start minidlna.service: Unit minidlna.service failed to load: Invalid argu ment. See system logs and ‘systemctl status minidlna.service’ for details.
invoke-rc.d: initscript minidlna, action “start” failed.
dpkg: error processing package minidlna (–configure):
subprocess installed post-installation script returned error exit status 6
Processing triggers for libc-bin (2.19-18+deb8u10) …
Processing triggers for systemd (215-17+deb8u8) …
Errors were encountered while processing:
minidlna
E: Sub-process /usr/bin/dpkg returned an error code (1)
volumio@zerling:~$ sudo rm /etc/minidlna.conf
volumio@zerling:~$ sudo chown -R volumio:volumio /var/cache/minidlna/
[sudo] password for volumio:
volumio@zerling:~$

the second command line results encountered a error.

Check if /etc/systemd/system/minidlna.service still exists and has the content posted previously. If so try to start the plugin and maybe check the status of minidlna.service again.

Edit: @jepinzonh and I have worked it out using PM. The issue has been solved by manually reinstalling the missing software as proposed above. Last remaining culprit was to correct the minidlna.service file whose content had an error that initially crept into my post (which has already been edited and corrected).