Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
joshbreindel
12 months agoNew member | Level 1
There's a .canary file causing syncing issues on my Dropbox app.
Hey all! My local backup software failed out yesterday - it reported that there was a file in use in Dropbox. I poked around and found that ".canary" in my Dropbox cache was marked with the syncing icon (round blue arrows). There was also a file "canary.enabled", but that one seemed to be static.
When I delete the ".canary" file, it simply reappears. This file doesn't show up on my online account (natch).
I can see it on my two linked computers, my desktop (Win 11) and laptop (Win 10). Both are running app version 214.3.5104. I have a basic (free) account.
Anyone know what's going on with this canary file? Why can't I delete it? Where did it come from? I'd like to clear it so my local backup will run, but I'm also concerned that this might indicate a security issue, as I have no idea where this file came from.
Thanks for anything you can offer!
Johnxi wrote:
This problem, the canary file and folder can't be backed up because they're not accessible ... Has anyone come up with a simple effective solution to this problem.
You should be excluding the .dropbox.cache folder from your backups. There's no reason to back up this folder. It's a cache folder and contains no data that would be useful in the event of a restore.
45 Replies
Replies have been turned off for this discussion
- DerryK8 months agoExplorer | Level 3
Yes, I think I have set up the backup to ignore that folder. I will tell you in the morning if it solved the problem.
- DerryK8 months agoExplorer | Level 3
My backup did not ignore the cache folder. I'll change the configuration and try again tonight.
- DerryK8 months agoExplorer | Level 3
Success -- the Dropbox cache folder was skipped, and no warning was generated. Thanks for the help.
- EricPleaseHelp8 months agoExplorer | Level 4
I have the same question/problem, the same .canary file in the same folder structure but under my username, whereas none of the other dropbox users under my account (i manage the account) have this in theirs, and none of them have the problem i have which is a red x over dropbox in file explorer, with "Syncing" that keeps growing every time a file is changed as if it's still stuck on some file that hasn't synced correctly. And yet under "sync issues" none are listed. I've had open tickets with DB and i've gotten useless advice to reinstall the app but the problem persists.
running version 222.4.5042
- Megan8 months ago
Dropbox Community Moderator
Hey EricPleaseHelp, sorry to hear about that syncing issue of yours.
You mentioned that you've already contacted our Support team about this. Would you mind sharing your ticket number with me, in order to locate on our system?
I'd like to check the steps provided, and the progress you made there. Did you also perform the advanced reinstall on your end? If so, did you notice the same behavior after it?
Thanks!
- EricPleaseHelp8 months agoExplorer | Level 4
The ticket is/was 24878673 which was closed by dropbox but without the problem resolved. I forced it to be reopen then it was closed again by dropbox without the problem being resolved.
Yes i did (and redid, and redid) an advanced reinstall to wipe every trace of the computer. And with my added manual step to delete completely the .dropbox.cache folder under the root dropbox folder on my local drive since this is where the problematic .canary file appears.
Then after that, reinstalling dropbox, and waiting for all files to resync this is what i get after that clean reinstall:
The sync icon on the taskbar notification area still says it is "Downloading 1 file..." with "Syncing 1 file" appearing when i click on it.. And in windows11 file explorer there's a red X next to the dropbox icon next to the root folder which is synced.
In win11 fine explorer, every folder on my local computer beneath the dropbox root folder has a green check mark next to it, as expected. But the hidden folder ".dropbox.cache" (which was re-created after installing) has its status to be the icon of a grey circle with - inside, and opening up that folder shows a file .canary with the circular arrows on its status showing that it is still syncing. It is a 1kb file.
This is the same as happened all other prior times when i logged the problem. If i make a change to a file, it syncs correctly, but dropbox still returns to that 1 hung file.
Whatever .canary is, it is tripping up the dropbox app to be telling me it hasn't finished syncing - dropbox still tells me it is waiting to download 1 file. when i click "view sync issues" there is nothing being reported" but the icon and app say it is syncing 1.
In theory if the dropbox app were to ignore that .canary file (as it does the desktop.ini hidden files within each windows folder) then presumably everything will work correctly as expected: the app won't say it's waiting on that to be synced, and there won't be a red X next dropbox reminding me every time i'm looking at explorer
i am running win11 pro. the dropbox folder is on a physical drive on my lenovo thinkpad - not a network drive. this problem seems to have started about the time of a dropbox app update when it started showing "status" columns so going back to about february or so. i do not have any additional backup system scanning this drive or folder.
Screenshots below:
- Nancy8 months ago
Dropbox Community Moderator
Hey EricPleaseHelp! To clarify, have you tried to ignore the .canary file on your desktop app and Dropbox is still stuck trying to sync it?
- EricPleaseHelp8 months agoExplorer | Level 4
Just tried that but does not solve the problem.
I ran powershell as admin with this:
Set-Content -Path "xxxx\.dropbox.cache\.canary" -Stream com.dropbox.ignored -Value 1
(xxxx replacing the actual path)
This powershell commad ran without an error, or any verbose response.
The .canary file shows it was updated (new date modified) but the status of that file is still blue arrows, so not being ignored by dropbox. Not greyed out as dropbox says it will be after being ignored. i ran the powershell command while dropbox was running, presumably i needed to do that?
Since wiping-reinstalling dropbox it's now back to the problem before where every file modified by the team shows up as yet another item to sync, even though it does sync.
Screenshot below showing how every folder reported as fully synced yet dropbox still reporting problems within that .dropbox.cache folder claiming it's downloading a file and uploading 8 even though i would expect 0 files needing to be down/up/loaded
a look inside the cache folder:
Since the whole hidden .cache directory was created by dropbox, logically it seems the dropbox app needs to inherently ignore any .canary file within that directory it creates, since those are dropbox-system files and not user files. I assume dropbox put the .canary file there, or if not i have no idea how it got there and reappeared after a clean install of dropbox without that hidden folder to begin with.
- Walter8 months ago
Dropbox Community Moderator
Hey EricPleaseHelp - thanks for your updates on this and all the additional information you provided so far.
The canary file you notice is probably created by the Dropbox application to run on your computer, but the cache folder should be hidden anyhow. You can think of it as the staging level of syncing which is the Dropbox desktop app's core feature.
That said, can you try fixing your hardlinks and permissions as outlined here and let me know if syncing gets stuck again?
I'd also make sure to run the most updated version of the app which you can find here if needed.
Keep me posted!
- Johnxi6 months agoExplorer | Level 4
This problem, the canary file and folder can't be backed up because they're not accessible and can't be deleted, appeared on my W11 system about a week ago running the free backup app, Syncback. Has anyone come up with a simple effective solution to this problem.
About Create, upload, and share
Find help to solve issues with creating, uploading, and sharing files and folders in Dropbox. Get support and advice from the Dropbox Community.
The Dropbox Community team is active from Monday to Friday. We try to respond to you as soon as we can, usually within 2 hours.
If 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, Facebook or Instagram.
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!