NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.

Forum Discussion

matibaer's avatar
matibaer
Aspirant
Feb 04, 2013

How to delete or rebuild DLNA Database?

I have a very big problem with the ReadyNAS Pro2 and its DLNA-Service.
Over mounths (and with the old ReadyNAS Duo over years) I´ve had never experienced a problem with that.
But yesterday I transcoded a video with the output directly to the NAS, not first to the local drive and then copy...

After that the whole NAS was not findable.
OK, click on rescan: Music and pictures are found and can be selected by the DLNA-Devices.
BUT no one video is shown.

NAS restart, Check disk, turn DLNA off/on, remove Video from DLNA-Service and put back as new... - nothing had helped me.

The thing is clear for me, the DLNA Database is corrupt and on the webadmin-surface you can only make a rescan, but it stay the same corrupt database lay under.

It should give a possibility to delete, rebuild or renew the database, but the only thing you can do there is a rescan over the existing data.

In the net in some forums is shown an AddOn for DB-deletion.
But the links are no longer usable - file not found.

What can I do?


The Logs are telling somthing new:
[2013/02/03 23:32:09] scanner.c:802: warn: Scan von /c/media/Pictures abgeschlossen (6119 files)!
[2013/02/03 23:32:09] scanner.c:731: warn: /c/media/Videos wird gescannt ...
[2013/02/03 23:43:54] upnphttp.c:1072: warn: //ContentDir.xml not found, responding ERROR 404
[2013/02/03 23:58:54] upnphttp.c:1072: warn: //ContentDir.xml not found, responding ERROR 404
[2013/02/04 02:58:54] upnphttp.c:1072: warn: //ContentDir.xml not found, responding ERROR 404
[2013/02/04 05:58:54] upnphttp.c:1072: warn: //ContentDir.xml not found, responding ERROR 404
[2013/02/04 06:00:14] minidlna.c:153: warn: received signal 15, good-bye

[2013/02/04 16:00:44] minidlna.c:881: warn: Starting ReadyDLNA version 1.0.25.
[2013/02/04 16:00:44] minidlna.c:907: warn: Creating new database...
[2013/02/04 16:00:44] minidlna.c:990: warn: HTTP listening on port 8200
[2013/02/04 16:00:44] scanner.c:731: warn: /c/media/Music wird gescannt ...
[2013/02/04 16:00:44] upnphttp.c:1072: warn: //ContentDir.xml not found, responding ERROR 404

[2013/02/04 16:02:41] scanner.c:802: warn: Scan von /c/media/Music abgeschlossen (2512 files)!
[2013/02/04 16:02:41] scanner.c:731: warn: /c/media/Pictures wird gescannt ...
[2013/02/04 16:03:50] scanner.c:802: warn: Scan von /c/media/Pictures abgeschlossen (6119 files)!
[2013/02/04 16:03:50] scanner.c:731: warn: /c/media/Videos wird gescannt ...
[2013/02/04 16:15:44] upnphttp.c:1072: warn: //ContentDir.xml not found, responding ERROR 404
[2013/02/04 16:30:44] upnphttp.c:1072: warn: //ContentDir.xml not found, responding ERROR 404
[2013/02/04 16:45:44] upnphttp.c:1072: warn: //ContentDir.xml not found, responding ERROR 404
[2013/02/04 16:48:15] minidlna.c:153: warn: received signal 15, good-bye
[2013/02/04 16:48:15] minidlna.c:881: warn: Starting ReadyDLNA version 1.0.25.
[2013/02/04 16:48:15] minidlna.c:907: warn: Creating new database...
[2013/02/04 16:48:15] minidlna.c:990: warn: HTTP listening on port 8200
[2013/02/04 16:48:15] scanner.c:731: warn: /c/media/Music wird gescannt ...
[2013/02/04 16:48:16] upnphttp.c:1072: warn: //ContentDir.xml not found, responding ERROR 404
[2013/02/04 16:48:27] minidlna.c:153: warn: received signal 15, good-bye
[2013/02/04 16:48:35] minidlna.c:881: warn: Starting ReadyDLNA version 1.0.25.
[2013/02/04 16:48:35] minidlna.c:907: warn: Creating new database...
[2013/02/04 16:48:35] minidlna.c:990: warn: HTTP listening on port 8200
[2013/02/04 16:48:35] scanner.c:731: warn: /c/media/Music wird gescannt ...
[2013/02/04 16:48:35] upnphttp.c:1072: warn: //ContentDir.xml not found, responding ERROR 404
[2013/02/04 16:49:12] minidlna.c:153: warn: received signal 15, good-bye
[2013/02/04 16:53:39] minidlna.c:881: warn: Starting ReadyDLNA version 1.0.25.
[2013/02/04 16:53:39] minidlna.c:907: warn: Creating new database...
[2013/02/04 16:53:39] minidlna.c:990: warn: HTTP listening on port 8200
[2013/02/04 16:53:39] scanner.c:731: warn: /c/media/Music wird gescannt ...

After further Tests with no success... once again, reboot NAS (Restart// Rescan DLNA)...
The only and last thing I see, around "Video" in the log:

[2013/02/04 19:45:48] minidlna.c:881: warn: Starting ReadyDLNA version 1.0.25.
[2013/02/04 19:45:48] minidlna.c:907: warn: Creating new database...
[2013/02/04 19:45:49] minidlna.c:972: info: Enabled interface 192.168.185.27/255.255.255.0
[2013/02/04 19:45:49] minidlna.c:990: warn: HTTP listening on port 8200
[2013/02/04 19:45:49] minissdp.c:351: debug: Sending SSDP notifies
[2013/02/04 19:45:49] scanner.c:731: warn: /c/media/Music wird gescannt ...
[2013/02/04 19:45:49] scanner.c:731: info: /c/media/Music/AlteAufzeichnungen wird gescannt ...
...
[2013/02/04 19:48:55] scanner.c:802: warn: Scan von /c/media/Pictures abgeschlossen (6119 files)!
[2013/02/04 19:48:55] scanner.c:731: warn: /c/media/Videos wird gescannt ...
[2013/02/04 19:48:55] scanner.c:731: info: /c/media/Videos/3D wird gescannt ...
[2013/02/04 19:48:55] metadata.c:883: debug: Container: 'mpegts' [Ali3D.ts]
[2013/02/04 19:50:49] minidlna.c:1200: debug: HTTP connection from 192.168.185.38:59275
[2013/02/04 19:50:49] upnphttp.c:160: debug: Client found in cache. [type 100/entry 1]
[2013/02/04 19:50:49] upnphttp.c:948: debug: HTTP REQUEST: SUBSCRIBE /evt/ContentDir HTTP/1.1
HOST: 192.168.185.27:8200
SID: uuid:17fe1a71-6efb-11e2-968a-e091f58afbf6
TIMEOUT: Second-300
Connection: close

[2013/02/04 21:58:24] upnphttp.c:1072: warn: //ContentDir.xml not found, responding ERROR 404
[2013/02/04 22:13:24] upnphttp.c:1072: warn: //ContentDir.xml not found, responding ERROR 404
[2013/02/04 22:28:24] upnphttp.c:1072: warn: //ContentDir.xml not found, responding ERROR 404
[2013/02/04 22:30:44] upnpsoap.c:1691: warn: SoapMethod: Unknown: X_GetSemanticQueryCapabilities
[2013/02/04 22:30:44] upnpsoap.c:1739: warn: Returning UPnPError 401: Invalid Action
[2013/02/04 22:30:44] upnpsoap.c:1691: warn: SoapMethod: Unknown: X_GetSemanticList
[2013/02/04 22:30:44] upnpsoap.c:1739: warn: Returning UPnPError 401: Invalid Action
[2013/02/04 22:31:14] upnpsoap.c:1739: warn: Returning UPnPError 701: No such object error
[2013/02/04 22:31:23] upnpsoap.c:1691: warn: SoapMethod: Unknown: X_GetSemanticQueryCapabilities
[2013/02/04 22:31:23] upnpsoap.c:1739: warn: Returning UPnPError 401: Invalid Action
[2013/02/04 22:31:23] upnpsoap.c:1691: warn: SoapMethod: Unknown: X_GetSemanticList
[2013/02/04 22:31:23] upnpsoap.c:1739: warn: Returning UPnPError 401: Invalid Action


So, it´s not the database itself, so the topic is not really fitting at now.

It seems to be a problem between the ReadyNAS Ultra2 / Pro2 and the firmware .22
The DLNA-Scan steps on the spot, when a folder must be scanned with TS oder M2TS files inside.

This morning I renamed the folders with such files inside to Y_Name and Z_Name, so that all other folders without these files will be scanned before and now I have at least the most other videos.

The Netgear support is now involved.

2 Replies

Replies have been turned off for this discussion
  • Thanks to the 3rd level support:
    I´ve got a new DLNA Version "1.1.0 rc4" to try out from them.

    I could install it as an addon over the existing firmware-internal 1.0.25 and now the scan ends with success.
    The folders are shown in the DLNA-playback-devices and can be played.

    The only sad thing is, why such a faulty version was delivered with the latest nas-firmware .22,
    so that I was shocked where are my videos left and many many hours had to be wasted for finding reasons, solutions etc.

NETGEAR Academy

Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology! 

Join Us!

ProSupport for Business

Comprehensive support plans for maximum network uptime and business peace of mind.

 

Learn More