Webgui requires credentials

What is the problem you are having with rclone?

1) If I call webgui (rclone rcd --rc-web-gui) the credentials are required when website is opened
2) If I try to change password via rclone rcd --rc-pass somepassword, I get NOTICE: Serving remote control on *ttp://localhost:5572/

What is your rclone version (output from rclone version)

- os/arch: linux/amd64
- go version: go1.15.7```

#### Which OS you are using and how many bits (eg Windows 7, 64 bit)
```Ubuntu 20.10 64bits```

####  Which cloud storage system are you using? (eg Google Drive)
```Google Drive (paid one)```


#### The command you were trying to run (eg `rclone copy /tmp remote:tmp`)  
```As I wrote above```


#### The rclone config contents with secrets removed.  

[PDF]
type = drive
scope = drive
token = ***********
team_drive = 0ACmNuXp9NUaTUk9PVA
root_folder_id = 0ACmNuXp9NUaTUk9PVA
client_id = *************
client_secret = ************



#### A log from the command with the `-vv` flag  

rclone rcd --rc-web-gui -vv
2021/02/19 15:43:24 DEBUG : rclone: Version "v1.54.0" starting with parameters ["rclone" "rcd" "--rc-web-gui" "-vv"]
2021/02/19 15:43:24 DEBUG : Current tag: v2.0.3, Release tag: v2.0.3
2021/02/19 15:43:24 NOTICE: Web GUI exists. Update skipped.
2021/02/19 15:43:24 INFO : No username specified. Using default username: gui
2021/02/19 15:43:24 INFO : No password specified. Using random password: PahXvPugML-GR3DLrRGetg
2021/02/19 15:43:24 NOTICE: Serving Web GUI
2021/02/19 15:43:24 INFO : Using --user gui --pass XXXX as authenticated user
2021/02/19 15:43:24 NOTICE: Serving remote control on *ttp://localhost:5572/
2021/02/19 15:43:24 DEBUG : login_token "Z3VpOlBhaFh2UHVnTUwtR1IzRExyUkdldGc="
2021/02/19 15:43:31 INFO : /core/version: 127.0.0.1:60556: Unauthorized request from gui
2021/02/19 15:43:31 INFO : /core/stats: 127.0.0.1:60564: Unauthorized request from gui
2021/02/19 15:44:04 INFO : /core/stats: 127.0.0.1:60564: Unauthorized request from gui
2021/02/19 15:44:04 INFO : /core/version: 127.0.0.1:60556: Unauthorized request from gui
2021/02/19 15:44:04 INFO : /core/stats: 127.0.0.1:60560: Unauthorized request from gui
2021/02/19 15:44:04 INFO : /core/bwlimit: 127.0.0.1:60544: Unauthorized request from gui
2021/02/19 15:44:04 INFO : /core/stats: 127.0.0.1:60552: Unauthorized request from gui
2021/02/19 15:44:04 INFO : /core/stats: 127.0.0.1:60548: Unauthorized request from gui

You need to use that username and password if none is supplied. Make sure to clear cache on your browser as well.

To delete browser cache helped me. Thank you

Hi

I'm testing Rclone with Web Gui and it seems perfect.
But how can I reset username and password? Is it possible?
Thanks

hello and welcome to the forum,

you can set the username and password when you run the rcd command.
rclone rcd --rc-web-gui --rc-user username --rc-pass password

Can I use the same login on another PC?
Because sometimes I use different PC's to upload data.
Another question: do I need always to start Rclone from command line or can I save the webgui and login there?

not sure what you mean?

you want to run rclone on one PC and access that rclone instance from another PC?

For instance, I have 3 different PC that I use to upload files to my google drive. Sometimes can be pc1, other times pc2 or even pc3.
What I want to know is if I need to have different configurations on each pc, but to access the same Google drive.

you would not need different configurations on each pc.

the rclone.conf file is portable and can be copied to any machine, any operating system.

Excellent.

Just to finish: do I need to always start the app over command line or can I go directly to the browser?

rclone is a command line app, that happens to have a GUI.
so you would always have to start rclone via the command line.

you can create a simple batch script to start rclone with whatever flags you want.

another gui, that many rcloners use and trust is
https://kapitainsky.github.io/RcloneBrowser/

also, another option is rclone mount, which would have the PDF remote appear as local storage.
you can use whatever gui tools and file explorers that you want.
rclone mount PDF: /path/to/local/folder

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