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

`BUG` WebUI can not mount a specfic directory.

Open Matt-V50 opened this issue 1 year ago • 3 comments

Reproduce

Create new mount > fs = GoogleDrive:/path_to_dir/

Here is the console log below.

{
  "fs":"GoogleDrive:/path_to_dir/:",
  "mountPoint":"C:\\workspace",
  "mountType":"",
  "vfsOpt":{"CacheMode":2},"mountOpt":{}
}

Here fs always add : at the end of input.

However, there is no any problem if we run it in command line.

rclone mount "GoogleDrive:/path_to_dir/" "C:\workspace" --vfs-cache-mode writes

Matt-V50 avatar Oct 22 '24 23:10 Matt-V50

WebUI is dead - at least temporarily:

https://github.com/rclone/rclone-webui-react/issues/163

kapitainsky avatar Oct 23 '24 05:10 kapitainsky

Probably, the culprit is Line 38 at /src/actions/mountActions.js:

if (!fs.endsWith(":")) fs = fs + ":";

It should be possible to run the rclone/rclone docker image with a modified webui. The default url link in rclone for the webui is provided in this line. The corresponding option is called WebGUIFetchURL in the rclone config.

aperep avatar May 01 '25 23:05 aperep

UPD: Indeed, I removed that line in this forked release and added a corresponding option in rclone.conf:

[rc]
WebGUIFetchURL = https://api.github.com/repos/aperep/rclone-webui-react/releases/latest

Mounting a specific folder works now.

aperep avatar May 01 '25 23:05 aperep