miniDLNA stopped working

wyldeone
Posts: 45
Joined: Sun Dec 11, 2011 6:17 am

miniDLNA stopped working

Postby wyldeone » Sat Mar 22, 2014 6:23 am

Howdy Folks

Been having issues with miniDLNA not updating database over the last few weeks, noticed from its web page http://www.amahi.org/apps/dlna it was updated 6 days ago so i un-installed and re-installed from dashboard, now its will not start.

checking the status i get this error.
[root@localhost /]# systemctl status minidlna.service
minidlna.service - MiniDLNA is a DLNA/UPnP-AV server software
Loaded: loaded (/usr/lib/systemd/system/minidlna.service; enabled)
Active: failed (Result: exit-code) since Sun 2014-03-23 00:20:36 LHST; 36s ago
Process: 31046 ExecStart=/usr/sbin/minidlnad -S (code=exited, status=127)

Mar 23 00:20:36 localhost.localdomain systemd[1]: Starting MiniDLNA is a DLNA/UPnP-AV server software...
Mar 23 00:20:36 localhost.localdomain systemd[1]: Started MiniDLNA is a DLNA/UPnP-AV server software.
Mar 23 00:20:36 localhost.localdomain minidlnad[31046]: /usr/sbin/minidlnad: symbol lookup error: /lib/libavcodec.so.54: undefined symbol: vpx_cod..._dx_algo
Mar 23 00:20:36 localhost.localdomain systemd[1]: minidlna.service: main process exited, code=exited, status=127/n/a
Mar 23 00:20:36 localhost.localdomain systemd[1]: Unit minidlna.service entered failed state.
any suggestions

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: miniDLNA stopped working

Postby bigfoot65 » Sat Mar 22, 2014 7:23 am

Might try uninstalling the app, then verify all files have been removed.

Code: Select all

rpm -ql minidlna
If not remove them before reinstall. Might not be a bad idea to reboot before the install as well just to be sure.

This is a new error that I have not seen.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

wyldeone
Posts: 45
Joined: Sun Dec 11, 2011 6:17 am

Re: miniDLNA stopped working

Postby wyldeone » Sat Mar 22, 2014 8:06 am

KK

I un-installed it from dashboard. Log file reported
======= app uninstall begin @ 2014-03-23 01:45:50 +1100 ==========
Uninstalling app id ogiaus92x5 under /var/hda/platform/html ENV=production
Removing Amahi settings
Stopping minidlna.service
Disabling minidlna.service
rm '/etc/systemd/system/multi-user.target.wants/minidlna.service'
Reloading systemctl daemon
Done!
Your HDA services have been restarted.
App: DLNA uninstalled
======= app uninstall end @ 2014-03-23 01:46:13 +1100 ==========
Used
rpm -ql minidlna
report came back nothing installed.

Rebooted HDA and re-installed minidlna, install log
======= app install begin @ 2014-03-23 01:54:57 +1100 ==========
Installing app id ogiaus92x5 under /var/hda/platform/html ENV=production
Your HDA services have been restarted.
Your HDA services have been restarted.
Configuring Amahi settings
Reloading systemctl daemon
Enabling minidlna.service
ln -s '/usr/lib/systemd/system/minidlna.service' '/etc/systemd/system/multi-user.target.wants/minidlna.service'
Starting minidlna.service
App: DLNA installed
======= app install end @ 2014-03-23 01:56:48 +1100 ==========


still same problem, status report is
[root@localhost /]# systemctl status minidlna.service
minidlna.service - MiniDLNA is a DLNA/UPnP-AV server software
Loaded: loaded (/usr/lib/systemd/system/minidlna.service; enabled)
Active: failed (Result: exit-code) since Sun 2014-03-23 01:58:26 LHST; 1min 4s ago
Process: 4403 ExecStart=/usr/sbin/minidlnad -S (code=exited, status=127)

Mar 23 01:58:26 localhost.localdomain systemd[1]: Starting MiniDLNA is a DLNA/UPnP-AV server software...
Mar 23 01:58:26 localhost.localdomain systemd[1]: Started MiniDLNA is a DLNA/UPnP-AV server software.
Mar 23 01:58:26 localhost.localdomain minidlnad[4403]: /usr/sbin/minidlnad: symbol lookup error: /lib/libavcodec.so.54: undefined symbol: vpx_cod...dx_algo
Mar 23 01:58:26 localhost.localdomain systemd[1]: minidlna.service: main process exited, code=exited, status=127/n/a
Mar 23 01:58:26 localhost.localdomain systemd[1]: Unit minidlna.service entered failed state.
kids are going to go nutz in the morning when they can't watch their movies lol have to dig out the dvd's

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: miniDLNA stopped working

Postby bigfoot65 » Sat Mar 22, 2014 8:23 am

Do you have Plex Media Server installed? If so, is it from Amahi and when did you install it?

There was an issue with conflicts with these two apps. We repackaged Plex Media Server RPM on our own instead of using the source to correct the problem.

The /lib/libavcodec.so appears to be the clue here. Not sure what it belongs to, but have to done a OS update recently? If not, might want to do so.

I do not have that file on my HDA and I have the DLNA app installed. So makes me think it's installed by something else and interfering with minidlna.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: miniDLNA stopped working

Postby bigfoot65 » Sat Mar 22, 2014 8:45 am

Further investigation shows that ffmpeg and minidlna both have depends on libavcodec.so.52 and libavcodec.so.54.

I am speculating that these may be different build versions and that is the cause of the issues. Looking for a work around now, which may be to downgrade minidlna.

I have filed a bug report, so monitor it for further progress.
https://bugs.amahi.org/issues/1327

UPDATE: Subsonic is one LIVE app that uses ffmpeg. I am looking to see if there are others, but a solution still eludes me. Downgrade did not work.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: miniDLNA stopped working

Postby bigfoot65 » Sat Mar 22, 2014 10:09 am

Have you installed the latest OS updates?

I did a test and with the latest OS updates, the minidlna.service starts and restarts without error.
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

wyldeone
Posts: 45
Joined: Sun Dec 11, 2011 6:17 am

Re: miniDLNA stopped working

Postby wyldeone » Sat Mar 22, 2014 1:55 pm

How do i install the latest OS updates?

I did have Plex installed a month or two ago just to see how it worked as i have a LG smart TV, but i un-installed it.

just check /lib/libavcodec.so.54 file is there and present, though maybe Plex removed it.

User avatar
bigfoot65
Project Manager
Posts: 11924
Joined: Mon May 25, 2009 4:31 pm

Re: miniDLNA stopped working

Postby bigfoot65 » Sat Mar 22, 2014 2:06 pm

As root user, do:

Code: Select all

yum update
ßîgƒσστ65
Applications Manager

My HDA: Intel(R) Core(TM) i5-3570K CPU @ 3.40GHz on MSI board, 16GB RAM, 1TBx1+2TBx2+4TBx2

Who is online

Users browsing this forum: No registered users and 31 guests