When I run rclone mount and uploads from the VFS cache are pending, the mount does not start and "rclone rc vfs/stats" also loads forever with no response.
It also seems like the VFS stats in the log that you know before don't appear either.
Run the command 'rclone version' and share the full output of the command.
rclone v1.59.2
os/version: ubuntu 20.04 (64 bit)
os/kernel: 5.4.0-128-generic (x86_64)
os/type: linux
os/arch: amd64
go/version: go1.18.6
go/linking: static
go/tags: none
Which cloud storage system are you using? (eg Google Drive)
Dropbox
The command you were trying to run (eg rclone copy /tmp remote:tmp)
Sorry, for the misunderstanding. No, it uploads normally. I have only omitted the entries now. However, I have so much in the backlog (I don't know the exact number) that it's been uploading for hours.
2022/10/18 11:27:18 DEBUG : cache/thumbnails/3/9/e/39e7df8e3a024bf9e168d54180506c8107b1cc21_224x224_right.jpg: vfs cache: truncate to size=6524
2022/10/18 11:27:18 DEBUG : cache/thumbnails/3/9/e/39e7df8e3a024bf9e168d54180506c8107b1cc21_224x224_right.jpg: vfs cache: setting modification time to 2022-10-18 09:24:19.521283519 +0200 CEST
2022/10/18 11:27:18 INFO : cache/thumbnails/3/9/e/39e7df8e3a024bf9e168d54180506c8107b1cc21_224x224_right.jpg: vfs cache: queuing for upload in 5m0s
2022/10/18 11:27:20 DEBUG : cache/thumbnails/3/9/e: Added virtual directory entry vAddFile: "39e7df8e3a024bf9e168d54180506c8107b1cc21_224x224_right.jpg"
2022/10/18 11:27:20 DEBUG : cache/thumbnails/3/9/e/39e7df8e3a024bf9e168d54180506c8107b1cc21_3x3_resize.png: vfs cache: truncate to size=100
2022/10/18 11:27:20 DEBUG : cache/thumbnails/3/9/e/39e7df8e3a024bf9e168d54180506c8107b1cc21_3x3_resize.png: vfs cache: setting modification time to 2022-10-18 09:24:19.525507023 +0200 CEST
2022/10/18 11:27:20 INFO : cache/thumbnails/3/9/e/39e7df8e3a024bf9e168d54180506c8107b1cc21_3x3_resize.png: vfs cache: queuing for upload in 5m0s
2022/10/18 11:27:20 DEBUG : cache/thumbnails/3/9/e: Added virtual directory entry vAddFile: "39e7df8e3a024bf9e168d54180506c8107b1cc21_3x3_resize.png"
2022/10/18 11:27:20 DEBUG : cache/thumbnails/3/9/e/39e7df8e3a024bf9e168d54180506c8107b1cc21_500x500_center.jpg: vfs cache: truncate to size=31974
2022/10/18 11:27:20 DEBUG : cache/thumbnails/3/9/e/39e7df8e3a024bf9e168d54180506c8107b1cc21_500x500_center.jpg: vfs cache: setting modification time to 2022-10-18 09:24:19.538947823 +0200 CEST
2022/10/18 11:27:20 INFO : cache/thumbnails/3/9/e/39e7df8e3a024bf9e168d54180506c8107b1cc21_500x500_center.jpg: vfs cache: queuing for upload in 5m0s
2022/10/18 11:27:20 DEBUG : cache/thumbnails/3/9/e: Added virtual directory entry vAddFile: "39e7df8e3a024bf9e168d54180506c8107b1cc21_500x500_center.jpg"
2022/10/18 11:27:21 DEBUG : cache/thumbnails/3/9/e/39e7df8e3a024bf9e168d54180506c8107b1cc21_50x50_center.jpg: vfs cache: truncate to size=1063
2022/10/18 11:27:21 DEBUG : cache/thumbnails/3/9/e/39e7df8e3a024bf9e168d54180506c8107b1cc21_50x50_center.jpg: vfs cache: setting modification time to 2022-10-18 09:24:19.546047901 +0200 CEST
2022/10/18 11:27:21 INFO : cache/thumbnails/3/9/e/39e7df8e3a024bf9e168d54180506c8107b1cc21_50x50_center.jpg: vfs cache: queuing for upload in 5m0s
[..]
2022/10/18 11:30:18 DEBUG : Dropbox root '': Checking for changes on remote
2022/10/18 11:30:18 DEBUG : Dropbox root '': Increasing poll interval to minimum 30s
[..]
2022/10/18 11:32:37 DEBUG : cache/thumbnails/3/a/b/3ab6c23e9860b1d145e4fab212397596b8755eb1_224x224_left.jpg: vfs cache: starting upload
2022/10/18 11:32:37 DEBUG : cache/thumbnails/3/a/a/3aac1f6b87c6d3fda2038c3102f3fd8aad6a4e31_3x3_resize.png.bin: Uploading chunk 2/1
2022/10/18 11:32:37 DEBUG : cache/thumbnails/3/a/a/3aac1f6b87c6d3fda2038c3102f3fd8aad6a4e31_500x500_center.jpg.bin: Uploading chunk 2/1
[..]
2022/10/18 11:32:36 INFO : cache/thumbnails/3/a/a/3aac1f6b87c6d3fda2038c3102f3fd8aad6a4e31_100x100_center.jpg: Copied (new)
2022/10/18 11:32:36 DEBUG : cache/thumbnails/3/a/a/3aac1f6b87c6d3fda2038c3102f3fd8aad6a4e31_100x100_center.jpg: vfs cache: fingerprint now "3813,2022-10-18 07:11:35 +0000 UTC"
2022/10/18 11:32:36 INFO : cache/thumbnails/3/a/a/3aac1f6b87c6d3fda2038c3102f3fd8aad6a4e31_100x100_center.jpg: vfs cache: upload succeeded try #1
Exactly, the mount is not available until all files that are pending have been uploaded. And it may be that I didn't have the test what the config excerpt is rc on, that was just a hint I noticed independently.
The complete file is just over 40 MB, here are the first 1000 lines... but also there nothing will be recognizable... except that the uploads are running...
I and colleagues have noticed this problem with rclone before, I just had the time to make an issue about it. When rclone exits and there are still uploads pending, the mount uploads before the next start.
Unfortunately, the number of entries does not appear in the log. That which is known (example):
2022/10/18 09:51:42 INFO : vfs cache: cleaned: objects 47059 (was 47059) in use 41919, to upload 41887, uploading 32, total size 2.788Gi (was 2.788Gi)
The message does not appear until rclone is completely started. I understand that it needs to validate the files, but the fact that the upload must be completed is a hindrance.
Each file needs to be checked against the backend to make sure what you have locally on disk hasn't changed on the remote.
Agree it's a hindrance and someone has to pick up the issue, find the time and fix it. There are many ways to assist in that as you can always submit a PR (not a developer myself), you can find someone else to submit a PR or fund someone to do a PR.
It's been open for 2 years so far so while annoying, doesn't seem to have caught much steam to fix.
Are you sure about that? In my tests/experiences, it looks different.
Because when all the files are uploaded and I restart, the startup process takes a few seconds to probably synchronize the files once. Or does it not do that then?
I'm a developer but I'm not a Go developer and I don't know rclone well enough to support it, unfortunately. What I can participate financially as compensation.