After upgrade to 19.07.3 -> The miniDLNA service is not running

Hello there!

I've upgraded my WRT1900ACS -> OpenWRT from 17.x to 19.07.3 yesterday. It was a fresh installation. I reinstalled/configured everything from scratch, but after I installed miniDLNA server + luci interface, no matter what I do, I only receive the following message:

The miniDLNA service is not running.

I've already tried downloading an .ipk package from snapshot as suggested in this post but same results (I couldn't find minidlna 2019-12-09-0763719f-5 but 6).

The System Log shows the following:

Mon Jun 22 05:47:11 2020 daemon.err minidlnad[2249]: Error loading shared library libavformat.so.58: No such file or directory (needed by /usr/sbin/minidlnad)
Mon Jun 22 05:47:11 2020 daemon.err minidlnad[2249]: Error loading shared library libavutil.so.56: No such file or directory (needed by /usr/sbin/minidlnad)
Mon Jun 22 05:47:11 2020 daemon.err minidlnad[2249]: Error relocating /usr/sbin/minidlnad: av_strerror: symbol not found
Mon Jun 22 05:47:11 2020 daemon.err minidlnad[2249]: Error relocating /usr/sbin/minidlnad: avformat_close_input: symbol not found
Mon Jun 22 05:47:11 2020 daemon.err minidlnad[2249]: Error relocating /usr/sbin/minidlnad: avformat_find_stream_info: symbol not found
Mon Jun 22 05:47:11 2020 daemon.err minidlnad[2249]: Error relocating /usr/sbin/minidlnad: av_log_set_level: symbol not found
Mon Jun 22 05:47:11 2020 daemon.err minidlnad[2249]: Error relocating /usr/sbin/minidlnad: av_register_all: symbol not found
Mon Jun 22 05:47:11 2020 daemon.err minidlnad[2249]: Error relocating /usr/sbin/minidlnad: av_reduce: symbol not found
Mon Jun 22 05:47:11 2020 daemon.err minidlnad[2249]: Error relocating /usr/sbin/minidlnad: avformat_open_input: symbol not found
Mon Jun 22 05:47:11 2020 daemon.err minidlnad[2249]: Error relocating /usr/sbin/minidlnad: av_dict_get: symbol not found

Also tried to reach http://192.168.1.1:8200 from browser but no response.

Anyone can help me? miniDLNA was working perfect in 17 :frowning:

Thanks in advance.

Is it viable to perform a downgrade to 19.07.2?

You are just missing some dependencies: libavformat.so.58 & libavutil.so.56. Not sure what package(s) they are in, but once you install them you should be fine

I'm sorry for the noob question but...how do I install them? I don't see them as individual packages in the repository...thanks

I installed it just for the kicks, and it installed properly (19.07-latest). Can you run ldd /usr/sbin/minidlnad?

ldd /usr/sbin/minidlnad
	/lib/ld-musl-armhf.so.1 (0xb6ea1000)
	libjpeg.so.9 => /usr/lib/libjpeg.so.9 (0xb6e65000)
	libid3tag.so.0 => /usr/lib/libid3tag.so.0 (0xb6e42000)
	libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xb6d6a000)
	libavformat.so.57 => /usr/lib/libavformat.so.57 (0xb6d03000)
	libavutil.so.55 => /usr/lib/libavutil.so.55 (0xb6ca8000)
	libexif.so.12 => /usr/lib/libexif.so.12 (0xb6c69000)
	libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0xb6c34000)
	libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb6c01000)
	libogg.so.0 => /usr/lib/libogg.so.0 (0xb6bec000)
	libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6bd0000)
	libc.so => /lib/ld-musl-armhf.so.1 (0xb6ea1000)
	libz.so.1 => /usr/lib/libz.so.1 (0xb6bad000)
	libavcodec.so.57 => /usr/lib/libavcodec.so.57 (0xb699c000)
	libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0xb6980000)

And here is a list of dependencies. Check which ones you are missing and install them.

opkg info minidlna

Package: minidlna
Version: 2019-12-09-0763719f-6
Depends: libc, libpthread, libexif, libjpeg, libsqlite3-0, libffmpeg, libid3tag, libflac, libvorbis, libuuid1
Status: unknown ok not-installed
Section: multimedia
Architecture: arm_cortex-a15_neon-vfpv4
Size: 127653
Filename: minidlna_2019-12-09-0763719f-6_arm_cortex-a15_neon-vfpv4.ipk
Description: MiniDLNA (aka ReadyDLNA) is server software with the aim of
 being fully compliant with DLNA/UPnP-AV clients.

I reinstalled, then ran ldd /usr/sbin/minidlnad

root@SorroWRT:/etc/config# ldd /usr/sbin/minidlnad
        /lib/ld-musl-armhf.so.1 (0xb6f4f000)
        libjpeg.so.9 => /usr/lib/libjpeg.so.9 (0xb6f13000)
        libid3tag.so.0 => /usr/lib/libid3tag.so.0 (0xb6ef0000)
        libsqlite3.so.0 => /usr/lib/libsqlite3.so.0 (0xb6e18000)
        libavformat.so.57 => /usr/lib/libavformat.so.57 (0xb6db1000)
        libavutil.so.55 => /usr/lib/libavutil.so.55 (0xb6d56000)
        libexif.so.12 => /usr/lib/libexif.so.12 (0xb6d17000)
        libFLAC.so.8 => /usr/lib/libFLAC.so.8 (0xb6ce2000)
        libvorbis.so.0 => /usr/lib/libvorbis.so.0 (0xb6cae000)
        libogg.so.0 => /usr/lib/libogg.so.0 (0xb6c99000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xb6c7e000)
        libc.so => /lib/ld-musl-armhf.so.1 (0xb6f4f000)
        libz.so.1 => /usr/lib/libz.so.1 (0xb6c5c000)
        libavcodec.so.57 => /usr/lib/libavcodec.so.57 (0xb6a6f000)
        libbz2.so.1.0 => /usr/lib/libbz2.so.1.0 (0xb6a53000)

System log is not showing the error listed in the first post, but service is still not running. Let me check every dependence and I'll let you know.

Checked every single dependence, all installed... :frowning:

Good. Check /etc/config/minidlna that it is enabled.

1 Like

Something happened... i did :

/etc/init.d/minidlna restart

It seems to be working now... weird...

Thanks a lot for your help!

It does not start on its own.

I tried the same yesterday but didn't work... the only thing that I did different today was checking Overwrite files from other package(s) at installation...

Also rebooted the router and service is running at start up on it's own :slight_smile:

MiniDLNA IS working though luci displays the msg "miniDLNA is not working". Just try e.g.VLC on your client devices.

在 2020 年 6 月 22 日 (週一)14:24,Andres Romero via OpenWrt Forum <mail@forum.openwrt.org> 寫道:

it wasn't working, the website at 192.168.1.1:8200 wasn't responding and I couldn't see the server from any device... :frowning: but is resolved now

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.