You might see that the Dropbox Community team have been busy working on some major updates to the Community itself! So, here is some info on what’s changed, what’s staying the same and what you can expect from the Dropbox Community overall.
Forum Discussion
jainraje
2 years agoHelpful | Level 6
headless ubuntu not syncing
Hi All,
I sucessfully installed dropbox on a headless ubuntu server using the following guide:
https://www.linuxbabe.com/ubuntu/install-dropbox-headless-ubuntu-server
The dropbox file/folde...
- 2 years ago
The headless ubuntu Dropbox sync is syncing now without any manual intervention).
1) Use this link to install dropbox on ubuntu: https://www.dropbox.com/install-linux
2) Use this link to setup dropbox systemd service unit: https://www.linuxbabe.com/ubuntu/install-dropbox-headless-ubuntu-server
Modify the dropbox.service file to call dropboxd using the install location in step 1 (not location in step 2 guide)
What was not clear to me before is the dropbox systemd daemon is running in superuser mode under the "username" account. To access/control the dropbox daemon from command line, sudo -u username dropbox <options> must be done.
That sums it up. Thanks to the knowledgble members who posted in the thread.
Walter
2 years agoDropbox Staff
Hey jainraje, sorry to hear you're having issues with this.
Can you please clarify if you've enabled the desktop app to auto-start when you boot your device as outlined here?
Let me know and we'll take it from there.
- jainraje2 years agoHelpful | Level 6
HI Walter,
Thank you for your message.
To summarize I installed the headless dropbox on a headless ubuntu 16.04 and confired a systemd service unit to run at system boot time (using my username as opposed to root). Finally, I enabled the auto-start at system boot as any other systemd service unit by issuing the following command: $sudo systemctl enable dropbox
My understanding is the above will setup the system to always run the dropboxd after system reboot. No manual intervention is required.
The dropbox.py (Dropbox Desktop App) and dropboxd work together yes?
Every time I run dropbox status is always returns Dropbox isn't running yet some files appeared to sync correctly. So I'm really confused and do not feel confident the system is setup correctly.
- Здравко2 years agoLegendary | Level 20
jainraje wrote:...
Every time I run dropbox status is always returns Dropbox isn't running yet some files appeared to sync correctly. ...
Hi jainraje,
Did you make sure you have run 'dropbox status' under the same user context like the Dropbox daemon? Take in mind that every user can have independent Dropbox context and running the control script in one context targets the Dropbox daemon on the same context, not any other! 😉
Hope this helps.
- jainraje2 years agoHelpful | Level 6
I believe yes to your question.
Upon closer inspection is appears the daemon is having errors starting.
$sudo journalctl -u dropbox.service
systemd[1]: dropbox.service: Main process exited, code=killed, status=9/KILL
systemd[1]: dropbox.service: Unit entered failed state.
systemd[1]: dropbox.service: Failed with result 'signal'.
About 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.
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!