Errors when trying to run dropbox-cli commands
System details
Apple Macbook Air Intel A1466 2015 Omarchy v4
What's wrong?
~ ✗ dropbox start Killed dropbox start
~ ✗ (dropbox:6869): libayatana-appindicator-WARNING **: 07:59:15.447: libayatana-appindicator is deprecated. Please use libayatana-appindicator-glib in newly written code.
~ ✗ dropbox status Killed dropbox status
~ ✗ (dropbox:7361): libayatana-appindicator-WARNING **: 07:59:41.775: libayatana-appindicator is deprecated. Please use libayatana-appindicator-glib in newly written code.
~ ✗ dropbox exclude Killed dropbox exclude
~ ✗ (dropbox:7886): libayatana-appindicator-WARNING **: 08:00:15.025: libayatana-appindicator is deprecated. Please use libayatana-appindicator-glib in newly written code.
We reproduced the same Killed output and libayatana-appindicator deprecation warning on Omarchy 4.0.2-1 (RC update channel). Here is what restored syncing on our machine.
1. Use dropbox-cli for commands
On this installation, /usr/bin/dropbox is the daemon binary, while /usr/bin/dropbox-cli is the command-line interface. Use:
dropbox-cli status
dropbox-cli start
dropbox-cli stop
dropbox-cli exclude list
Our installed dropbox package was 264.4.3421-1, with a self-updated client 268.4.4124 under ~/.dropbox-dist. Launching the packaged binary handed off to the newer client and killed the original process. Under the stock user systemd unit, we observed status=9/KILL, repeated restarts, and leftover child processes. This was not a kernel OOM kill in our logs.
For an already-installed client managed by the user service, our override is:
# ~/.config/systemd/user/dropbox.service.d/override.conf
[Service]
ExecStart=
ExecStart=%h/.dropbox-dist/dropboxd
KillMode=control-group
RestartSec=10s
Verify ~/.dropbox-dist/dropboxd exists first. Stop the existing instance before switching launch methods, then reload systemd and start the service. We enabled that user service and changed the desktop autostart entry to Exec=systemctl --user start dropbox.service so both startup paths use the same supervisor.
The updated daemon has stayed running with zero service restarts. The appindicator warning still appears while syncing works, so that warning alone does not establish a sync failure.
2. Our separate “Starting…” blocker was inotify watch exhaustion
After fixing startup, dropbox-cli status still remained at Starting.... The journal eventually reported:
Unable to monitor entire Dropbox folder hierarchy.
Our large archive required 630,243 directory watches, exceeding Omarchy's configured 524,288 limit. We added a separate local override rather than editing the packaged Omarchy file:
# /etc/sysctl.d/99-dropbox-watchers.conf
fs.inotify.max_user_watches=2097152
Apply with sudo sysctl -p /etc/sysctl.d/99-dropbox-watchers.conf and verify with sysctl fs.inotify.max_user_watches. This is a workload-specific ceiling, not a requirement for every Dropbox installation. Only increase it if the monitoring error and current limit justify doing so.
Dropbox then advanced to Syncing / Indexing / Uploading, with measured upload throughput. We did not unlink the account, delete its database, or reset the Dropbox folder. The backlog is still processing; complete cloud convergence has not yet been verified.
3. The panel can mask the problem
Our panel displayed “Moving memories” and recent files even while the daemon was stuck at Starting.... Its local file inventory is not evidence of successful uploads. This overlaps with #7423. In a local user-owned plugin, we now show the literal daemon status, poll it independently of the slow folder scan, label inventory as local files, and wait for confirmed state after start/stop actions. That panel workaround has not been submitted upstream.
The launcher symptoms match this report; the inotify exhaustion was an additional issue on our machine. We have not established that either is specific to the RC channel.