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

Could you display MORE stats?

Open CurlyFlow opened this issue 5 years ago • 2 comments

Hello, i would really like to see what rclone is doing. Could you make it possible that the dashboard "jobs" and "speed" display whats happening on the mount? Not only show there whats happening in the dashboard? Because it seems like jobs and speed only change, when doing something via dashboard. But it would be much more usefull if you could display the whole rclone activity? Maybe in an extra tab, if you like.

I always see rclone download and upload, but never really understand what its doing, so it would be very usefull to see all jobs there. (.e.g from Mounts)

Edit: Sorry for the whole spam here, my request is at the bottom....

CurlyFlow avatar Oct 21 '19 09:10 CurlyFlow

Ok, im dumb, it seems like you can add these commands to your rclone commands.

Ive tried with mount, but it doesnt work :(

rclone mount --rc --rc-addr=192.168.86.2:5572 --rc-web-gui --rc-user=test --rc-pass=test --rc-web-gui-update --stats=24h --allow-other --buffer-size 256M --dir-cache-time 72h --drive-chunk-size 32M --fast-list --log-level INFO --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit off gdrive_media_vfs: /mnt/user/mount_rclone/google_vfs &

Mount seems to work just fine: 21.10.2019 11:57:54 INFO: mounting rclone vfs. 2019/10/21 11:57:54 INFO : Using --user test --pass XXXX as authenticated user 2019/10/21 11:57:54 NOTICE: Serving remote control on http://192.168.86.2:5572/ 21.10.2019 11:58:04 INFO: Check rclone vfs mount success. fusermount: failed to unmount /mnt/user/mount_unionfs/google_vfs: Invalid argument 21.10.2019 11:58:04 INFO: Check successful, unionfs mounted. 21.10.2019 11:58:04 Info: populating dir cache - this could take a while. { "result": { "": "OK" } } 21.10.2019 11:58:23 Info: populating dir cache complete.

But when i visit the IP:PORT i get : 404 page not found (but its the kind of error which means it can acccess it, but cant show anything, so its not unreachable)

I also have this command after mount: rclone rc --rc-addr=192.168.86.2:5572 --rc-user=test --rc-pass=test --timeout=10m vfs/refresh recursive=true

What i really want to suggest now, would be still a combination of all actions from rclone into ONE dashboard.

Because i also have a rclone move command, this would also not be inside this, but atleast i should see the mount actions, not???

Any idea why the dashborad dont work with mount?

CurlyFlow avatar Oct 21 '19 10:10 CurlyFlow

I dont know, it also wont work with the move commands, what am i doing wrong? While tryin to access the webui while move it wont connect at all.

21.10.2019 12:10:56 INFO: rclone installed successfully - proceeding with upload. 2019/10/21 12:10:56 DEBUG : --min-age 1y to 2018-10-21 12:10:56.328283418 +0200 CEST m=-31535999.993451629 2019/10/21 12:10:56 DEBUG : rclone: Version "v1.49.5" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone/.rclone.conf" "move" "--rc-addr=192.168.86.2:5573" "--rc-web-gui" "--rc-user=test" "--rc-pass=test" "--rc-web-gui-update" "--stats=24h" "/mnt/user/Archiv/Filme" "gdrive_media_vfs:Filme" "-vv" "--max-size" "12G" "--drive-chunk-size" "128M" "--checkers" "4" "--fast-list" "--transfers" "4" "--exclude" ".unionfs/" "--exclude" "fuse_hidden" "--exclude" "*_HIDDEN" "--exclude" ".recycle" "--exclude" ".backup~" "--exclude" ".partial~" "--delete-empty-src-dirs" "--fast-list" "--tpslimit" "3" "--min-age" "1y"] 2019/10/21 12:10:56 DEBUG : Using config file from "/boot/config/plugins/rclone/.rclone.conf" 2019/10/21 12:10:56 INFO : Starting HTTP transaction limiter: max 3 transactions/s with burst 1 2019/10/21 12:11:23 DEBUG : Movie (1988)/Movie 1988.m2ts: Excluded from sync (and deletion) ....

Edit: Okay, i need to add --rc to the move command, then i have the same result like on the mount command:

rclone move --rc --rc-addr=192.168.86.2:5573 --rc-web-gui --rc-user=test --rc-pass=test --rc-web-gui-update --stats=24h /mnt/user/Archiv/Filme gdrive_media_vfs:Filme -vv --max-size 12G --drive-chunk-size 128M --checkers 4 --fast-list --transfers 4 --exclude .unionfs/** --exclude fuse_hidden --exclude _HIDDEN --exclude .recycle* --exclude .backup~ --exclude .partial~ --delete-empty-src-dirs --fast-list --tpslimit 3 --min-age 1y 2019/10/21 12:20:04 DEBUG : --min-age 1y to 2018-10-21 12:20:04.399056925 +0200 CEST m=-31535999.994145315 2019/10/21 12:20:04 DEBUG : rclone: Version "v1.49.5" starting with parameters ["rcloneorig" "--config" "/boot/config/plugins/rclone/.rclone.conf" "move" "--rc" "--rc-addr=192.168.86.2:5573" "--rc-web-gui" "--rc-user=test" "--rc-pass=test" "--rc-web-gui-update" "--stats=24h" "/mnt/user/Archiv/Filme" "gdrive_media_vfs:Filme" "-vv" "--max-size" "12G" "--drive-chunk-size" "128M" "--checkers" "4" "--fast-list" "--transfers" "4" "--exclude" ".unionfs/" "--exclude" "fuse_hidden" "--exclude" "*_HIDDEN" "--exclude" ".recycle" "--exclude" ".backup~" "--exclude" ".partial~" "--delete-empty-src-dirs" "--fast-list" "--tpslimit" "3" "--min-age" "1y"] 2019/10/21 12:20:04 INFO : Using --user test --pass XXXX as authenticated user 2019/10/21 12:20:04 NOTICE: Serving remote control on http://192.168.86.2:5573/ 2019/10/21 12:20:04 DEBUG : login_token "dGVzdDp0ZXN0" 2019/10/21 12:20:04 DEBUG : Using config file from "/boot/config/plugins/rclone/.rclone.conf" 2019/10/21 12:20:04 INFO : Starting HTTP transaction limiter: max 3 transactions/s with burst 1 2019/10/21 12:20:29 DEBUG : Movie (1988)/Movie 1988.m2ts: Excluded from sync (and deletion)

404 page not found (but its the kind of error which means it can acccess it, but cant show anything, so its not unreachable)

What does login_token mean? I mean i told him to use user and pass?

Edit2: Okay i think i got it working with this:

For Mount: rclone mount --rc --rc-addr=192.168.86.2:5572 --rc-web-gui --rc-user=test --rc-pass=test --rc-web-gui-update --stats=24h --allow-other --buffer-size 256M --dir-cache-time 72h --drive-chunk-size 32M --fast-list --log-level INFO --vfs-read-chunk-size 128M --vfs-read-chunk-size-limit off gdrive_media_vfs: /mnt/user/mount_rclone/google_vfs &

For Upload: rclone move --rc --rc-addr=192.168.86.2:5573 --rc-web-gui --rc-user=test --rc-pass=test --rc-web-gui-update --stats=24h /mnt/user/Archiv/Filme gdrive_media_vfs:Filme -vv --max-size 12G --drive-chunk-size 128M --checkers 4 --fast-list --transfers 4 --exclude .unionfs/** --exclude fuse_hidden --exclude _HIDDEN --exclude .recycle* --exclude .backup~ --exclude .partial~ --delete-empty-src-dirs --fast-list --tpslimit 3 --min-age 1y && rclone move --rc-addr=192.168.86.2:5573 --rc-web-gui --rc-user=test --rc-pass=test --rc-web-gui-update --stats=24h /mnt/user/Archiv/Serien gdrive_media_vfs:Serien -vv --max-size 12G --drive-chunk-size 128M --checkers 4 --fast-list --transfers 4 --exclude .unionfs/** --exclude fuse_hidden --exclude _HIDDEN --exclude .recycle* --exclude .backup~ --exclude .partial~ --delete-empty-src-dirs --fast-list --tpslimit 3 --min-age 1y && rclone move --rc-addr=192.168.86.2:5573 --rc-web-gui --rc-user=test --rc-pass=test --rc-web-gui-update --stats=24h /mnt/user/Archiv/Musik gdrive_media_vfs:Musik -vv --drive-chunk-size 8M --checkers 4 --fast-list --transfers 6 --exclude .unionfs/** --exclude fuse_hidden --exclude _HIDDEN --exclude .recycle* --exclude .backup~ --exclude .partial~ --delete-empty-src-dirs --fast-list --tpslimit 3 --min-age 1y

The problem is/was that i use unraid, and unraids linux is just temporary, so the webgui needs to be downloaded after each restart. I just use an extra script which gets run every time unraid restarts which does the following: #!/bin/bash rclone rcd --rc-web-gui --rc-addr :5555 &

(could that be done better?) [i mean why does it only auto downloads it when run via rclone rcd??? If it would also download it when not run via rcd my problem would be solved]

### Stays only one request: please allow us somehow to show all rclone activity in one dashboard.. :-)

Edit3: So it still wont work with mount, is it suppose to work with that? At first it worked and showed which files were accessed, but now its telling me (see picture) even its running for hours. 2

CurlyFlow avatar Oct 21 '19 10:10 CurlyFlow