WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: dropbox - annoying login-process with mc on usbstick in mount-mode (loop-device)  (Read 4165 times)

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
hi friends,

i use a functional dropbox-configuration, but i don't like the long, annoying login-process:
always the need of username, password, confirmation that i want to use the present config, then the invitation to an information tour that have to be skipped and at the end the finish button that has to be pressed....
is there a way to use command line options or a config file to simplify the connection-process?

i already searched in the web for command line options but did not succeed yet.
do you have any hint or help for me?

coreplayer2 told me that in his frugal-installation this login-process doesn't appear anymore after his initial installation.
http://forum.tinycorelinux.net/index.php/topic,13289.msg74039.html#msg74039
i tried to figure out which config-files are needed and i backup the whole ~/.dropbox folder.
last time i backuped even the ~/Dropbox folder with the whole files of the dropbox-cloud.
nevertheless the login-process is needed every time.
http://forum.tinycorelinux.net/index.php/topic,13289.msg74023.html#msg74023

thank you every help, reported experience or for your contributions.
« Last Edit: November 11, 2012, 11:52:53 AM by netnomad »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
A normal backup will backup the /home/tc directory.
You must not be running backup.

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
hi gerald_clark,

thank you for your reply.

Quote
A normal backup will backup the /home/tc directory.
You must not be running backup.

for a lean backup i put only essential config files and
avoid "unneeded" folders and files that just bloat the backup-file.

up to now i tried different approaches, but the result was always the same :(

does someone uses dropbox in a live- or mount-mode on an usbstick  with loop-devices?

thank you for your replies.
« Last Edit: November 11, 2012, 01:15:19 PM by netnomad »

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
Dropbox only makes sense with persistent storage.
I run drop box but have a home= boot option.
Therefore, I have removed home from .filetool.lst.

Offline lverns

  • Newbie
  • *
  • Posts: 29
Quote
Dropbox only makes sense with persistent storage.
If by "persistent storage", you mean "writable media that retains data without power", then I agree.

However, upon the initial setup of Dropbox it allows you to choose a different location for the actual data. (e.g. /mnt/sda1/Dropbox instead of /home/tc/Dropbox)
It seems that this would allow you to keep your credentials in mydata.tgz while keeping the potentially large data files directly on the harddrive, but my experience tells me differently.

But really, shouldn't this work, in theory?

Anyway, I'll keep poking around to see if I can make this work.

Offline gerald_clark

  • TinyCore Moderator
  • Hero Member
  • *****
  • Posts: 4254
I just use a symlink.
ln -s /mnt/sda1/Dropbox  /home/tc/Dropbox

Offline lverns

  • Newbie
  • *
  • Posts: 29
Yeah, sym-links should work nicely also, but they don't for me.

Perhaps netnomad and my environments are different from gerald_clark's in some significant way:

Mine:
TC version: 4.5.6
Dropbox version: latest in repo
backup: /home and /opt  (~/Dropbox is a symbolic link)

@gerald_clark & netnomad:
     could you please post the above info for your setups?

Thanks,
lverns

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
hi friends,

my tinycore-environment is on an usbstick in live- or mount-mode (loop-devices) with encrypted backup.

these are my main bootcodes:
waitusb=5:LABEL=tc
protect
restore=LABEL=tc
tce=LABEL=tc/tce4
mydata=core

with the help of the .filetool.lst my dropbox-config-files are in my backup included.
usually i didn't backup my ~/Dropbox-folder, but for the purpose of testing i put also the Dropbox-folder in my .filetool.lst... but nevertheless it's always the same initiation-process:
always the need of username, password, confirmation that i want to use the present configuration, then the invitation to an information tour that have to be skipped and at the end the finish button that has to be pressed....

hi iverns,
what else do you want to know?

mc-version 4.7 with fluxbox on xvesa
all packages updated, even depfiles and md5sums, orphan-packages deleted.
« Last Edit: November 18, 2012, 11:06:55 AM by netnomad »

Offline lverns

  • Newbie
  • *
  • Posts: 29
@netnomad:
Just two more questions: What version of dropbox are you running? Is it the newest one in the repo? Does dropbox say "Dropbox is running from and unsupported location" upon starting after boot? If so, then my problem is the same as yours.

I was hoping that upgrading to the latest version of TC would fix the issue, but I doubt it will since you're running it and still have the issue. I don't believe that I experienced this issue with previous versions of dropbox.tcz so maybe I should contact the maintainers and see if they have an old copy that could be tried.

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
I have drobbox installed on multiple (maybe as many as 50) systems, virtual boxes, USB thumb drives etc etc..   I have seen these errors at an early stage in dropbox usage but haven't seen these errors in a very long time

Maybe the file system is an issue?  (will test this right now)  I'm a huge fan of symlinks which always work,  sometimes those symlinks need backing up?  just depends on your system configuration.

« Last Edit: November 19, 2012, 01:11:18 AM by coreplayer2 »

Offline netnomad

  • Hero Member
  • *****
  • Posts: 1026
@netnomad:
Just two more questions: What version of dropbox are you running?
Is it the newest one in the repo?
Dropbox 1.4.17 from the rep und mc 4.7

Quote
Does dropbox say "Dropbox is running from and unsupported location" upon starting after boot?
If so, then my problem is the same as yours.

hi iverns,
i tried four different setups.
1.  ~/Dropbox in a live-environment and live-home-folder.
     only the config-files under ~/.dropbox are restored from my backup.
2.  ~/Dropbox in a live-environment and live-home-folder.
     the config-files under ~/.dropbox and ~/Dropbox are restored from my backup.
3. ~/Dropbox with symlink to an ext3-formated filesystem, partition of the tce-folder.
     only the config-files under ~/.dropbox are restored from my backup.
     i symlinked the Dropbox-folder manually before i started dropbox.
4. ~/Dropbox with symlink to an fat32-formated filesystem, partition of the first boot-partition.
     only the config-files under ~/.dropbox are restored from my backup.
     i symlinked the Dropbox-folder manually before i started dropbox.

always the same behavior, after the long login-process everything works fine :(
« Last Edit: November 19, 2012, 02:04:07 AM by netnomad »

Offline Arslan S.

  • Hero Member
  • *****
  • Posts: 825
I have submitted latest dropbox hoping that it will fix this login issue.

Regards,

S.Arslan

Offline coreplayer2

  • Hero Member
  • *****
  • Posts: 3020
Have simulated the guys dropbox usage and the sign in message does indeed appear, it's not something I experience because I use a USB stick with it's own Persistent home, opt & tce directories.  Lets hope the new version resolves their issues