cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to learn some quick and useful tips to make your day easier? Check out how Calvin uses Replay to get feedback from other teams at Dropbox here.

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.

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
Go to solution

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

pigg
Helpful | Level 5
Go to solution

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

6GeMiNi9
Helpful | Level 5
Go to solution

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

turtlejuice
New member | Level 2
Go to solution

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

Jane
Dropbox Staff
Go to solution

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!)

mike _.
Helpful | Level 6
Go to solution

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.

Jane
Dropbox Staff
Go to solution

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!)

mike _.
Helpful | Level 6
Go to solution

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?

mike _.
Helpful | Level 6
Go to solution

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

Jane
Dropbox Staff
Go to solution
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!)

tuannv0708
Explorer | Level 4
Go to solution

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

mike _.
Helpful | Level 6
Go to solution

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.

tuannv0708
Explorer | Level 4
Go to solution

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

Need more support?
Who's talking

Top contributors to this post

  • User avatar
    Jane Dropbox Staff
  • User avatar
    hrvig New member | Level 2
  • User avatar
    0x000000 New member | Level 2
What do Dropbox user levels mean?