Dropbox setup rclone

What is the problem you are having with rclone?

What is your rclone version

Rclone 1.54.1

Which OS you are using and how many bits

Mac OS Catalina 64 bit

Which cloud storage system are you using? (eg Google Drive)

Dropbox

The command you were trying to run

Choose Dropbox and then I follow the instructions here for Dropbox. 
Paste command here

The rclone config contents with secrets removed.

I have left both oauth client ID and secret blank as instructed.

hello and welcome to the forum,

you left this blank, so what is the problem?

What is the problem you are having with rclone?

It isn’t doing what is shown in the instructions.
So when you do the Dropbox setup for rclone I follow the instructions but I never get the link to visit the Dropbox oauth link.

It tells me to go to a browser and type rclone authorize Dropbox. Which does nothing. Or if I choose the other option that I’m not on a remote server I get it asking me to go to a local host which won’t work since the server is not local.
I checked and I’m running the latest rclone and all so I just can’t figure out it how to sync Dropbox.

trying to understand you situation?
so you are connected to a remote server via the command line, using ssh?

easy way:
create the rclone remote on the computer running macos and then simply copy the rclone config file to the server.

hard way, the way you are trying

that is not correct in two ways,

  • open a command prompt, not a web browser, on the macos or any computer that has a web browser installed.
  • the correct text to type is rclone authorize "dropbox"
    that will open a web browser to dropbox.com, you will have to login to dropbox.
    in the web browser, click allow and then go back to the command line where you ran rclone authorize "dropbox"
    and you will see this
rclone authorize "dropbox"
If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth?state=uDCV6g5zxX4zAeEh5CfKQg
Log in and authorize rclone for access
Waiting for code...
Got code
Paste the following into your remote machine --->
{"access_token":"sl.At5wOyL-","token_type":"bearer","refresh_token":"alENmsz4E6EAAAAAe7WCQS6NW--HX7k","expiry":"0000-03-28T20:39:24.8497353-04:00"}
<---End paste

so copy and paste that text into the rclone running on the remote machine, which is that server

i cannot see your screen,

exactly what did you type?
based on your post, rclone authorize Dropbox, which is not correct.
the correct text is rclone authorize "dropbox"

so run that command exactly, and if it does not work, the copy and paste from the terminal into a post.
include both the command and output

When I type in that command I get rclone command not found.
I had already tried that. But in the instructions here on the group it doesn’t say to do that it says that I should get a link that says OAUTH and that I should be able to copy that link into the browser.

what command?
you need to copy and paste from the command line terminal into a post here at the forum,
post both the exact command and output

Last login: Sun Mar 28 12:13:51 on ttys001

-sh-3.2$ rclone authorize "dropbox"

-sh: rclone: command not found

This is exactly what I see in my terminal

on which computer did you run that command?

On the same one im using to run rclone.I have one terminal window open with the ssh then I opened another terminal window as you stated to do. Then that is what I get.

Yes my mac of course but I’m SSH into the server.
When I open rclone it just does this script of text and you can’t type anything

since the server is headless, does not have a GUI and does not have a web browser, you need to do a remote setup. you need two computers running rclone at the same time, each running different commands
Remote Setup

rclone authorize "dropbox" has to be run on a computer that can run a web browser and has rclone installed.

as i suggest up above, try the easy way
https://rclone.org/remote_setup/#configuring-by-copying-the-config-file

Yes but that does not ever actually open anything. I have read that page and nothing happens. That is what im saying. That 127 link does not do anything and typing that rclone authorize "dropbox" does nothing either.

you need to run that on the macos, as it has a web browser that can do oauth2

You do not understand I have been but it does NOTHING. I get a bunch of google links

for example, this is what i get, it should open a web browser and if the web browser does not appear then copy and paste that google url into a web browser, login to dropbox

rclone authorize "dropbox"
If your browser doesn't open automatically go to the following link: http://127.0.0.1:53682/auth?state=w1KEwBhlSJGGHV1Elt6pHQ
Log in and authorize rclone for access
Waiting for code...

If I type it in terminal I get the commands I posted above. If I put that command in a browser it produces google links.
if I enter http://127.0.0.1:53682/auth?state=w1KEwBhlSJGGHV1Elt6pHQ it says
Can not open page because it cant connect to http://127.0.0.1

there is no command to put into the browser, do you mean the weblink http://127.0.0.1:53682/auth?state=w1KEwBhlSJGGHV1Elt6pHQ?

which terminal, the macos or the ssh session?
run rclone authorize "dropbox" on that macos local terminal, not ssh.

Yes and when I do that it says as I keep telling you that it says Rclone command not found. I know to do it in the command line not in the SSH session I cant do it there.

[Command not found: rclone]

[Could not create a new process and open a pseudo-tty.]

And yes I link in the browser does nothing.

ok, now i see what you mean.

if you want to run rclone, you have to install it first.