Jump to content
dkg

Dropbox changes

Recommended Posts

Hi,

Included in drobbins' recent Dropbox announcement was, "No longer has an initscript."  I use the initscript on one system so that Dropbox contents would always sync immediately, even if I was not logged in.  This is a server that runs 24x7 and is the primary backup source (as in pushed to backup locations, which means I need the source to be current) for my Dropbox contents.  What is an alternate way to achieve this?

Share this post


Link to post
Share on other sites

I got this error:

ERROR: net-misc/dropbox-39.4.49::net-kit failed (prepare phase):
 *   eapply_user (or default) must be called in src_prepare()!
 * 
 * Call stack:
 *            ebuild.sh, line  776:  Called __ebuild_main 'prepare'
 *   phase-functions.sh, line 1053:  Called __dyn_prepare
 *   phase-functions.sh, line  383:  Called die
 * The specific snippet of code:
 *              die "eapply_user (or default) must be called in src_prepare()!"

It is xfce4 desktop.

Share this post


Link to post
Share on other sites
19 hours ago, dkg said:

Hi,

Included in drobbins' recent Dropbox announcement was, "No longer has an initscript."  I use the initscript on one system so that Dropbox contents would always sync immediately, even if I was not logged in.  This is a server that runs 24x7 and is the primary backup source (as in pushed to backup locations, which means I need the source to be current) for my Dropbox contents.  What is an alternate way to achieve this?

I'm in the same situation. What should be do in order to get Dropbox sync without login in into the server?

Share this post


Link to post
Share on other sites

Yes, sorry for the inconvenience of this change -- dropbox is supposed to be set up under each user's home directory rather than installed centrally. While this fixes quite a few other complications it does make things more complicated for you. Fortunately there is a pretty good way to get dropbox working the way you want -- using /etc/local.d. See if this works for your needs. Try creating an /etc/local.d/dropbox.start script that will start dropbox as the user of your choice when the system boots:

#!/bin/bash
su username -c "/usr/bin/dropbox start"

Then...

# chmod +x /etc/local.d/dropbox.start

This will run dropbox as user "username" when the system starts.

Share this post


Link to post
Share on other sites
13 hours ago, drobbins said:

Try creating an /etc/local.d/dropbox.start script that will start dropbox as the user of your choice when the system boots:


#!/bin/bash
su username -c "/usr/bin/dropbox start"

Then...


# chmod +x /etc/local.d/dropbox.start

 

Seems to work just fine, thanks!

Share this post


Link to post
Share on other sites

I would like to bring up some alternatives to dropbox as dropbox is proprietary and also doesn't have very good security history.

Security issues:

Alternatives:

  • Nextcloud
    • If you don't mind setting up your own server, NextCloud is a great Dropbox alternative because:
      • it's open source,
      • you control your data,
      • the limit of your storage is determined only by the limit of your hard drive.
  • Syncthing
  • Cozy
  • IPFS

From those I would recommend syncthing it is really set and forget with auto-updates etc.

 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...