Stuck uploading to backblaze without error

What is the problem you are having with rclone?

Thanks for rclone, it is an incredibly useful tool! I am having issues uploading files to backblaze from a local vfs mount. Rclone is started with the following parameters:

ExecStart=/nix/store/x94wy48bmz6w5mbnwdi2nd62nqhhjccy-rclone-1.64.0/bin/rclone mount 'b2:nixos-server-torrents/' /var/www/files.haering.dev/backbl>
  --config=/run/agenix/backblaze \
  --allow-other \
  --allow-non-empty \
  --log-level=INFO \
  --buffer-size=50M \
  --drive-acknowledge-abuse=true \
  --no-modtime \
  --vfs-cache-mode full \
  --vfs-cache-max-size 20G \
  --vfs-read-chunk-size=32M \
  --vfs-read-chunk-size-limit=256M

where /run/agenix/backblaze is my backblaze config like so:

[b2]
type = b2
account = redacted
key = redacted
hard_delete = true
versions = false

When I copy something to the mounted dir (/var/www/files.haering.dev), I see this every minute:

Sep 24 10:24:44 server rclone[122748]: INFO  : vfs cache: cleaned: objects 2 (was 2) in use 2, to upload 0, uploading 2, total size 2.635Gi (was 2.635Gi)
Sep 24 10:25:44 server rclone[122748]: INFO  : vfs cache: cleaned: objects 2 (was 2) in use 2, to upload 0, uploading 2, total size 2.635Gi (was 2.635Gi)
Sep 24 10:26:44 server rclone[122748]: INFO  : vfs cache: cleaned: objects 2 (was 2) in use 2, to upload 0, uploading 2, total size 2.635Gi (was 2.635Gi)

And I can also see the upload starting in the backblaze webinterface. But it does not actually upload anything (there is no upload traffic). Also, when I try to access the directory on the command line, it simply hangs the terminal and I have to umount the directory. Any ideas how to debug?

Run the command 'rclone version' and share the full output of the command.

/nix/store/x94wy48bmz6w5mbnwdi2nd62nqhhjccy-rclone-1.64.0/bin/rclone version
rclone 1.64.0
- os/version: nixos 23.11 (Tapir) (64 bit)
- os/kernel: 6.1.52 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.20.8
- go/linking: dynamic
- go/tags: cmount

Which cloud storage system are you using? (eg Google Drive)

Backblaze B2

The command you were trying to run (eg rclone copy /tmp remote:tmp)

rclone mount 'b2:nixos-server-torrents/' /var/www/files.haering.dev/backblaze

Please run 'rclone config redacted' and share the full output. If you get command not found, please make sure to update rclone.

 /nix/store/x94wy48bmz6w5mbnwdi2nd62nqhhjccy-rclone-1.64.0/bin/rclone config redacted
2023/09/24 10:40:33 NOTICE: Config file "/home/tim/.config/rclone/rclone.conf" not found - using defaults
; empty config
### Double check the config for sensitive info before posting publicly

A log from the command that you were trying to run with the -vv flag

I ran with --log-level=DEBUG which I assume is identical to -vv. I had to set the cache dir explicitly so it uses the same one as in the systemd unit. Logs are here: https://paste.rs/T0QM5 any help is greatly appreciated!

We fixed an issue with b2 uploads recently can you try the latest beta? This patch is headed towards v1.64.1 soon!

Thanks for your prompt help! I can upload fine with:

❯ ./rclone version
rclone v1.61.0-beta.6504.db5d58240
- os/version: nixos 23.11 (Tapir) (64 bit)
- os/kernel: 6.1.52 (x86_64)
- os/type: linux
- os/arch: amd64
- go/version: go1.19.2
- go/linking: static
- go/tags: none

looking forward to the next release.

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.