We’re Still Here to Help (Even Over the Holidays!) - find out more here.
Forum Discussion
eater
8 years agoHelpful | Level 5
Suddenly, Ubuntu Dropbox wants authentication and won't start
I've been running Dropbox on my Ubuntu 18.04 desktop just fine for months. Today, I noticed the application had stopped, so I tried to start it again and it said "Authentication is needed to run '/bi...
- 7 years ago
Hi Emanuele P.1. I went back and forth with the Dropbox engineering team for two months with no solution. Then I finally just randomly on my own tried removing the 10 or so symlinks that happened to be in my Dropbox directories, and that made it all start working normally again.
I see Lusil gave you that suggestion, so maybe my experience has now made it into the Dropbox manual.
Hope that helps!
Lusil
Dropbox Staff
8 years agoThanks for confirming this, eater. At this point in time, I’d recommend moving this discussion to email as account-specific info may be required to further investigate.
I was able to locate your open request from my end and I can see that a specialized member of the team is reviewing it. I’ve made sure to pass your comments along to them. When they have more info on the matter they will get back to you.
In the mean time, if you have any other questions, don’t hesitate to get back to us. Cheers! :nerd:
Emanuele P.1
7 years agoExplorer | Level 4
Is there a known solution for this issue? It suddenly started the same behavior both for my laptopt (Ubuntu 18.10) and my wife's (Ubuntu 16.04 and, to try fixing it, Ubuntu 18.10).
In both cases the issue started when Dropbox had to sync a big amount of data (several dozens GB). It stopped syncing halfway, and started giving this problem every time after. Reinstalling Dropbox (from command line or software center, even deleting the hidden preference folders) doesn't solve it.
- Lusil7 years ago
Dropbox Staff
Sorry to hear that, Emanuele P.1.As a first step, could you please check if there are any third-party apps that might be blocking/hindering the syncing process, like an antivirus? Try temporarily disabling your antivirus or security program or configure your firewall to work with Dropbox; it just might do the trick.Also, could you by any chance be you connected through a work network? If you are, check with your company’s IT department, since there may be an update on your firewall settings (or another additional security precaution placed) which could be affecting your connection.Furthermore, do have a look through this article for more suggestions. Although the errors outlined may not apply to you, you may come across something that might help resolve your concern.If these don’t come up with any results, please check for any symlinks that may be the cause of this. You can check out this article (step 7) for more relevant details.If this comes to a dead-end too, please don’t hesitate to get back to me with more info, as well as a screenshot (omitting personal details) of the error message that you’re seeing or illustrating the behavior that you’re experiencing.Thanks in advance! :grinning:- Emanuele P.17 years agoExplorer | Level 4
I got the same issue after a fresh installation of Ubuntu 18.10, no additional apps installed.
I observe the same both from my home network and from my office network.
It could be related to some specific files (symbolic links for example) in my dropbox folder as suggested in point 7 of the guide you sent me. Indeed, in all the cases it broke when I was trying to do a quick backup to transfer data from an old computer to a new one, and I simply moved several folders in a Backup folder in Dropbox. There could be any kind of files.
However, since it does not sync, I cannot look for those files as suggested in the guide either.
- eater7 years agoHelpful | Level 5
Hi Emanuele P.1. I went back and forth with the Dropbox engineering team for two months with no solution. Then I finally just randomly on my own tried removing the 10 or so symlinks that happened to be in my Dropbox directories, and that made it all start working normally again.
I see Lusil gave you that suggestion, so maybe my experience has now made it into the Dropbox manual.
Hope that helps!
- Emanuele P.17 years agoExplorer | Level 4
Thanks eater, I will try the same then! It's very likely that I had moved some symlinks in the Dropbox folder just before.
- ceebeelee7 years agoNew member | Level 2
I had this too, under Ubuntu 18.10. I tried uninstalling/purging nautilius-dropbox and reinstalling from their web site. I tried deleting symlinks in ~/Dropbox. (both of these are solutions listed elsewhere). Neither helped. The following solved the problem for me:
I noticed that in the terminal used for `dropbox start`, dropbox was telling me what to do. It says:
Please run "echo fs.inotify.max_user_watches=100000 | sudo tee -a /etc/sysctl.conf; sudo sysctl -p" and restart Dropbox to fix the problem.
So I did that, and it fixed the problem for me.
- boxdropping6 years agoExplorer | Level 4
It appears the question from dropboxd asking for the root password is related to PolicyKit and the 'pkexec' command, wanting to execute as another user. I am not sure what it is attempting to do under another user, perhaps change ownership as Dropbox on OS X will ask from time to time to obtain root in order to change directory permissions. Regardless it doesn't attempt to su or sudo to another user when PolicyKit is not installed.
PolicyKit is installed with things like libvirt, XFree86 / Linux desktop stuff, and some other things I believe. It got installed when I installed virt-manager so I could run some virtual machines on my Linux server w/ qemu via a X GUI w/ X11 forwarding. I no longer had a need for this, removed PolicyKit (and thus pkexec) and it is no longer asking for root.
If you wish to keep PolicyKit installed, I would suggest finding out how to add privileges for your dropbox user to use pkexec. I was denied after entering the root password as PK was apparently not configured to allow my user, 'dropboxuser', to execute anything with it. I don't think it's harmful; it's probably just trying to change some permissions. But I cannot be sure. You could enable auditing or do some strace/ltrace of the software and determine for sure.
Regards!
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!