Rclone verbinden mit onedrive buisness

my rclone of my webserver dont connect with my onedrive buisness, can me help me please?

Option Storage.
Type of storage to configure.
Choose a number from below, or type in your own value.
1 / 1Fichier
\ (fichier)
2 / Akamai NetStorage
\ (netstorage)
3 / Alias for an existing remote
\ (alias)
4 / Amazon Drive
\ (amazon cloud drive)
5 / Amazon S3 Compliant Storage Providers including AWS, Alibaba, Ceph, China Mobile, Digital Ocean, Dreamhost, IBM COS, Lyve Cloud, Minio, Netease, RackCorp, Scaleway, SeaweedFS, StackPath, Storj, Tencent COS and Wasabi
\ (s3)
6 / Backblaze B2
\ (b2)
7 / Better checksums for other remotes
\ (hasher)
8 / Box
\ (box)
9 / Cache a remote
\ (cache)
10 / Citrix Sharefile
\ (sharefile)
11 / Compress a remote
\ (compress)
12 / Dropbox
\ (dropbox)
13 / Encrypt/Decrypt a remote
\ (crypt)
14 / Enterprise File Fabric
\ (filefabric)
15 / FTP Connection
\ (ftp)
16 / Google Cloud Storage (this is not Google Drive)
\ (google cloud storage)
17 / Google Drive
\ (drive)
18 / Google Photos
\ (google photos)
19 / Hadoop distributed file system
\ (hdfs)
20 / Hubic
\ (hubic)
21 / In memory object storage system.
\ (memory)
22 / Jottacloud
\ (jottacloud)
23 / Koofr, Digi Storage and other Koofr-compatible storage providers
\ (koofr)
24 / Local Disk
\ (local)
25 / Mail.ru Cloud
\ (mailru)
26 / Mega
\ (mega)
27 / Microsoft Azure Blob Storage
\ (azureblob)
28 / Microsoft OneDrive
\ (onedrive)
29 / OpenDrive
\ (opendrive)
30 / OpenStack Swift (Rackspace Cloud Files, Memset Memstore, OVH)
\ (swift)
31 / Pcloud
\ (pcloud)
32 / Put.io
\ (putio)
33 / QingCloud Object Storage
\ (qingstor)
34 / SSH/SFTP Connection
\ (sftp)
35 / Sia Decentralized Cloud
\ (sia)
36 / Storj Decentralized Cloud Storage
\ (storj)
37 / Sugarsync
\ (sugarsync)
38 / Transparently chunk/split large files
\ (chunker)
39 / Union merges the contents of several upstream fs
\ (union)
40 / Uptobox
\ (uptobox)
41 / Webdav
\ (webdav)
42 / Yandex Disk
\ (yandex)
43 / Zoho
\ (zoho)
44 / http Connection
\ (http)
45 / premiumize.me
\ (premiumizeme)
46 / seafile
\ (seafile)
Storage> 28
Option client_id.
OAuth Client Id.
Leave blank normally.
Enter a value. Press Enter to leave empty.
client_id>
Option client_secret.
OAuth Client Secret.
Leave blank normally.
Enter a value. Press Enter to leave empty.
client_secret>
Option region.
Choose national cloud region for OneDrive.
Choose a number from below, or type in your own string value.
Press Enter for the default (global).
1 / Microsoft Cloud Global
\ (global)
2 / Microsoft Cloud for US Government
\ (us)
3 / Microsoft Cloud Germany
\ (de)
4 / Azure and Office 365 operated by 21Vianet in China
\ (cn)
region> 1
Edit advanced config?
y) Yes
n) No (default)
y/n> n
Use auto config?

  • Say Y if not sure
  • Say N if you are working on a remote or headless machine

y) Yes (default)
n) No
y/n> y
Error: config failed to refresh token: failed to start auth webserver: listen tcp 127.0.0.1:53682: bind: address already in use
Usage:
rclone config [flags]
rclone config [command]

Available Commands:
create Create a new remote with name, type and options.
delete Delete an existing remote.
disconnect Disconnects user from remote
dump Dump the config file as JSON.
file Show path of configuration file in use.
password Update password in an existing remote.
paths Show paths used for configuration, cache, temp etc.
providers List in JSON format all the providers and options.
reconnect Re-authenticates user with remote.
show Print (decrypted) config file, or the config for a single remote.
touch Ensure configuration file exists.
update Update options in an existing remote.
userinfo Prints info about logged in user of remote.

Flags:
-h, --help help for config

Additional help topics:
rclone config edit Enter an interactive configuration session.

Use "rclone [command] --help" for more information about a command.
Use "rclone help flags" for to see the global flags.
Use "rclone help backends" for a list of supported services.

2022/08/11 17:02:52 Fatal error: config failed to refresh token: failed to start auth webserver: listen tcp 127.0.0.1:53682: bind: address already in use

This means that something is using the port 53682 already. This is most likely a previous rclone config left running, so find that and kill it and all should be well.

i have remots aktivatein the config, this is my first remote.
How can i find the left running?

It might not be rclone.

Here is now to do it on Windows How to Check Which Process Is Using Port 8080 - DZone DevOps replace 8080 with 53682 in that tutorial.

Under linux netstat -tanp | grep 53682

image
linux server is on a server farm

can it be that it also has something to do with the firewall?

who has a solution?
with me it goes neither nor on local windows or linuxserver on a farm

If you are a headless machine, you'd want to do remote setup:

Remote Setup (rclone.org)

Does that server have a graphical browser?

I do this

Configuring using SSH Tunnel

‎Linux- und MacOS-Benutzer können SSH Tunnel verwenden, um den Headless-Box-Port 53682 mit dem folgenden Befehl auf den lokalen Computer umzuleiten:‎

ssh -L localhost:53682:localhost:53682 username@remote_server

‎Führen Sie dann auf der Headless-Box config aus und beantworten Sie die Frage.‎rclone Y Use auto config?

...
Remote config
Use auto config?
 * Say Y if not sure
 * Say N if you are working on a remote or headless machine
y) Yes (default)
n) No
y/n> y

Then copy and paste the auth url http://127.0.0.1:53682/auth?state=xxxxxxxxxxxx to the browser on your local machine, complete the auth and it is done.

The Link http://127.0.0.1:53682/auth?state=XXX dont open in my Browser

it loads but does not do on the page

Something in your tunnel might not be working.

Why make it painful and just use the remote setup I linked?

Do I need to share anything in the Office 365Admin center?

How do I know if the tunnel works or not?

I have also tried to set it up locally and we have exactly the same error that the page does not open.

Is there no one here who has connected Rclone with onedrive businness?
and possibly had the same problems

Many folks use OneDrive Business and just follow the directions without much of an issue.

I'm really not sure how to help as you've not shown what you are doing isn't working.

What does setup locally mean? You did what and what did not work?

Did you try the link I posted?

dont work with windows local or remote to ssh per linux.

i have allways the same errors

You have a few options:

  1. Use the remote setup as described above -> Remote Setup and if you are having a problem, share the details / specifics
  2. Don't use the remote setup, use the machine you are using now with a browser and just copy over the rclone.conf and do it on a graphical machine that has a browser. If you are having a problem, share the details/specifics.

You deleted the stuff in the help and support template so not sure what version you are running so bit of a guessing game.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.