andreafabrizi / Dropbox-Uploader

Dropbox Uploader is a BASH script which can be used to upload, download, list or delete files from Dropbox, an online file sharing, synchronization and backup service.
https://www.andreafabrizi.it/2016/01/01/Dropbox-Uploader/
GNU General Public License v3.0
6.56k stars 1.08k forks source link

It is recommended to run ./dropbox_uploader.sh unlink ?? #572

Open PD5DJ opened 1 year ago

PD5DJ commented 1 year ago

Ok guys,

What is going on here, I see many people having this issue, but many have posted no solution after they fixed it, or if there was a solution, that didnt worked for me.

I am trying to install this when logged in to my own account. I have run this setup several times. over and over again.

$ git clone https://github.com/andreafabrizi/Dropbox-Uploader.git $ cd ~/Dropbox-Uploader/ $ sudo chmod +x dropbox_uploader.sh $ ./dropbox_uploader.sh

Entered all the credentials needed, key, secret & token

$ ./dropbox_uploader.sh list / Gives me:

Error loading data from /home/username/.dropbox_uploader... It is recommended to run ./dropbox_uploader.sh unlink

What is going on here?

ingopmeyer commented 1 year ago

Me the same. So annoying and I have no chance to get it running. Noboby can help here? Seems the script is not working anymore

Cheers, Ingo

umiyuki commented 1 year ago

Hello. I ran into the same problem but solved it. First, I deleted the /root/.dropboxuploader file and then ran . /dropbox_uploader.sh, you will be able to enter App key and App secret again. In my case, the cause of the problem was that the App key, App secret, or access code I copy-pasted at this time contained line feeds. I was careful to copy-paste without line feed, and it worked like a charm. Hope this helps.

PD5DJ commented 1 year ago

/root/.dropboxuploader?

umiyuki commented 1 year ago

The /root/.dropboxuploader file is generated when the script is first run and seems to store API keys and other information. In my case, by deleting this file, I was able to enter the API key again. You don't need to worry about it before running the script for the first time.

Tanger48 commented 1 year ago

I have the same problem (on RaspberryPi). Can't find the /root/.dropboxuploader file... Any idea?

cschene commented 1 year ago

I have the same problem on Raspberry PI. There is no such file any where on my PI called .dropboxuploader

cschene commented 1 year ago

I finally found a solution to this issue.

1) I ran this find command to find the location of the .dropbox_uploader file .find / -name .dropbox_uploader -print 2>/dev/null

2) I found the file here: /home/pi/.dropbox_uploader and deleted it

3) I then went through the process of linking to my Dropbox APP and it worked.

hope this helps

peterphalen commented 1 year ago

I was able to get past this by manually adding the dropbox access token to the .dropbox_uploader file. I found the configure command didn't actually add the token to the file