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.
A couple of weeks ago I upgraded my mid-2010 MacPro 5,1 to Mojave (installing a new video card along the way), and decided to move my user folder (including my 400GB Dropbox folder) off my SSD (where the OS resides) onto a different hard drive, following the procedure to target the app towards the new location. Although it seemed to work at the outset, I have since been hit with a window saying "Dropbox needs to change permissions" whenever Dropbox starts, and entering my system password does not stop it from asking again next time. Meanwhile the app is not syncing properly. Here's the step-by-step of my ground-up procedure:
sudo chflags -R nouchg /Volumes/Wasteland/Moved\ OSX\ Users/myUser/Dropbox ~/.dropbox ~/.dropbox-master- Responded with ".../.dropbox-master: No such file or directory"
sudo chown "$USER" "$HOME"
sudo chmod -RN ~/.dropbox /Volumes/Wasteland/Moved\ OSX\ Users/myUser/Dropbox
chmod -R u+rw /Volumes/Wasteland/Moved\ OSX\ Users/myUser/Dropbox ~/.dropbox
Cheering myself up at the knowledge that a 400GB block may take a bit of time to index, I'm going to leave the machine to its own devices for the night, in the hopes that maybe something cracks loose. But, since I doubt anything's really been fixed, I'm going to post this help request. Thanks for reading!
So the problem apparently turned out to be "symbolic links" (symlinks) hidden in a few minor apps I had floating in Dropbox. Lusil's reccommended actions were as follows:
"Symbolic links, Junction Points, or "symlinks", occur when folders are added to Dropbox that reference directories outside of the Dropbox folder or inside of the Dropbox folder but in a different folder. Because these symlinks may reference locations where Dropbox may have limited accessibility, they can cause various issues, such as high CPU usage, poor syncing performance, and permissions issues.
The problem you described may be related to such symlinks in your Dropbox folder, so could you please run the following command to determine if there are any in your account?
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: find ~/Dropbox -type l -exec ls -lah {} \;
This should give you a list of symlinks in your Dropbox folder and shows you the full file path to every symlink in your account.
If you do find symlinks in your account, we recommend that you remove them. You can do that by following the file paths that are provided when you run the command, and remove the files in your Dropbox folder by dragging them elsewhere on your computer (if you don't want them deleted).
After you've removed all of the symlinks you can identify from the Terminal command, please quit Terminal, open it again, and run the command again to ensure that no symlinks remain in your Dropbox folder.
If the symlink pathway is part of a single file that is visible in your Dropbox folder on your computer, this symlink may be part of a container file. Container files look like regular files if you look at them on your computer, but they're actually wrappers that contain other file types inside of them. These may include files necessary for the application to run properly and load all the components that the file requires, with some examples of these types of files being iPhoto libraries, Aperture files or iWork files.
In these cases, you may want to remove the entire container file, rather than just the symlink itself, as removing just a component of the container file could damage the container file and therefore you may have problems when opening it.
In general, we recommend users move the actual folders into the Dropbox folder and then symlink back to the original locations. Please just keep in mind that we don't generally support the use of symlinks due to the issues that can arise when they are added to Dropbox.
After you remove the symlinks, it can take some time for syncing to get back to normal. I recommend restarting your computer and then checking on the status of Dropbox. Please give the application some time to re-index and begin the sync process again."
...And, it worked. I am now syncing successfully. The Terminal command revealed a number of these symlinks embedded in a few minor apps (a couple of retro games and some console emulators), which I was more than happy to move outside of Dropbox. After a computer restart, Dropbox began syncing normally. Thanks so much for your help, Lusil!
Hey @xyzzy, awesome work on the troubleshooting!
Lusil
Community Moderator @ Dropbox
dropbox.com/support
Did this post help you? If so, please give it a Like below.
Still stuck? Ask me a question!
Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.
Ah, Advanced Reinstall? Going for the deep cuts now. I followed the steps as documented, properly adjusting my User folder path. I noted that at no time did the Dropbox folder lose its special icon, and saw that when the new installation was in, it already had my proper User folder targeted; I don't know if that's relevant, but thought it worth mentioning. I also restarted the computer at the end of the process, and see Dropbox is now "checking for changes". (It also asked for permission to change permissions again.) I'll see what progress has been made when I get back from work and update the thread. Thank you for your help!
No worries, @xyzzy , take your time!
Lusil
Community Moderator @ Dropbox
dropbox.com/support
Did this post help you? If so, please give it a Like below.
Still stuck? Ask me a question!
Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.
Regrettably, Dropbox is still "checking for changes" after a good ten hours.
Hmm, after a little while it asked for permission to change permissions. I entered my password, then noticed that Dropbox is now "syncing 2,093 files", so I have that going for me, which is nice. We'll see if it makes any more progress.
Lusil
Community Moderator @ Dropbox
dropbox.com/support
Did this post help you? If so, please give it a Like below.
Still stuck? Ask me a question!
Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.
Nothing developed; I think I'm back to square one.
Lusil
Community Moderator @ Dropbox
dropbox.com/support
Did this post help you? If so, please give it a Like below.
Still stuck? Ask me a question!
Tips & Tricks Find new ways to stay in flow or share your tips on how you work smarter with Dropbox.
So the problem apparently turned out to be "symbolic links" (symlinks) hidden in a few minor apps I had floating in Dropbox. Lusil's reccommended actions were as follows:
"Symbolic links, Junction Points, or "symlinks", occur when folders are added to Dropbox that reference directories outside of the Dropbox folder or inside of the Dropbox folder but in a different folder. Because these symlinks may reference locations where Dropbox may have limited accessibility, they can cause various issues, such as high CPU usage, poor syncing performance, and permissions issues.
The problem you described may be related to such symlinks in your Dropbox folder, so could you please run the following command to determine if there are any in your account?
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: find ~/Dropbox -type l -exec ls -lah {} \;
This should give you a list of symlinks in your Dropbox folder and shows you the full file path to every symlink in your account.
If you do find symlinks in your account, we recommend that you remove them. You can do that by following the file paths that are provided when you run the command, and remove the files in your Dropbox folder by dragging them elsewhere on your computer (if you don't want them deleted).
After you've removed all of the symlinks you can identify from the Terminal command, please quit Terminal, open it again, and run the command again to ensure that no symlinks remain in your Dropbox folder.
If the symlink pathway is part of a single file that is visible in your Dropbox folder on your computer, this symlink may be part of a container file. Container files look like regular files if you look at them on your computer, but they're actually wrappers that contain other file types inside of them. These may include files necessary for the application to run properly and load all the components that the file requires, with some examples of these types of files being iPhoto libraries, Aperture files or iWork files.
In these cases, you may want to remove the entire container file, rather than just the symlink itself, as removing just a component of the container file could damage the container file and therefore you may have problems when opening it.
In general, we recommend users move the actual folders into the Dropbox folder and then symlink back to the original locations. Please just keep in mind that we don't generally support the use of symlinks due to the issues that can arise when they are added to Dropbox.
After you remove the symlinks, it can take some time for syncing to get back to normal. I recommend restarting your computer and then checking on the status of Dropbox. Please give the application some time to re-index and begin the sync process again."
...And, it worked. I am now syncing successfully. The Terminal command revealed a number of these symlinks embedded in a few minor apps (a couple of retro games and some console emulators), which I was more than happy to move outside of Dropbox. After a computer restart, Dropbox began syncing normally. Thanks so much for your help, Lusil!
Hi there!
If you need more help you can view your support options (expected response time for a 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!