We are aware of the issue with the badge emails resending to everyone, we apologise for the inconvenience - learn more here.
Forum Discussion
caconym
4 years agoHelpful | Level 6
Can't un-exclude directories with `dropbox.py exclude remove <directory>` on Ubuntu 20.04.2
I have a Linux machine (running Ubuntu 20.04.2 LTS, "Focal Fossa") upon which I am running a "headless" Dropbox daemon as per here: https://www.dropbox.com/install-linux
The Dropbox daemon is u...
Walter
Dropbox Staff
Hey caconym, thanks for using Dropbox and welcome aboard!
Since the app isn't behaving well when it comes to selective sync through the CLI, could you try re-installing it and let me know if it improved matters?
Regarding the option to auto-start the app, note that this command may only work on currently supported Ubuntu distributions.
Keep me posted with your results!
Since the app isn't behaving well when it comes to selective sync through the CLI, could you try re-installing it and let me know if it improved matters?
Regarding the option to auto-start the app, note that this command may only work on currently supported Ubuntu distributions.
Keep me posted with your results!
caconym
4 years agoHelpful | Level 6
I tried a full reinstall (including removal of the entire Dropbox directory), and this time I didn't change any selective sync settings until the initial sync was finished, but I'm still having the same problem. I probably should have clarified that this is a relatively fresh and clean Ubuntu installation (of the latest LTS distro, compliant with the listed Dropbox requirements) and a totally fresh and clean "headless" Dropbox daemon installation (as of this afternoon an hour or two before I posted here):
```
$ cd ~ && wget -O - "https://www.dropbox.com/download?plat=lnx.x86_64" | tar xzf -
[...]
$ wget https://www.dropbox.com/download?dl=packages/dropbox.py
```
As I mentioned above, everything else seems to work, including the initial `dropbox.py exclude add <directory>`. It's worth noting that on my earlier installation `dropbox.py exclude` did show excluded directories until the daemon finished removing them; I tried to reproduce this after the second install, but this time I think the daemon was faster than me since it wasn't busy with sync tasks.
Since the last nautilus-dropbox release (of which the Python CLI script is a part) was over a year ago, I was wondering if some more recent change in the daemon might have broken compatibility, so I tried talking to the daemon's command socket directly using the "protocol" documented by the open-source CLI code. I was able to reproduce the same bad (or at least unexpected) behavior without running the CLI at all.
First, check the status of an existing, synced directory (with a file in it):
```
<redacted>@<redacted>:~/.dropbox$ nc -U command_socket
icon_overlay_file_status
path /home/<redacted>/Dropbox/test_dir_3
done
ok
status up to date
done
```
(Everything up to and including the first "done" is my input; the rest is the response from the socket, with the first line ("ok" in this case) being the overall response status.)
Next, add that directory to the ignore set:
```
ignore_set_add
paths /home/<redacted>/Dropbox/test_dir_3
done
ok
ignored /home/<redacted>/Dropbox/test_dir_3
unrecognized
done
```
The "ok" status is a good sign, and the "ignored" line indicates that the directory has been added to the ignore set. However, the daemon claims the ignore set is still empty:
```
get_ignore_set
done
ok
ignore_set
done
```
But the directory has been removed:
```
icon_overlay_file_status
path /home/<redacted>/Dropbox/test_dir_3
done
notok
The 'path' argument does not exist
done
```
`ls` in the shell confirms the same.
The command socket obviously isn't an officially documented API (confirmed by your team here), but all I'm doing here is imitating the commands the Python CLI sends to it. The socket is accepting these commands and giving sensible responses that match what I get when I use the CLI to do the same things (and don't return any error statuses), so my guess is that this is a bug in the daemon. A permissions or other configuration problem seems unlikely given that all the other features I've tested are working fine.
- sarke4 years agoHelpful | Level 5
Same issue here, very frustrating. We've been paying Business Team account for almost a decade.
@caconym, do you (or anyone else) know what the correct syntax is for ignore_set_remove on the command socket? Specifically the paths argument, is there a certain array/list format?
ignore_set_remove paths /opt/dropbox/Dropbox/somefolder done ok removed unrecognized /opt/dropbox/Dropbox/somefolder done
EDIT: So the paths are tab separated. ignore_set_add seems to work but not ignore_set_add.
- sarke4 years agoHelpful | Level 5
Reverting to 123.4.4832 fixes the problem. It seems 124.4.4912 introduced the bug.
- lassamaria4 years agoNew member | Level 2
Thank you sarke! Reverting to 123.4.4832 fixed it for me. It's sad that Dropbox won't fix the bug they introduced at that point, but at least old versions are still available. No idea what new features were added after that version but they don't seem to be worth this serious bug.
- Walter4 years agoDropbox StaffThanks for keeping me in the loop on this one and sorry for the late reply caconym.
If you're still having issues with this, may I reach out via email to investigate a bit further?- jwvjwvjwv4 years agoHelpful | Level 6
I'm also experiencing this exact same issue (and have been for the last couple months) on Fedora 34. Someone else has posted about it on stackoverflow as well. The only thing I've found that could reset my exclude list was removing the Dropbox application, the Dropbox daemon, and the nautilus extension. After reinstalling, all of my folders sync again, but once I exclude any of them again, I can't un-exclude them without uninstalling and reinstalling everything again.
- caconym4 years agoHelpful | Level 6
Hey Walter, sorry I didn't see this until now. I'm happy to discuss the issue over email, DM, or whatever else.
About Delete, edit, and organize
Solve issues with deleting, editing, and organizing files and folders in your Dropbox account with support from the Dropbox Community.
Need more support
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!