cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Whether you are transferring a single drive, a team or an entire organization, Movebot's cloud migration tool has been built to make your Dropbox migration simple - learn all about it here.

Dropbox installs & integrations

Connect your tools and content together with help from the Dropbox Community. Join a discussion or post a question of your own to get started.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Linux - Unable to change Dropbox directory

Linux - Unable to change Dropbox directory

mike _.
Helpful | Level 6

I'm using Fedora Workstation 25 with GNOME.

 

Trying to change the Dropbox directory results in the utterly useless message "Unexpected errors occurred. Your Dropbox is ok!".

 

Steps to recreate problem:

 

  • Dropbox directory is currently ~/Dropbox
  • Start Dropbox application by running ~/.dropbox-dist/dropboxd
  • Right click sys tray icon and select Preferences.
  • Click "Move…" button under Account > Location
  • Select directory /local on which my user has write permissions.
  • The message "Unexpected errors occurred. Your Dropbox is ok!" appears.

 

Observations:

 

  • The directory /local/Dropbox is sucesfully created.
  • One of the directories in ~/Dropbox is created in /local/Dropbox/ It's empty. Deleting that directory from ~/Dropbox before attempting the move doesn't help.
  • Selecting other directories on which my user has write permissions results in the same behaviour.
  • Permissions and ownership of my Dropbox directory and user's home directory are OK. (Troubleshooting advice for Linux at https://help.dropbox.com/desktop-web/move-dropbox-folder is pooly written. sudo is not needed on all those commands. "Internet menu" is not a thing in all (any?) desktop environments.)
  • There's a log file in ~/.dropbox/logs/1 but it's a binary blob so useless without something to make it human readable and I can't locate such a thing.
  • Deleting all my files from ~/Dropbox/  waiting for sync to complete and then attempting the move doesn't help.
  • When attemping the move after deleting all my files from ~/Dropbox/  /local/Dropbox/.dropbox.cache/ is succesfully created. It's empty.
  • Pausing syncing before attempting the move doesn't help.
  • There don't seem to be any options that can be passed to ~/.dropbox-dist/dropboxd to get more info.  (Adding --help prevents it running!)
3 Accepted Solutions

Accepted Solutions

Re: tRe: Linux - Unable to change Dropbox directory

pigg
Helpful | Level 5

I was having this same issue.  I found a fix in creating a Dropbox folder in my home directory prior to connecting my account.  This caused the installer to throw an error about a Dropbox folder already existing that prompted me to either delete the Dropbox folder or select a different location.  Eureka!  (for me at least...)

View solution in original post

Re: Dropbox CLI Installation - Change Directory

6GeMiNi9
Helpful | Level 5

Guys solved, and the solution was the easiest and logic. 

 

I expose my situation:

 

sda1 300GB --> /

sda5 8TB --> /home

 

As I explained, I wanted to install Dropbox below /home directory, but playing as "root" user, by default, it forced the installation on /root

 

So I just installed the daemon using the user who owns the home directory I want and it works properly, just remember to add the "user" to the root group.

 

If you need more details, don't hesitate to ask.

View solution in original post

Re: tRe: Linux - Unable to change Dropbox directory

turtlejuice
New member | Level 2

wrote:

I was having this same issue.  I found a fix in creating a Dropbox folder in my home directory prior to connecting my account.  This caused the installer to throw an error about a Dropbox folder already existing that prompted me to either delete the Dropbox folder or select a different location.  Eureka!  (for me at least...)

This didn't work for me, but I did find a similar solution! I created a "work" dropbox account and set up a fresh installation of dropbox with that account, which places the "work" Dropbox folder in the defaut  ~/Dropbox. I then deleted everything in ~/.dropbox* (with rm -rf ~/.dropbox* ), reinstalled dropbox and set it up using my personal account. Now since the folder in ~/Dropbox already contains the dropbox for the work account, I got the prompt that allowed me to either delete the Dropbox folder or select a different location for my personal account. Somehow this worked when simply moving the folder within dropbox wouldn't... I hope this helps somebody! (using Fedora 27 btw)


View solution in original post

66 Replies 66

Re: Linux - Unable to change Dropbox directory

Jane
Dropboxer

Hey @mike _.

 

 
Thanks for reaching out on the Dropbox Community! Let's follow some steps together to work on that. 
 
As a first step, please make sure that you don't have any locations Symlinked to the Dropbox folder. If you aren't sure about whether you have used Symlinks, please have a look at the steps here: 
 
#1. Open your Terminal app (Located at /Applications/Utilities/Terminal). You can also search for "Terminal" using the magnifying glass at the top of your screen.
 
#2. Copy and paste the following line into the Terminal: 
 
(NOTE: If your Dropbox account is located on  "/Users/JaneA/Dropbox", then fill in the command line as below)
 
find "/Users/JaneA/Dropbox" -type l -exec ls -lah {} \;
 
The above should give you a list of symlinks in your Dropbox folder and where they point to. Please remove these Symlinks and allow Dropbox to sync correctly. 
 
If you don't find any Symlinks there, please let me know here and I'd glad to work on that more with you. 
 
Kind regards, 
JaneA

 


Jane
Community Moderator @ Dropbox
dropbox.com/support

 

Heart Did this post help you? If so please give it a Like below. 
:white_check_mark: Did this post fix your issue/answer your question? If so please press the 'Accept as Best Answer' button to help others find it.
:arrows_counterclockwise: Still stuck? Ask me a question! (
Questions asked in the community will likely receive an answer within 4 hours!)

Re: Linux - Unable to change Dropbox directory

mike _.
Helpful | Level 6

Your reply is written as though I'm using macOS when I clearly stated I'm using Linux.


I stated in my post that I had tried deleting everything in ~/Dropbox/ prior to attempting to change the Dropbox direcory locaton and the error still occurs. The presence of symlinks in ~/Dropbox/ can't be the cause of the error if the error occurs when ~/Dropbox/ is empty.

 

I don't have any symlinks in ~/Dropbox. I avoid using symlinks in stuff that I backup in Dropbox because I know symlinks won't be preserved.

Is there any way to get the Dropbox client to produce detailed error messages?

Is there any way to change the Dropbox directory location except using the GUI?

I've tried modifying the path value in ~/.dropbox/info.json (having first made sure no Dropbox processes were running), and then putting a copy of ~/Dropbox at the path I'd specified. On starting the Dropbox client the value of path in  ~/.dropbox/info.json got changed back to what it was before. The only other suggestion of how to move the directory without using the GUI I can find online is to move the directory then create ~/Dropbox as a symlink, which is basically a bodge and not an acceptable solution.

Re: Linux - Unable to change Dropbox directory

Jane
Dropboxer

Hey @mike _.

 

I appreciate your swift and timely reply! 

 

Seems that it would be better for you to troubleshoot this specific case via our official support channel, so that a specialised member of our team troubleshoots and advises on how to have this issue resolved. If it's not too much trouble for you, please raise a ticket with our team that may help us determine the case and let me know here, so that I search for your email internally and transfer our discussion there. 
 
Looking forward to hearing back from you!
 
Warm regards, 
JaneA

 


Jane
Community Moderator @ Dropbox
dropbox.com/support

 

Heart Did this post help you? If so please give it a Like below. 
:white_check_mark: Did this post fix your issue/answer your question? If so please press the 'Accept as Best Answer' button to help others find it.
:arrows_counterclockwise: Still stuck? Ask me a question! (
Questions asked in the community will likely receive an answer within 4 hours!)

Re: Linux - Unable to change Dropbox directory

mike _.
Helpful | Level 6

Before posting here I searched for a way to raise a ticket with Dropbox directly but was unable to find one.

 

I followed that link yo posted and maybe I raised a ticket and maybe I didn't. I don't know. I filled in the form, submitted it and got taken to https://www.dropbox.com/help and given absolutely no indication of whether what I'd entered in to the form was sent somewhere a human will read it or droped in to a void never to be seen again. Very poor user experience.

 

Why are you, someone who (I assume because "Dropboxer") works for Dropbox, using a third party url shortening service when posting links in the official Dropbox form to take people to another Dropbox webpage? Do you have absolute control over that short url and ensure that in future it never points somewhere other than where it currently does, say to a phishing site skinned to look like the Dropbox website?

Re: Linux - Unable to change Dropbox directory

mike _.
Helpful | Level 6

I've now recieved an email telling me that I did open ticket. The form for raising a ticket should provide feedback though.

Re: Linux - Unable to change Dropbox directory

Jane
Dropboxer
Hey @mike _.
 
Thanks for your cooperation, much appreciated! 
 
As per your query: 
 
Why are you, someone who (I assume because "Dropboxer") works for Dropbox, using a 
third party url shortening service when posting links in the official Dropbox form to take people to another Dropbox webpage? Do you have absolute control over that short 
url and ensure that in future it never points somewhere other than where it currently does, say to a phishing site skinned to look like the Dropbox website?
 
please rest assured that safeguarding the security of your data is our highest priority. The full link to the url is: https://www.dropbox.com/support and through this channel all requests are filtered and handled accordingly by members of our team. 
 
Other than that, I’ve located your open support ticket and I’ve made sure that a team member has been assigned to the case. At your convenience, could you check your inbox for our latest message and let me know if you have any issues locating the reply, so that I make sure that you receive it again? I will make sure that your comments are properly transferred there, so that you troubleshoot from the point you have left here. 
 
Hope this gets resolved soon! 
 
Warm regards, 
JaneA

 


Jane
Community Moderator @ Dropbox
dropbox.com/support

 

Heart Did this post help you? If so please give it a Like below. 
:white_check_mark: Did this post fix your issue/answer your question? If so please press the 'Accept as Best Answer' button to help others find it.
:arrows_counterclockwise: Still stuck? Ask me a question! (
Questions asked in the community will likely receive an answer within 4 hours!)

Re: Linux - Unable to change Dropbox directory

tuannv0708
Explorer | Level 4

Dear Mike,

 

Did you solve the problem? Could you keep update some info?

I've got the same problem. When I want Dropbox Fedora sync file from a NTFS Share Drive.

 

Thanks

TuanNV

Re: Linux - Unable to change Dropbox directory

mike _.
Helpful | Level 6

My support ticket has been passed on to different people at Dropbox several times, but the problem has not yet been solved.

 

I have established that moving the Dropbox directory to a subdirectory of my home directory, e.g. from ~/Dropbox to ~/Something/Dropbox does work which makes me think the issue is somehow related to moving the Dropbox directory to a different disk partition. However on openSUSE Leap 42.2 moving the Dropbox directory to a different disk partition does work. I haven't been able to work out why that works on openSUSE but not Fedora (using same version of Dropbox client). I've replicated the problem on Fedora 23, 25, 26. Haven't tried 24.

Re: Linux - Unable to change Dropbox directory

tuannv0708
Explorer | Level 4

In my case, I think the problem is my Dropbox location is NTFS drive. If I move Dropbox to ext4, everything fine.

Hope Dropbox fix this problem soon.

Mike, do you know the location of Dropbox's log file? I can't find anything about dropbox on /var/log/

 

Thanks

TuanNV

Who's talking

Top contributors to this post

  • User avatar
    Jane Dropboxer
  • User avatar
    hrvig New member | Level 2
  • User avatar
    0x000000 New member | Level 2
What do Dropbox user levels mean?
Need more support?