NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
chokobanana
Jul 31, 2013Guide
ReadyDLNA does not find all files (dirs, files missing)
Hi,
I just recently purchased a RN102 (6.0.8 ) and loaded all my media files onto it. It's been on for a few days now so any DLNA indexing services should have had more than enough time to finish.. however, a lot of folders are missing - completely randomly. And some folders contain only half the files - other files appear in wrong places. Why??
I was using a Buffalo WVL before (actually, I still am until I get this sorted out) with Twonky and it worked beautifully. Twonky detected all my files and the directory structure was very good. (it was the same as my directory structure)
With ReadyDLNA as it's now, it's completely unusable. The folder structure isn't even correct! As an example: I have 20 .mpeg files in one directory but this directory is not showing up - instead one of the .mpeg files shows up in the root (in "folder" view on TV). :? How is this even possible? If ReadyDLNA has found the directory and the files in it, why not just show the whole directory? Why would it skip 19 files and "move" the last one to root?
Photos from my last holiday won't even show up. I used 2 cameras, a sony compact and a nikon dlsr. So I have 2 directories called "Sony" and "Nikon". Both contain .jpg's For some reason only Sony shows up :? :? Twonky displays both..
I must have missed something. Where's the re-indexing button? Or how do I install Twonky? (I'm using a SONY 46" EX500 if it matters)
I just recently purchased a RN102 (6.0.8 ) and loaded all my media files onto it. It's been on for a few days now so any DLNA indexing services should have had more than enough time to finish.. however, a lot of folders are missing - completely randomly. And some folders contain only half the files - other files appear in wrong places. Why??
I was using a Buffalo WVL before (actually, I still am until I get this sorted out) with Twonky and it worked beautifully. Twonky detected all my files and the directory structure was very good. (it was the same as my directory structure)
With ReadyDLNA as it's now, it's completely unusable. The folder structure isn't even correct! As an example: I have 20 .mpeg files in one directory but this directory is not showing up - instead one of the .mpeg files shows up in the root (in "folder" view on TV). :? How is this even possible? If ReadyDLNA has found the directory and the files in it, why not just show the whole directory? Why would it skip 19 files and "move" the last one to root?
Photos from my last holiday won't even show up. I used 2 cameras, a sony compact and a nikon dlsr. So I have 2 directories called "Sony" and "Nikon". Both contain .jpg's For some reason only Sony shows up :? :? Twonky displays both..
I must have missed something. Where's the re-indexing button? Or how do I install Twonky? (I'm using a SONY 46" EX500 if it matters)
You are responding a 2 year-old thread (and I suspect the bug being referred to has already been fixed).
There is no need to use SSH to force a rescan. Just use the rescan button in the web ui.
32 Replies
Replies have been turned off for this discussion
- de_niroGuidehave you re-scaned media share once again on ReadyDLNA service button? if the problem persists,contact support center to check DLNA database.
de niro wrote: have you re-scaned media share once again on ReadyDLNA service button? if the problem persists,contact support center to check DLNA database.
Yes, I have tried rebuilding the DB without success. I also tried restarting the device if something needed to be reset - and hit the rescan button once again.
This didn't help so next I installed Plex Media server and let it scan my photo library for 24h (it's extremely slow!) but Plex won't show up on my TV. In the settings DLNA is enabled. I have never used Plex before so I'm not sure whether Plex Server is limited to Plex Player but if Plex follows the DLNA standard it should work. (Plex Player detects Plex Server)
Has anyone successfully installed Twonky on OS 6.x?- carvalloAspirantI'm also suffering problems with ReadyDLNA, with a mismatch between what web interface shows on the server and what my streaming device 'sees' on the ReadyNAS.
I'm using a ReadyNAS102 and want to stream audio to a Naim Untiqute network player. At the moment this is all I'm using it for. I set up a simple folder structure in the Music folder (folders for each artist, with subfolders for albums) and used the ReadyNAS web interface to copy files from my iMac. Files have been ripped from CD as flac using XLD, or transcoded to .flac from existing .aiff, also using XLD. I've sorted problems with track numbering and some tag data using Bliss. I've deleted some tracks from the ReadyNAS and found that the streamer stills 'sees' them.
I then run a manual rescan to (I assumed) get the DLNA server to reindex the content. I find the information given onscreen about the rescanning process not very useful. The dialog box which indicates rescanning is in progress has an OK button. What for? The scan is in progress. Or is it? When does the scan finish? I've never seen a 'scan finished' message. Is there one? How long does a scan take? My ReadyNAS currently has less than 5Gb of content. Should it take minutes or hours?
Rescanning seems to change things, but not as expected. The streamer sees multiple entries for the same tracks, some of which I had deleted from the ReadyNAS before the rescan. Multiple entries are also created for tracks on albums which I have not altered in any way since copying to the NAS. This is not what I understood rescanning is meant to achieve. The multiple file entries can be seen by other streaming software (such as XBMC, running on my iMac).
@chokobanana This experience seems to be a little like the problems you are experiencing. Is there anyone out there who can help us? Netgear? Are you listening? - @carvallo - You seem to have the same problem as me. I was also confused about the manual scan button. It's hard to know whether the scan has finished - or even started at all. I activated SSH on my RN102 and executed the "top" command to see if any new scanning process started up. As far as I could tell, there was no activity from ReadyDLNA. At least not one that consumed CPU time. I also checked the log but there are no entries in there.
To me it seems ReadyDLNA scanned half my library and then the "scanner" died, leaving the DB in an incomplete state. Is there any way I can delete the DB and start over?
Twonky is also a solution to this. I'm not sure how to install it though. I opened a thread in their forum but I haven't received any replies yet - I really need to get the DLNA shares working so that I can start using my RN 102 as intended to.
I logged in via SSH and did this:
$ find -name *dlna*
/lib/systemd/system/minidlna.service
/data/.apps/.readydlna
the app data is located in "/data/.apps/.readydlna"
$ ls -l /data/.apps/.readydlna
drwxr-xr-x 1 root root 16 Jul 27 16:50 art_cache
-rw-r--r-- 1 root root 100937728 Aug 3 21:27 files.db
"files.db" is an SQLite DB with the file structure.
I did a copy of it and opened the DB with SQLite Database Browser. In the Object table I then did a search for a photo I know doesn't show up - there is no entry for that file - which means the file has not been indexed into the database. No wonder it doesn't show up.
"/lib/systemd/system/minidlna.service" tells us where the executable is:
[Service]
ExecStart=/usr/sbin/minidlnad -S
So I executed:
$ /usr/sbin/minidlnad -h
Usage:
/usr/sbin/minidlnad [-d] [-v] [-f config_file] [-p port]
[-s serial] [-m model_number]
[-t notify_interval] [-P pid_filename]
[-u uid_to_run_as]
[-w url] [-R] [-V] [-h]
Notes:
Notify interval is in seconds. Default is 895 seconds.
Default pid file is /var/run/minidlna/minidlna.pid.
With -d minidlna will run in debug mode (not daemonize).
-w sets the presentation url. Default is http address on port 80
-h displays this text
-R forces a full rescan
-L do note create playlists
-S changes behaviour for systemd
-V print the version number
Here it's possible to force a rescan. So next I did:
$ systemctl stop minidlna
$ /usr/sbin/minidlnad -S -R
The "-R" is for rebuilding the DB.
The deamon then output:
minidlna.c:972: warn: Starting ReadyDLNA version 1.1.0.
minidlna.c:353: warn: Creating new database at /apps/.readydlna/files.db
minidlna.c:1012: warn: HTTP listening on port 8200
scanner.c:766: warn: Scanning /memories/Music finished (x files)!
scanner.c:690: warn: Scanning /memories/Photos
scanner.c:766: warn: Scanning /memories/Photos finished (x files)!
scanner.c:690: warn: Scanning /memories/Videos
scanner.c:690: warn: Scanning /memories/Videos
scanner.c:766: warn: Scanning /memories/Videos finished (x files)!
playlist.c:125: warn: Parsing playlists…
playlist.c:256: warn: Finished parsing playlists.
This took about 30 min to complete (about 60.000 files)
The DB file increased in size:
drwxr-xr-x 1 root root 16 Aug 3 22:27 art_cache
-rw-r--r-- 1 root root 105984000 Aug 3 22:54 files.db
.. and all the files that I was missing now appeared! :D
There's still a bug in there though.. the auto/rescan function does NOT work as it should. And the manual button makes absolutely no sense. At least write in the log that something is happening.- hovisheadAspirant
Chokobanana, thank you for posting the below, sadly I am a SSH/linux/unix (I don't even know what OS it is!) newbie, so have tried to follow the instructions, but am stuck. I expect I am making a simple mistake and hope you can help!!!
I have a MS2110 Netgear NAS, and have managed to SSH in to root access, and I was able to search for the minidlna process, and also got similar from the help file (no "-S changes behaviour for systemd", but the rest was the same word for word), as below:
"Usage:
/usr/sbin/minidlna [-d] [-f config_file]
[-a listening_ip] [-p port]
[-s serial] [-m model_number]
[-t notify_interval] [-P pid_filename]
[-w url] [-R] [-V] [-h]
Notes:
Notify interval is in seconds. Default is 895 seconds.
Default pid file is /var/run/minidlna.pid.
With -d minidlna will run in debug mode (not daemonize).
-w sets the presentation url. Default is http address on port 80
-h displays this text
-R forces a full rescan
-V print the version number"I've tried to force a full rescan with the below command:
bash-3.2# /usr/sbin/minidlna -R
but all that happens is the help opens again. I notice you used $ systemctl stop minidlna to stop the process, but systemctl doesn't appear to be a command in my version. Instead I've tried rebooting the NAS figuring that would stop the process and I could try to start the full rescan command on a clean boot, but this also had the same effect of opening the help rather than rescanning.
I've tried:
/usr/sbin/minidlnad -R
/usr/sbin/minidlna -d -R
and other variations with no luck
Can you tell me what I am doing wrong please? What do I need to type into the terminal to force a rescan?
Many thanks!!!
- StephenBGuru - Experienced User
You are responding a 2 year-old thread (and I suspect the bug being referred to has already been fixed).
There is no need to use SSH to force a rescan. Just use the rescan button in the web ui.
- de_niroGuideThanks for the information,I've tested on my 104 and confirmed this issue,will inform the engineering to fix this issue.
- NiLeAspirantI have had the exact same problem with ReadyDLNA V1.1.0 since the update to RAIDiator 4.1.12 (sparc) on my ReadyNAS v1, only about half of my movie libraries was showing. No problem before the update. I have spend days trying to fix this with no success until now.
Using the method of chokobanana solved the problem :D , now I can see all of my movies. I really hope Netgear fixes this soon though, manually rebuilding the database is not a long term option.
Thanks a lot for the solution chokobanana! - myddlemanAspirantHI EVERYONE
I HAVE THE SAME ISSUES OF FILES NOT SHOWING UP ON MY DNLA NETWORK (READYNAS DUO V1) chokobanana SOLVED IS ISSUE USING A METHOD I AM NOT SURE
HOW HE AS DONE THIS. I HAVE ADDED THE SSH ADON TO MY NETGEAR THATS ABOUT AS FAR AS I HAVE GOT PLEASE COULD YOU TELL ME WHAT EXTRA SOFTWARE DO I NEED AND HOW I GO ABOUT EDITING READYNAS
I AM USING WIDOWS7 64 BIT VERS RAIDiator 4.1.12 [1.00a043]
Memory:READY DNLA VERv1.1.0-rc4 THANKS - StephenBGuru - Experienced UserNo need to SHOUT.
Chokobanana has an RN104 - completely different from your duo V1.
Are all of your files missing, or just some? - myddlemanAspirantshhhh i am so sorry for shouting .
all files show up on my pc .on the dnla side i want stream all music file to my onkyo receiver i have them in a music/music folders 1 to 16 only 4 show up
different ones show up on my rokubox and on my media bluray which to play all formats from a hard drive.the same films on the ready nas some are greyed out and small file eg 700mb is 17 mb
i would be grateful i you could help .
Related Content
NETGEAR Academy

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