What is the problem you are having with rclone?
Attempting to use Rclone Web GUI in ShinyProxy. Have tried a few solutions, the best so far is using --rc-addr 0.0.0.0:5572
and launching container with port 5572.
The Web GUI "Something went wrong" screen appears.
Run the command 'rclone version' and share the full output of the command.
rclone v1.62.2
- os/version: ubuntu 22.04 (64 bit)
- os/kernel: 5.10.16.3-microsoft-standard-WSL2 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.2
- go/linking: static
- go/tags: none
Which cloud storage system are you using? (eg Google Drive)
OneDrive
The command you were trying to run (eg rclone copy /tmp remote:tmp
)
rclone rcd --rc-web-gui --rc-addr=0.0.0.0:5572 --rc-no-auth -vv
(--rc-no-auth used because already logged in via ShinyProxy)
For those familiar with ShinyProxy application.yml:
- id: rclone
display-name: RClone
container-image: rclone/rclone
container-cmd: ["rclone rcd --rc-web-gui --rc-addr=0.0.0.0:5572 --rc-no-auth -vv"]
container-volumes:
- "${PWD}/.rclone/config:/config"
port: 5572
(This is a simplified version of the application.yml, can do a full reprex if that is needed)
I tried the instructions at GUI (e.g. ShinyProxy is hosted at localhost:8080 so --rc-addr localhost:8080
and container for Rclone was served at localhost:8080/app/rclone so --rc-baseurl "/app/rclone"
) but they didn't work as well as the solution above.
A log from the command with the -vv
flag
2023/05/04 07:10:43 DEBUG : rclone: Version "v1.62.2" starting with parameters ["/usr/lib/rclone" "rcd" "--rc-web-gui" "--rc-addr=0.0.0.0:5572" "--rc-no-auth" "-vv"]
2023/05/04 07:10:44 ERROR : Error reading tag file at /root/.cache/rclone/webgui/tag
2023/05/04 07:10:44 DEBUG : Current tag: , Release tag: v2.0.5
2023/05/04 07:10:44 INFO : A release (v2.0.5) for gui is present at https://github.com/rclone/rclone-webui-react/releases/download/v2.0.5/currentbuild.zip. Use --rc-web-gui-update to update. Your current version is ()
2023/05/04 07:10:44 NOTICE: A new release for gui (v2.0.5) is present at https://github.com/rclone/rclone-webui-react/releases/download/v2.0.5/currentbuild.zip
2023/05/04 07:10:44 NOTICE: Downloading webgui binary. Please wait. [Size: 4763452, Path : /root/.cache/rclone/webgui/v2.0.5.zip]
2023/05/04 07:10:45 NOTICE: Unzipping webgui binary
2023/05/04 07:10:45 NOTICE: It is recommended to use web gui with auth.
2023/05/04 07:10:45 NOTICE: Serving Web GUI
2023/05/04 07:10:45 NOTICE: Serving remote control on http://[::]:5572/