Cut the Clutter: Test Ignore Files Feature - sign up to become a beta tester here.
Forum Discussion
notredruide
2 years agoHelpful | Level 5
DropBox Locks Up System While Syncing (Linux)
For the last several days, every time I start my Linux system (Ubuntu 22.04) it locks up after a few minutes. DropBox appears to be the cause. It loads on startup and a few minutes into syncing the whole system freezes. If I close DropBox before the freeze, there is no freeze.
I suspect the problem is related to a very large folder I had created in my local DropBox folder. The folder was encrypted using cryfs, which breaks files into numerous smaller files. I did not realize this might be a problem for DropBox until I learned about the 300,000 file limit two days ago. I'm not sure, but I think there were over a million files in the cryfs folder.
I had planned to move away from cryfs anyway so I copied the files (decrypted) to another local folder (outside Dropbox) and then moved the local encrypted folder out of Dropbox. The encrypted folder no longer shows as present but there was still constant disk activity while Dropbox is open and the system continues to freeze a few minutes after syncing begins. The last time I looked it reported that it was downloading 17,000 files, but why is it downloading anything when all I've done lately is remove things from Dropbox?
I have tried reducing Dropbox's bandwidth on the theory that this might reduce its load on the system. I started with a 1 mbps (1024 kb) limit, but the system still froze. Then I tried 256 kbps, but the system still freezes. (If anything it freezes for a longer time -- presumably because it's taking longer for Dropbox to crash.)
I've run out of ideas for troubleshooting this. Help!!?!
Hi notredruide,
Try following list of commands:
killall dropbox sudo apt-get purge dropbox rm -rf ~/.dropbox* wget https://linux.dropboxstatic.com/packages/ubuntu/dropbox_2020.03.04_amd64.deb sudo apt-get update sudo apt-get install $(realpath dropbox_2020.03.04_amd64.deb) rm dropbox_2020.03.04_amd64.deb
sudo apt-get update sudo apt-get upgrade dropbox start -iExecute the commands one by one in the order as shown. If some error brings up at some point post exact steps as they appear in the terminal together with the error message.
Hope this helps.
11 Replies
Replies have been turned off for this discussion
- Jay2 years ago
Dropbox Community Moderator
Hi notredruide, thanks for bringing this to our attention.
Could you try reinstalling the app, without uninstalling it first, to see if this helps?
Keep me updated with any progress!
- DerSpitz2 years agoExplorer | Level 4
Hello notredruide
I am aware of the problem with DropBox's system load. Previously through Windows, later also with LINUX (my system: MX23.2 minimal - Debian based, 16GB RAM). Due to the high system load, I changed the cloud provider, but this didn't bring any improvement due to poor programming of the program. Now I'm back on DropBox. You can try to solve the problem with the system load as follows (that's how I do it); go to the menu, search for “session and startup behavior” and open it. The “Automatically started applications” tab contains, among other things, an entry for the automatic start for DropBox. It should look something like this: "Dropbox Sync your files across computers and to the web". The command line for this (you can access it by clicking on the edit icon) probably looks like this; "dropbox start -i". If this condition is met, we can continue. Next, create your own startup process by clicking on “New or Add”. An input field opens;
Surname:
Description:
Command:
Trigger:You fill these fields with the following data:
Name: CPU limit for Dropbox (freely selectable)
Description: Reduce CPU load (freely selectable)
Command: cpulimit -e dropbox-I 25
Trigger: when registeringThen save and check the box to start automatically.
However, the package: “cpulimit” must first be installed with the command line: “sudo apt-get install cpulimit”.
This command tells Dropbox to use a maximum of 25 percent of the CPU load. You can experiment with the value "25".
I hope I can help you with this, please report any successes or if you have any questions!
DerSpitz
- notredruide2 years agoHelpful | Level 5
Thanks Jay. Sorry for the late reply but I have not received any notifications that anyone had responded to my post. I tried reinstalling Dropbox over the top of the existing installation but have been unable to do so. Searching for Dropbox in Ubuntu Software produces a spinning wheel, and so does downloading the file and attempting to open it with Software Install. This is obviously an Ubuntu problem but instead of trying to troubleshoot it I am going to go ahead and try DerSpitz's solution.
- notredruide2 years agoHelpful | Level 5
Thanks Jay. Unfortunately I seem unable to reinstall Dropbox on my Linux installation at the moment. If I open Ubuntu Software and search for Dropbox, I just get a spinning propeller thingie. If I download the latest version and right click Open With / Software Install, I get a window that says "loading application details," and nothing happens. If I try the command line (sudo apt install dropbox), I get "Package 'dropbox' has no installation candidate." Is there a repository I need to install? Anyway, pending further suggestions on that front I'm going to dry using cpulimit as recommended by DerSpitz.
- DerSpitz2 years agoExplorer | Level 4
Hallo,
versuche doch bitte mit "sudo apt install gdebi" den paketinstaller "Gedbi" zu installieren. Dieser kann deine Original-Dropbox....den prüfen und zeigt dir vielleicht fehlende Pakete oder die Ursache der Fehler an.
DerSpitz - notredruide2 years agoHelpful | Level 5
Okay, as suggested by DerSpitz I attempted to use Gdebi to install either dropbox_2020.03.04_amd64.deb or dropbox_2024.01.22_amd64.deb over my existing installation. In both cases Gdebi reported, "Error: Breaks existing package 'nautilus-dropbox' conflict: dropbox ()" I guess this means I should uninstall the existing package and try one of the newer ones? Which package should I install, given that I'm running Ubuntu 22.04? And is there anything I need to do to preserve existing settings etc.?
- Здравко2 years agoLegendary | Level 20
Hi notredruide,
Try following list of commands:
killall dropbox sudo apt-get purge dropbox rm -rf ~/.dropbox* wget https://linux.dropboxstatic.com/packages/ubuntu/dropbox_2020.03.04_amd64.deb sudo apt-get update sudo apt-get install $(realpath dropbox_2020.03.04_amd64.deb) rm dropbox_2020.03.04_amd64.deb
sudo apt-get update sudo apt-get upgrade dropbox start -iExecute the commands one by one in the order as shown. If some error brings up at some point post exact steps as they appear in the terminal together with the error message.
Hope this helps.
- notredruide2 years agoHelpful | Level 5
Thanks Здравко, that seems to have worked. I used the "apt" command because I understand "apt-get" has been deprecated. I did get one notification after running "sudo apt update": "Download is performed unsandboxed as root as file '/home/[user]/dropbox_2020.03.04_amd64.deb' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied)." (Is this because there was already a copy of that file in my home Downloads directory?) Also the last command was unnecessary because Dropbox launched itself and offered to complete the installation by downloading the daemon. When I first did that it reported an error that I forgot to copy but I think it said the file couldn't be verified or the key didn't match -- something to that effect. But when I repeated the process everything seemed to install and it now seems to be working properly. Many thanks, or if I can trust the translator,
Благодаря! - notredruide2 years agoHelpful | Level 5
Oh, also, for the record, your second command produced this response which I responded to by changing the target from "dropbox" to "dropbox-nautilus":
[user]@[computer]:~$ sudo apt purge dropbox [sudo] password for [user]: Reading package lists... Done Building dependency tree... Done Reading state information... Done Package 'dropbox' is not installed, so not removed 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded. [user]@[computer]:~$ sudo apt purge nautilus-dropbox Reading package lists... Done Building dependency tree... Done Reading state information... Done The following packages will be REMOVED: nautilus-dropbox* 0 upgraded, 0 newly installed, 1 to remove and 5 not upgraded. After this operation, 288 kB disk space will be freed. Do you want to continue? [Y/n] y (Reading database ... 284304 files and directories currently installed.) Removing nautilus-dropbox (2019.02.14-1ubuntu1) ...
- DerSpitz2 years agoExplorer | Level 4Ist dein Problem jetzt gelöst? Ich bin etwas verwirrt weil die Dropbox Befehlszeile die gleiche ist, wie zu Beginn? Was ist jetzt anders? Funktioniert Dropbox jetzt trotz der vielen Dateien und wird das System jetzt weniger ausgelastet? Danke für deine Antwort.
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.
Need More Support
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 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!