Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: netnomad on November 11, 2012, 11:46:08 AM

Title: dropbox - annoying login-process with mc on usbstick in mount-mode (loop-device)
Post by: netnomad on November 11, 2012, 11:46:08 AM
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.
Title: Re: dropbox - annoying login-process with mc on usbstick in mount-mode (loop-device)
Post by: gerald_clark on November 11, 2012, 11:56:38 AM
A normal backup will backup the /home/tc directory.
You must not be running backup.
Title: Re: dropbox - annoying login-process with mc on usbstick in mount-mode (loop-device)
Post by: netnomad on November 11, 2012, 01:12:22 PM
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.
Title: Re: dropbox - annoying login-process with mc on usbstick in mount-mode (loop-device)
Post by: gerald_clark on November 11, 2012, 01:17:10 PM
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.
Title: Re: dropbox - annoying login-process with mc on usbstick in mount-mode (loop-device)
Post by: lverns on November 17, 2012, 04:47:54 PM
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.
Title: Re: dropbox - annoying login-process with mc on usbstick in mount-mode (loop-device)
Post by: gerald_clark on November 17, 2012, 06:43:53 PM
I just use a symlink.
ln -s /mnt/sda1/Dropbox  /home/tc/Dropbox
Title: Re: dropbox - annoying login-process with mc on usbstick in mount-mode (loop-device)
Post by: lverns on November 18, 2012, 09:56:19 AM
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
Title: Re: dropbox - annoying login-process with mc on usbstick in mount-mode (loop-device)
Post by: netnomad on November 18, 2012, 11:04:41 AM
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.
Title: Re: dropbox - annoying login-process with mc on usbstick in mount-mode (loop-device)
Post by: lverns on November 18, 2012, 03:41:39 PM
@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.
Title: Re: dropbox - annoying login-process with mc on usbstick in mount-mode (loop-device)
Post by: coreplayer2 on November 19, 2012, 12:02:35 AM
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.

Title: Re: dropbox - annoying login-process with mc on usbstick in mount-mode (loop-device)
Post by: netnomad on November 19, 2012, 01:51:18 AM
@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 :(
Title: Re: dropbox - annoying login-process with mc on usbstick in mount-mode (loop-device)
Post by: Arslan S. on November 30, 2012, 04:02:30 PM
I have submitted latest dropbox hoping that it will fix this login issue.

Regards,

S.Arslan
Title: Re: dropbox - annoying login-process with mc on usbstick in mount-mode (loop-device)
Post by: coreplayer2 on November 30, 2012, 04:24:58 PM
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