rclone / rclone-webui-react

A full fledged UI for the rclone cloud sync tool
MIT License
1.26k stars 161 forks source link

Instructions for running web-gui #78

Open ridhishjain-zepto opened 4 years ago

ridhishjain-zepto commented 4 years ago

I installed rclone using script installation. Then in the root directory of rclone, I ran: rclone rcd --rc-web-gui --rc-user=ridhish --rc-pass=ridhish

Here's the outcome:

2020/04/08 10:18:16 NOTICE: A new release for gui is present at https://github.com/rclone/rclone-webui-react/releases/download/v0.1.0/currentbuild.zip
2020/04/08 10:18:16 NOTICE: Downloading webgui binary. Please wait. [Size: 4667684, Path :  /home/ridhish/.cache/rclone/webgui/v0.1.0.zip]
2020/04/08 10:23:54 Error while fetching the latest release of Web GUI: read tcp 192.168.43.18:60778->52.216.178.179:443: read: connection reset by peer

Is this a connection error or something else I need to resolve?

ridhishjain-zepto commented 4 years ago

Here's how it was solved:

Directory structure:

rclone
    |------rclone (cloned rclone/rclone)
    |------rclone-webui (cloned rclone/rclone-webui-react)

In rclone/rclone

sudo snap install curl curl https://rclone.org/install.sh | sudo bash then check the version via rclone version -> v1.51 finally to start backend rclone rcd --rc-user=<username> --rc-pass=<passowrd> --rc-allow-origin=* --rc-serve Configs should be visible on localhost:5572

In rclone/webui:

set username and password in ./webui.sh npm install npm run build npm start

login with:

http://localhost:5572
<username>
<password>

I think the readme is quite confusing regarding the instructions to setup rclone properly, can I update it? Like the directory structure should be mentioned

negative0 commented 4 years ago

Yes. You can go ahead and update it :)