UMS seems to get stuck on last folder when building cache
Forum rules
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
Please make sure you follow the Problem Reporting Guidelines before posting if you want a reply
-
- Posts: 30
- Joined: Wed Mar 05, 2014 5:16 am
UMS seems to get stuck on last folder when building cache
Doesn't seem to mention in the logs, it just remains on "scanning LASTFOLDER" indefinitely, and when UMS is closed and reopened "enable the cache" is no longer selected. Latest version of UMS on W7_64, has defo worked in the past!
Any ideas?
Any ideas?
Re: UMS seems to get stuck on last folder when building cache
Follow the red text above.
-
- Posts: 30
- Joined: Wed Mar 05, 2014 5:16 am
Re: UMS seems to get stuck on last folder when building cache
Attached.
- Attachments
-
- ums_dbg.zip
- (1.34 MiB) Downloaded 424 times
Re: UMS seems to get stuck on last folder when building cache
I've looked at it and been unable to replicate your results. The debug files doesn't give me enough information to be sure what is going wrong, although I can see that something is going wrong at the end.
I've built a modified version of UMS with extra logging around the place where it crashed to try to pin exactly what is going wrong. You can download it here. Please install this version, create new debug files while scanning and post them here.
I've built a modified version of UMS with extra logging around the place where it crashed to try to pin exactly what is going wrong. You can download it here. Please install this version, create new debug files while scanning and post them here.
-
- Posts: 30
- Joined: Wed Mar 05, 2014 5:16 am
Re: UMS seems to get stuck on last folder when building cache
Thanks, installed and rerun.
- Attachments
-
- ums_dbg.zip
- (1.33 MiB) Downloaded 417 times
Re: UMS seems to get stuck on last folder when building cache
Your cache is corrupt and disables itself during scan. Not a very good solution, but there is a log entry for it which I missed:
I don't know which recovery tool the error mentions, the easy solution is to just delete the cache file. The cache file is:
UMS profile folder is by default and in your case located here:
I'll see if I can find any way to make this a bit more clear if it happens, I didn't even spot it myself 
Code: Select all
DEBUG 2016-01-28 08:11:45.740 [AWT-EventQueue-0] net.pms.dlna.DLNAMediaDatabase Cache connection error: File corrupted while reading record: null. Possible solution: use the recovery tool [90030-191]
Code: Select all
<UMS profile folder>/database/medias.mv.db
Code: Select all
C:\ProgramData\UMS\

-
- Posts: 30
- Joined: Wed Mar 05, 2014 5:16 am
Re: UMS seems to get stuck on last folder when building cache
Many thanks that seems to have worked.