We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
XionicFire
3 years agoCollaborator | Level 9
How to fix being stuck on Indexing forever loop of death on multi million file DBs after db crash
Ok so I've used Dropbox for almost as long as its existed and recently due to frustration with the never finishing indexing bug I was forced to find out why this kept happening so I could prevent it....
ArcticAnna
Explorer | Level 3
Thank you!
I KEEP on having this problem.
Apple wiped my mac in a fix so I started added folders one by one (4.3TB of mostly small files)
As you can imagine, this took me weeks
And then it just stalled.
I kept thinking since it was just 3.8GB trying to change that it would sort itself out and as I waited and watched, of course I kept fixin things as I went
But no go.
DB support---zero support...other than to unlink..which I clearly didn't want to do to go back to ground zero.
But that is now where I find myself. I didn't read this in time, unlinked, relinked, tried to link just a few folders to start off with...and we are just indexing. Oh boy. I am also thinking about looking elsewhere but I hate google and a few years ago, at least, Microsoft had issues syncing between mac and pc...
XionicFire
7 months agoCollaborator | Level 9
Well it happened again... out of nowhere with no major changes, syncing forever with no reason why, just never finishing I tried my usual tricks and nothing
Using resmon to see if any files where open by some app that were holding up the sync?
Nope
Using resmon to check for disk activity to see what files were being written or read that could be causing the problem?
Nope
Checking the folders to see what folder had the "sync" blue icon and figured one huge file was syncing?
Nope
Suspend and wait for re-indexing to do a re-index and find out if that fixes it?
Nope
I was running out of ideas and I came across this post:
And I figured could it be that easy?
so I went to the Dropbox\.dropbox.cache\old_files\ folder and sure enough a 15 gig file was there, I deleted it and like magic the problem plaguing me for more than a week fixed itself.
So if you tried my previous solutions and the sync issue still persists try this one
For those that care:
The reason this happens is every time you right click and select a file or folder to convert to "online-only" dropbox doesn't just automatically delete it, it moves it to a temporary location for further processing.
Basically what dropbox does when you do this is it moves the file immediately to Dropbox\.dropbox.cache\old_files\ under a random generic number and puts an online only link where the file was before as a placeholder, then once it does this it starts hashing out the file, meaning it reads it all completely, then creates a hash of it, then compares it to the hash on the server, if the hashes match, then it deletes it for real, if it doesn't match, it uploads the file and then deletes it, this ensures the online only'ed file is always the most up to date version.
This has two benefits:
The first, as described above if the file were to be different it would correct the situation by uploading it.
Second, if you accidentally hit online only, on these files, you have until dropbox does this process to "undo" your mistake without having to redownload the files again, so its kinda useful.
I'm guessing what happened is something borked up on the dropbox hashing routine, making it never be able to hash the file, since it never hashed it couldn't be deleted, since it was not deleted the sync icon just stayed there forever.
Deleting the file causes dropbox to "error" out saying "file not found" and skipping the hashing procedure, just assuming the last file he has on the server is the newest one, and leaving it at that.
This causes the sync to finally finish
So now you know, if it happens to you, try this, it might fix it.
- Graham7 months agoCommunity Manager
Hi XionicFire,
First of all, I just wanted to say that I can really feel your frustration with this issue happening to you again, hopefully this will be the last time!
Thank you so much for letting us know this fix worked for you, I can see you've gone to great effort with troubleshooting and I'm delighted you eventually landed on a Community thread that was able to solve your problem. Hopefully, if any one else is effected in a similar way to you, this will help them too.
Thanks again, and have a great day!
Graham
About Dropbox tips & tricks
Learn how to get the most out of Dropbox with other users like you.
390 PostsLatest Activity: 2 days agoIf you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.
For more info on available support options for your Dropbox plan, see this article.
If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!