NETGEAR is aware of a growing number of phone and online scams. To learn how to stay safe click here.
Forum Discussion
droz1
Dec 19, 2010Aspirant
ReadyDLNA stuck scanning files have debug installed
Hey everyone,
Have an odd problem that started up the other day.
My ReadyDLNA service is stuck scanning files, I've restarted it several time, even turned the service off for a whole day and turned it back on, same problem. Because it's stuck rescanning, I can only see about half of my video files on my PS3, it's the only device I use to stream. I saw a few posts that hints at certain types/kinds of files being the culprit. So I moved a few newer files off my NVX and I haven't seen change in anything. Access my video files via SMB/CIFS is fine.
I read on the forums a bit and installed the debug add-on. I poked around in the upnp-av.log file and didn't see anything obvious that stood out that would cause the problem.
Any help is appreciated
Thanks
Have an odd problem that started up the other day.
My ReadyDLNA service is stuck scanning files, I've restarted it several time, even turned the service off for a whole day and turned it back on, same problem. Because it's stuck rescanning, I can only see about half of my video files on my PS3, it's the only device I use to stream. I saw a few posts that hints at certain types/kinds of files being the culprit. So I moved a few newer files off my NVX and I haven't seen change in anything. Access my video files via SMB/CIFS is fine.
I read on the forums a bit and installed the debug add-on. I poked around in the upnp-av.log file and didn't see anything obvious that stood out that would cause the problem.
Any help is appreciated
Thanks
31 Replies
Replies have been turned off for this discussion
- dsteakAspiranti am running 4.1.7. this is what i get in my log when i restart the scan.
[2011/05/31 23:27:03] minidlna.c:846: warn: Starting ReadyDLNA version 1.0.19.3.
[2011/05/31 23:27:03] minidlna.c:876: warn: Database version mismatch; need to recreate...
[2011/05/31 23:27:03] minidlna.c:937: warn: HTTP listening on port 8200
[2011/05/31 23:27:03] scanner.c:719: warn: Scanning /c/media/Music
i ran minidlna manually in debug mode. i get a ton of output, some related to the directory i'm scanning (music files), and other stuff that seems to be coming from my tv's ip address? as far as the music files scanned, is everything returned a corrupt file? there are so many, hard to believe that all of these files are corrupt since this only started happening today. i've been converting these files since april, some of the ones i see are from weeks ago and i didn't have a problem rescanning until today. as far as the ip address belonging to my tv, i have no idea what that means. - sdouekGuide
droz wrote: You will also need an SSH client
Putty is a good free client to use for SSH
I recommended that in my post - sdouekGuidedsteak,
has the scans stopped or get stuck and on what file did it stop on, that may be the problem. - dsteakAspirantwhat i'm not understanding about the minidlna log is, it looks like it's going after all of my networked devices. is there a way to just run a manual scan on my music share on the readynas?
the other odd thing is, it does seem to be stopping on some files, but those files are old. i added those weeks ago and i've run successful scans since. yesterday was the first day i saw this issue after adding about 100 music files, which i've removed. - sdouekGuideIn frontview>streaming services you can break out the type of content you want readydlna to scan for, i.e.
share: media
folder: "your music folder"
content types: Music
I would recommend just putting your music up and testing and if that goes through; then video and rescan; and then pictures and rescan.
or you can edit the etc/minidlna.conf file which is a little more complicated and if you are not familiar with it don't bother and use the above method.
What you are looking for is when it stops and doesn't continue on scanning or better yet when it terminates the scan abruptly. - dsteakAspiranti was referring to when i run manually (in putty), but you answered my question (change the config). when i was having the issue the scan looked like it kept going, but was stopped. it just doesn't end or terminate. found some files it stopped on, which were created a while ago, not yesterday, so that's confusing. but i recreated them and scanned them in fine.
thanks for your help. i still don't understand everything that happened or is happening, but it seems to working for now. - sdouekGuideThe files might have gotten corrupt.
Have you been experiencing any re-allocated sector smart errors or even though the nas file system is enhanced not to fragment overtime your nas does becomes so fragmented from constant writes, re-writes etc. that you have to defrag the nas. I don't think the sparc base systems have that capability via frontview but I remember someone posting about it here on the forum on how to do it from the command line via ssh. I think it went something like this:
tune2fs -O dir_index /dev/c/c
umount /dev/c/c
fsck -Df /dev/c/c
*** if fsck command gives you warning mount /dev/c/c then umount it then try fsck ***
Do a search for how to defrag your nas drive, that may help you. I highly recommend before you start doing this to make a full backup of your nas and verify the backup. - klockaresonAspirant
sdouek wrote: I highly recommend that if you are not familiar with using ssh stay away from it and try to install the new addon I posted above if that still does not work then try ssh.
ssh will not show up as a addon in the addon pages.
To ssh into you box you need a ssh program most use putty. Google putty it is easy to download.
After you install it and run it fill out the appropriate information:
Host name: loacl ip address of nas ( you can use the external ip but that involves setting up your router to port forward and if you are not managing a farm of nas or clients the local will do, it also opens up a host of security issues.
port: 22
connection type: ssh
Your user id will be: root
Your password will be: what ever your admin password is at the current time you installed ssh.
Good luck be careful on what you type, it is also case sensitive too.
I've had this problem for quite some time now and it seems as if there's no easy solution to it. I downloaded the latest update of ReadyDLNA, hoping that this would be the solution, but hell no. That didn't do it.
I've checked various threads on this forum, all describing the same issue, yet there doesn't seem to be a 100% fix to the problem. At least no until I came across this thread where it is explained in a very detailed way. This could be the solution for the problem, but it is worrying to see that if you aren't fully aware of what you're doing, the end result might cause you even bigger problems...
How is it that the update for the ReadyNAS product cause this problem (it started for me after the latest RAID update), and the enduser is left to try to solve it with tools that most users aren't comfortable with or even capable of using? Shouldn't the solution be handled and solved by Netgear?
It's utterly bad to see the amount of posts on this issue and yet when you turn to Hardware support, they really can't help you solve the matter.
Question for me is if I should take the risk of trying to solve it using the SSH client, which I have no idea what it is, or if I should just leave it and not use the NAS for the reason I bought it - to stream video... - loka320AspirantSo I've had this problem for weeks now.
Inside of FrontView, the ReadyDLNA service shows that a scan is in progress and doesn't seem to finish.
I figure if I waited, it would finish eventually, but a few weeks is too long... isn't it?
So I bumped down ReadyDLNA to 1.0.21 (from 1.0.22) with the debug add-on so that I can download the log files.
I'm looking at the upnp-av.log file, to try to find the file that is stopping the scan, but I don't know what to look for.
It seems that people say that they found a particular file that was the culprit, but there aren't any specific details as to what error messages were or what kind of file was making the scan get stuck.
Does anyone out there know of what error message/codes I should be looking for when looking at the log file?
Thanks in advance for your help.
ReadyNAS Pro Pioneer Edition
RAIDiator 4.2.19 - guyworthyAspirantIt make /var/log/upnp-av.log verbose. You'll need ssh to get at it though.
dsteak wrote: i installed the debug. does it create a log file?
Related Content
NETGEAR Academy
Boost your skills with the Netgear Academy - Get trained, certified and stay ahead with the latest Netgear technology!
Join Us!