Error backup for Gdrive

Hello.
Please help. I have installed rcone on vps server. I have made the settings and while in S3 Contabo the backup works correctly, in google drive I get this error. The error is from virtuamin.

2024/12/15 22:13:00 CRITICAL: Failed to create file system for "gdrive:VpsBackup": didn't find section in config file

welcome to the forum,

that remote does not exist, what is the name of the remote you created?

please post the output of rclone config redacted

oot@cp:~# rclone config redacted
[VpsBackup]
type = drive
scope = drive
team_drive =

[eu2]
type = s3
provider = Ceph
access_key_id = XXX
secret_access_key = XXX
endpoint = https://eu2.contabostorage.com/vps-backup

Double check the config for sensitive info before posting publicly

root@cp:~#

ok, the remote you created is named VpsBackup

rclone lsd VpsBackup:

Yes, that's right, VpsBackup is the name.

root@cp:~# rclone lsd VpsBackup:
2024/12/15 22:45:30 CRITICAL: Failed to create file system for "VpsBackup:": drive: failed when making oauth client: failed to create oauth client: empty token found - please run "rclone config reconnect VpsBackup:"
root@cp:~#

now, run this commands.

  1. rclone config reconnect VpsBackup:
  2. rclone lsd VpsBackup: -vv

root@cp:~# rclone config reconnect VpsBackup:
Use web browser to automatically authenticate rclone with remote?

  • Say Y if the machine running rclone has a web browser you can use
  • Say N if running rclone on a (remote) machine without web browser access
    If not sure try Y. If Y failed, try N.

y) Yes (default)
n) No
y/n> υ
This value must be a single character, one of the following: y, n.
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 reconnect remote: [flags]

Flags:
-h, --help help for reconnect

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.

2024/12/15 22:51:19 CRITICAL: Fatal error: config failed to refresh token: failed to start auth webserver: listen tcp 127.0.0.1:53682: bind: address already in use
root@cp:~# rclone lsd VpsBackup: -vv
2024/12/15 22:51:37 DEBUG : rclone: Version "v1.68.2" starting with parameters ["rclone" "lsd" "VpsBackup:" "-vv"]
2024/12/15 22:51:37 DEBUG : Creating backend with remote "VpsBackup:"
2024/12/15 22:51:37 DEBUG : Using config file from "/root/.config/rclone/rclone.conf"
2024/12/15 22:51:37 CRITICAL: Failed to create file system for "VpsBackup:": drive: failed when making oauth client: failed to create oauth client: empty token found - please run "rclone config reconnect VpsBackup:"
root@cp:~#

need figure out which executable is using port 53682 ?

do have any other instances of rclone running?
if so, kill all instances and try again?

How can I check port 53682 from the vps??

https://linuxize.com/post/check-listening-ports-linux/

sudo netstat -tunlp

tcp 0 0 127.0.0.1:53682 0.0.0.0:* LISTEN 11033/rclone

well, as i mentioned, kill all instances and try again?

Can you tell me how to kill her?

if not sure how just reboot your system and start fresh

killall rclone

root@cp:~# killall rclone
root@cp:~#
Ok, I did it, now what should I do?

create a new remote for gdrive.

Ok, I'll try it and let you know.