Need to see if your shared folder is taking up space on your dropbox 👨💻? Find out how to check here.
Forum Discussion
joekur
4 years agoHelpful | Level 6
Dropbox not uploading/syncing new files after fresh install of Linux Mint 20.1
Hi All,
I recently upgraded my Linux Mint 19 desktop with a fresh install of Linux Mint 20.1. Dropbox worked brilliantly on Mint 19. After the Mint upgrade and installing Dropbox via the Software M...
- 4 years ago
Hi Walter , Здравко , Jay , Hannah ,
For the sake of completeness I just wanted to post a note here that this issue is resolved and what the problem was.
After some initial troubleshooting and repeating another remove and reinstall without resolution, tech support had me enter the following commands:
sudo chown "$USER" "$HOME"
sudo chown -R "$USER" "/home/joe/Dropbox" ~/.dropbox
sudo chattr -R -i "/home/joe/Dropbox"
sudo chmod -R u+rw "/home/joe/Dropbox" ~/.dropboxI saw after entering the *chattr* command that I received pages of errors regarding a Timeshift backup folder I'd previously copied into Dropbox (thinking if I ran into problems later in my upgrading and had to do a fresh reinstall of the OS, I could copy the folder back to its original path to restore from). In hindsight a bad idea, but I didn't give it a thought when the Dropbox issue cropped up later.
So once I removed the Timeshift folder from Dropbox, I re-ran the above commands without any errors, and Dropbox subsequently synced properly.
(I guess there is still an open question about the python script, as I tried to run the testdropbox script file again and still got the error, but since that's not causing me current problems, I'll let it slide for now.)
Thank you all again,
Joe
joekur
4 years agoHelpful | Level 6
Happy to have you jump in, Hannah. I don't know if you'll be able to zoom in on this screenshot enough to be helpful, but I'll try to answer your questions. Dropbox has been stuck on the same number of files in its folder (702,013 and 502 hidden totaling 109.3 GB) all day, not syncing a new folder and file I created on my other desktop last night, nor has it ever uploaded to the server a few new files and folders I created on this computer yesterday. When I hover over the icon it only says "Dropbox", but I captured the popup menu (that shows up with a right or left click) in the screenshot, which shows it supposedly "syncing..." with the spinning arrows on the icon. The Dropbox version according to the preferences window is v146.4.4836. Hope this is helpful.
Thanks again!
Joe
joekur
4 years agoHelpful | Level 6
I just noticed that the Software Manager shows a different version # than the one I noted from Preferences. Note this is the version from the repository, and the source of the package currently installed is downloaded from the Dropbox website, but the Manager is indicating this is the installed version (2020.03.04). Thanks.
- Jay4 years ago
Dropbox Community Moderator
Thanks for the update, I'd recommend getting in contact with the support team directly for further assistance.
Once you get a ticket ID from the automated response, please let me know the number here so I can locate it in our system.- Здравко4 years agoLegendary | Level 20
Hi joekur,
Sometimes it's difficult to find out what's exactly the source of troubles. In such situations additional diagnostic information can show some directions you might missed yet. I'm putting here one script targeting such diagnostic information:
#!/usr/bin/python3 import os, sys, json; from importlib.machinery import SourceFileLoader dropbox = SourceFileLoader("dropbox", "/usr/bin/dropbox").load_module() ignore = [".dropbox", ".dropbox.cache"] success = ["up to date", "infinite"] with open(os.path.expanduser("~/.dropbox/info.json")) as js: dbpath = json.load(js).get('personal').get('path') if not os.path.exists(dbpath): print(f"Dropbox folder doesn't exist: {dbpath}"); sys.exit(2) def listIssues(path): def getStatus(path): try: st = dc.icon_overlay_file_status(path=path).get('status', ['unknown'])[0] if st not in success: return path, st except dropbox.DropboxCommand.CommandError as e: return path, e def listDir(path, ignore = []): for e in os.listdir(path): if e not in ignore: e = path + os.sep + e s = getStatus(e); if s is not None: yield s if os.path.isdir(e): for s in listDir(e): yield s try: with dropbox.closing(dropbox.DropboxCommand()) as dc: s = getStatus(path); if s is not None: yield s for s in listDir(path, ignore): yield s except dropbox.DropboxCommand.CouldntConnectError: print("Dropbox isn't running!"); sys.exit(3) issues = [*listIssues(dbpath)]; print("Versions:"); dropbox.version([]) print("Status:"); dropbox.status([]) if len(issues) != 0: indent = max(len(st)+1 for _, st in issues); id = os.popen("id", 'r').read().strip(); print(f"Your id: {id}") print("Issues found:"); for path, st in issues: print("%-*s %s" % (indent, st+':', os.popen(f"ls -ld \"{path}\"", 'r').read().strip())) sys.exit(1) print("No any issues found!");You can copy content above and paste in a file with name like a "testdropbox" (for example) using simple text editor of your choice in your home folder. It's a simple Python script. To do some work this script has to be made executable. This can be achieved using following command:
chmod a+x testdropbox
Now you can run it and receive in terminal different diagnostic information including all files not in sync yet with some additional information. You can run it using following command:
~/testdropbox
While take a closer look on received information you can try find some predispositions able to be source for the issues like owner (mis)matching, permissions, etc. 😉 This same information can be useful to the staff supporting you too.
Good luck.
About Apps and Installations
Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.
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!