rclone-webui-angular icon indicating copy to clipboard operation
rclone-webui-angular copied to clipboard

Nice buttons but they don't do anything.

Open kupietools opened this issue 1 year ago • 4 comments

So...... is something supposed to happen when you click any of the button in this GUI? Because nothing does. The menu but drops down a menu,but no selections on it do anything, nor do any of the other icons in the top bar. They show tool tips but this seems to be a first draft of a UI with no actual functionality built yet.

That's the version run from the command line.

And I see that running it has now totally hosed my ability to use the original UI, too, so, that's super-nice.

Complete uninstall instructions would be really great.

kupietools avatar Jul 30 '24 06:07 kupietools

Were you running the latest release version by this command? rclone rcd --rc-web-gui --rc-web-gui-update --rc-web-fetch-url="https://s3.yuudi.dev/rwa/embed/version.json" Can you open developer's tool when you open the website and go to Console to see if there are any error message?

yuudi avatar Aug 04 '24 08:08 yuudi

So...... is something supposed to happen when you click any of the button in this GUI? Because nothing does. The menu but drops down a menu,but no selections on it do anything, nor do any of the other icons in the top bar. They show tool tips but this seems to be a first draft of a UI with no actual functionality built yet.

That's the version run from the command line.

And I see that running it has now totally hosed my ability to use the original UI, too, so, that's super-nice.

Complete uninstall instructions would be really great.

I have the same issue.

To be able to use the rclone-webui-react interface again, just add the --rc-web-gui-force-update option to your rclone rcd command without the --rc-web-fetch-url. Relevant doc

Below is everything from my browser console when attempting to use rclone rcd --rc-web-gui --rc-web-gui-update --rc-web-fetch-url="https://s3.yuudi.dev/rwa/embed/version.json". I'm on Firefox 132.0.1.

09:19:15.355
GET
http://gui:[email protected]:5572/en-US/
[HTTP/1.1 304 Not Modified 1ms]

09:19:15.443
GET
http://gui:[email protected]:5572/en-US/runtime.3723c4821156230a.js
[HTTP/1.1 304 Not Modified 1ms]

09:19:15.444
GET
http://gui:[email protected]:5572/en-US/main.9b02155997b9fff6.js
[HTTP/1.1 304 Not Modified 0ms]

09:19:15.444
GET
http://gui:[email protected]:5572/en-US/polyfills.4380b7bfdbfc4e56.js
[HTTP/1.1 304 Not Modified 0ms]

09:19:15.450
GET
http://gui:[email protected]:5572/en-US/styles.e65b2b784df25f61.css
[HTTP/1.1 304 Not Modified 0ms]

09:19:15.479 Expected media feature name but found ‘-ms-high-contrast’. styles.e65b2b784df25f61.css:1:11866
09:19:15.479 Expected media feature name but found ‘-ms-high-contrast’. styles.e65b2b784df25f61.css:1:11892
09:19:15.479 Expected media feature name but found ‘-ms-high-contrast’. styles.e65b2b784df25f61.css:1:12972
09:19:15.479 Expected media feature name but found ‘-ms-high-contrast’. styles.e65b2b784df25f61.css:1:12998
09:19:15.479 Expected media feature name but found ‘-ms-high-contrast’. styles.e65b2b784df25f61.css:1:14094
09:19:15.479 Expected media feature name but found ‘-ms-high-contrast’. styles.e65b2b784df25f61.css:1:14120
09:19:15.479
Unknown property ‘-moz-osx-font-smoothing’.  Declaration dropped. styles.e65b2b784df25f61.css:1:17610
09:19:15.479
Unknown property ‘-moz-osx-font-smoothing’.  Declaration dropped. styles.e65b2b784df25f61.css:1:30336
09:19:15.479
Unknown property ‘-moz-osx-font-smoothing’.  Declaration dropped. styles.e65b2b784df25f61.css:1:33158
09:19:15.479
Unknown property ‘-moz-osx-font-smoothing’.  Declaration dropped. styles.e65b2b784df25f61.css:1:52157
09:19:15.479
Unknown property ‘-moz-osx-font-smoothing’.  Declaration dropped. styles.e65b2b784df25f61.css:1:58177
09:19:15.479
Unknown property ‘-moz-osx-font-smoothing’.  Declaration dropped. styles.e65b2b784df25f61.css:1:62324
09:19:15.480 Expected media feature name but found ‘-ms-high-contrast’. styles.e65b2b784df25f61.css:1:89826
09:19:15.480 Expected media feature name but found ‘-ms-high-contrast’. styles.e65b2b784df25f61.css:1:89852
09:19:15.480 Expected media feature name but found ‘-ms-high-contrast’. styles.e65b2b784df25f61.css:1:90992
09:19:15.480 Expected media feature name but found ‘-ms-high-contrast’. styles.e65b2b784df25f61.css:1:91018
09:19:15.480 Expected media feature name but found ‘-ms-high-contrast’. styles.e65b2b784df25f61.css:1:92216
09:19:15.480 Expected media feature name but found ‘-ms-high-contrast’. styles.e65b2b784df25f61.css:1:92242
09:19:15.480
Unknown property ‘-moz-osx-font-smoothing’.  Declaration dropped. styles.e65b2b784df25f61.css:1:95677
09:19:15.500
Unknown property ‘-moz-osx-font-smoothing’.  Declaration dropped. en-US:1:241
09:19:15.517
XHRGET
http://gui:[email protected]:5572/en-US/assets/icons/github-mark-white.svg
[HTTP/1.1 304 Not Modified 0ms]

09:19:15.519
GET
http://gui:[email protected]:5572/en-US/226.cc1978da084e223d.js
[HTTP/1.1 304 Not Modified 0ms]

09:19:15.520
GET
http://gui:[email protected]:5572/en-US/113.f1f9a7937a8cb2f9.js
[HTTP/1.1 304 Not Modified 1ms]

09:19:15.533
GET
http://127.0.0.1:5572/en-US/favicon.ico
[HTTP/1.1 200 OK 0ms]

09:19:15.534 Unhandled Navigation Error: SecurityError: The operation is insecure. main.9b02155997b9fff6.js:3:359142

EDIT: It works in a "Private Browsing" session. I tried disabling ghostery and ublock-origin, but it still didn't work in a regular browser window. The console is showing a lot of warnings and errors in the private browsing session though. The terminal where I have the rcd running keeps throwing ERROR : rc: "job/status": error: job not found when I'm just clicking through the menus.

JSouthGB avatar Nov 12 '24 14:11 JSouthGB

Hi JSouthGB, Thanks for the detail, it helps. I found the truth that if is it rclone that lauch this web, it prefill the url as http://<username>:<password>@domain. It works in Chrome but Firefox refuse to use it. And if we launch FireFox ourself and input the password manually, it works fine.

It seems Chrome are doing less security check so it is working. Anyway I will do some further research to see what I can do to make Firefox working when launched by rclone.

yuudi avatar Nov 12 '24 20:11 yuudi

Thank you for the follow up @yuudi. Here's some additional testing using the information from your update.

When using:

rclone rcd --rc-web-gui --rc-web-gui-update --rc-web-fetch-url="https://s3.yuudi.dev/rwa/embed/version.json"

The launched browser tab has no data filled. I see that if I copy the URL from the launched Firefox tab and copy/paste it into a new browser tab, it loads everything as expected.

When using:

rclone rcd --rc-web-gui --rc-web-gui-update --rc-web-fetch-url="https://s3.yuudi.dev/rwa/embed/version.json" --rc-user 'user' --rc-pass 'password'

The same thing happens as when not using the --rc-user and --rc-pass options. So it's not respecting those or they're somehow not being set.

At no point was I prompted for a username/password as it seems you suggested in your update.

If I use either of the previous commands without --rc-web-gui and just paste http://127.0.0.1:5572/en-US/ into the browser tab, nothing loads, I just get a Not Found message in the browser and two 404 errors in the browser console (one for the page and second for the favicon).

Thank you

JSouthGB avatar Nov 12 '24 21:11 JSouthGB