cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Announcements
Want to know all about tools for creatives that work seamlessly with Dropbox, like Adobe? Well, check it out right here!

Dropbox installs & integrations

Connect your tools and content together with help from the Dropbox Community. Join a discussion or post a question of your own to get started.

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Headless Debian 9 install will not automatically start on boot

Headless Debian 9 install will not automatically start on boot

Ollie3
Explorer | Level 3

Hoping someone can help as I'm new to linux. After trawling the internet I haven't been able to find a solution to the problem and haven't seen similar error logs posted.

 

i'm running Debian 9 server with no desktop environment/x11 on old macmini and intend to use it as a file server and music server.

 

Installed dropbox and ran python script and succesfully sync'd Dropbox folder to server.

 

However when I follow instructions on unoffical dropbox wiki (http://www.dropboxwiki.com/tips-and-tricks/install-dropbox-in-an-entirely-text-based-linux-environme...) to try to use an init.d script to automatically start dropbox as a service (using their script for debian) on start up I get these error messages below. I'm sure I have overlooked something which is probably very obvious but would be grateful for anyone's help to solve this problem.

 

Thanks,

 

Ollie

 

 

● dropbox.service - LSB: dropbox service
   Loaded: loaded (/etc/init.d/dropbox; generated; vendor preset: enabled)
   Active: failed (Result: exit-code) since Mon 2017-12-04 23:53:42 GMT; 1min 31s ago
     Docs: man:systemd-sysv-generator(8)
  Process: 534 ExecStart=/etc/init.d/dropbox start (code=exited, status=2)

Dec 04 23:53:42 mac-mini systemd[1]: Starting LSB: dropbox service...
Dec 04 23:53:42 mac-mini dropbox[534]: /etc/init.d/dropbox: 15: /etc/init.d/dropbox:  : not found
Dec 04 23:53:42 mac-mini dropbox[534]: /etc/init.d/dropbox: 17: /etc/init.d/dropbox:  : not found
Dec 04 23:53:42 mac-mini dropbox[534]: /etc/init.d/dropbox: 20: /etc/init.d/dropbox: Syntax error: "do" unexpected (expecting "}")
Dec 04 23:53:42 mac-mini systemd[1]: dropbox.service: Control process exited, code=exited status=2
Dec 04 23:53:42 mac-mini systemd[1]: Failed to start LSB: dropbox service.
Dec 04 23:53:42 mac-mini systemd[1]: dropbox.service: Unit entered failed state.
Dec 04 23:53:42 mac-mini systemd[1]: dropbox.service: Failed with result 'exit-code'.

 

 

and

 

 

Dec 04 23:54:09 mac-mini sudo[852]:    ollie : TTY=tty1 ; PWD=/home/ollie ; USER=root ; COMMAND=/bin/systemctl service
Dec 04 23:54:09 mac-mini sudo[852]: pam_unix(sudo:session): session opened for user root by ollie(uid=0)
Dec 04 23:54:09 mac-mini sudo[852]: pam_unix(sudo:session): session closed for user root
Dec 04 23:54:12 mac-mini sudo[854]:    ollie : TTY=tty1 ; PWD=/home/ollie ; USER=root ; COMMAND=/bin/systemctl
Dec 04 23:54:12 mac-mini sudo[854]: pam_unix(sudo:session): session opened for user root by ollie(uid=0)
Dec 04 23:54:13 mac-mini systemd-timesyncd[388]: Timed out waiting for reply from 195.219.205.9:123 (2.debian.pool.ntp.org).
Dec 04 23:54:13 mac-mini systemd-timesyncd[388]: Synchronized to time server 178.79.152.182:123 (2.debian.pool.ntp.org).
Dec 04 23:54:16 mac-mini sudo[854]: pam_unix(sudo:session): session closed for user root
Dec 04 23:54:20 mac-mini sudo[857]:    ollie : TTY=tty1 ; PWD=/home/ollie ; USER=root ; COMMAND=/bin/systemctl dropbox.service
Dec 04 23:54:20 mac-mini sudo[857]: pam_unix(sudo:session): session opened for user root by ollie(uid=0)
Dec 04 23:54:20 mac-mini sudo[857]: pam_unix(sudo:session): session closed for user root
Dec 04 23:54:24 mac-mini sudo[859]:    ollie : TTY=tty1 ; PWD=/home/ollie ; USER=root ; COMMAND=/bin/systemctl dropbox
Dec 04 23:54:24 mac-mini sudo[859]: pam_unix(sudo:session): session opened for user root by ollie(uid=0)
Dec 04 23:54:24 mac-mini sudo[859]: pam_unix(sudo:session): session closed for user root
Dec 04 23:54:31 mac-mini sudo[861]:    ollie : TTY=tty1 ; PWD=/home/ollie ; USER=root ; COMMAND=/bin/systemctl status dropbox.service
Dec 04 23:54:31 mac-mini sudo[861]: pam_unix(sudo:session): session opened for user root by ollie(uid=0)
Dec 04 23:54:31 mac-mini sudo[861]: pam_unix(sudo:session): session closed for user root
Dec 04 23:55:14 mac-mini sudo[864]:    ollie : TTY=tty1 ; PWD=/home/ollie ; USER=root ; COMMAND=/bin/systemctl status dropbox.service
Dec 04 23:55:14 mac-mini sudo[864]: pam_unix(sudo:session): session opened for user root by ollie(uid=0)
Dec 04 23:55:14 mac-mini sudo[864]: pam_unix(sudo:session): session closed for user root
Dec 04 23:55:40 mac-mini sudo[868]:    ollie : TTY=tty1 ; PWD=/home/ollie ; USER=root ; COMMAND=/bin/systemctl status dropbox.service
Dec 04 23:55:40 mac-mini sudo[868]: pam_unix(sudo:session): session opened for user root by ollie(uid=0)
Dec 04 23:55:40 mac-mini sudo[868]: pam_unix(sudo:session): session closed for user root
Dec 04 23:55:47 mac-mini sudo[871]:    ollie : TTY=tty1 ; PWD=/home/ollie ; USER=root ; COMMAND=/bin/systemctl
Dec 04 23:55:47 mac-mini sudo[871]: pam_unix(sudo:session): session opened for user root by ollie(uid=0)
Dec 04 23:55:54 mac-mini sudo[871]: pam_unix(sudo:session): session closed for user root
Dec 04 23:56:01 mac-mini sudo[874]:    ollie : TTY=tty1 ; PWD=/home/ollie ; USER=root ; COMMAND=/bin/journalctl -xe
Dec 04 23:56:01 mac-mini sudo[874]: pam_unix(sudo:session): session opened for user root by ollie(uid=0)
Dec 04 23:56:07 mac-mini sudo[874]: pam_unix(sudo:session): session closed for user root
Dec 04 23:56:11 mac-mini sudo[877]:    ollie : TTY=tty1 ; PWD=/home/ollie ; USER=root ; COMMAND=/bin/journalctl -xe
Dec 04 23:56:11 mac-mini sudo[877]: pam_unix(sudo:session): session opened for user root by ollie(uid=0)

1 Accepted Solution

Accepted Solutions

Re: Headless Debian 9 install will not automatically start on boot

Jane
Dropboxer
Hey Ollie3, thanks for posting this question on the Dropbox Forum, I’ll do my best to help you out on that as much as I can, welcome aboard! 
 
As currently the fully supported Linux distributions found here don't include Debian & are:
 
  • Ubuntu 10.04 or higher
  • Fedora 19 or higher 

I'd take a different course on the case. 

 

My best advice on the matter would be to check here, as Dropbox runs within individual user accounts rather than as a single service that many people access.
 
As a rule of thumb, we recommend that only one user account accesses a given Dropbox folder, and that this folder is located on the main drive of your computer or on a drive that is physically connected to the computer. Could you check this advice & let me know how these steps work for you? 
 
Thanks & I hope you have a wonderful Friday! 
 
[This thread is now closed due to inactivity. If you have a similar or new question, you can ask here]
 

 


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

View solution in original post

1 Reply 1

Re: Headless Debian 9 install will not automatically start on boot

Jane
Dropboxer
Hey Ollie3, thanks for posting this question on the Dropbox Forum, I’ll do my best to help you out on that as much as I can, welcome aboard! 
 
As currently the fully supported Linux distributions found here don't include Debian & are:
 
  • Ubuntu 10.04 or higher
  • Fedora 19 or higher 

I'd take a different course on the case. 

 

My best advice on the matter would be to check here, as Dropbox runs within individual user accounts rather than as a single service that many people access.
 
As a rule of thumb, we recommend that only one user account accesses a given Dropbox folder, and that this folder is located on the main drive of your computer or on a drive that is physically connected to the computer. Could you check this advice & let me know how these steps work for you? 
 
Thanks & I hope you have a wonderful Friday! 
 
[This thread is now closed due to inactivity. If you have a similar or new question, you can ask here]
 

 


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

View solution in original post

Poll
Do you work or study in the creative industry? If so, which area?
If you use Adobe, don't forget to check out our latest integrations update here.
Who's talking

Top contributors to this post

  • User avatar
    Jane Dropboxer
What do Dropbox user levels mean?
Need more support?