Hash does not Match - Onedrive

Hello,

I uploaded around 225 GB to OneDrive via rclone. In fact I have 2 snaps there.

restic -r rclone:onedrivewrg:/backup/eig_dateien snapshots --password-file /root/.resticpw
repository 5b7cff6a opened successfully, password is correct
ID        Time                 Host        Tags        Paths
--------------------------------------------------------------------------------------------
ef83782c  2021-01-07 20:12:34  serverhp                /mnt/synology/E
                                                        /mnt/synology/G1
                                                        /mnt/synology/G2
 
62d9ba1e  2021-01-10 01:33:58  serverhp                /mnt/synology/E
                                                        /mnt/synology/G1
                                                        /mnt/synology/G50
                                                        /mnt/synology/G2
--------------------------------------------------------------------------------------------

Unfortunately, if I want to purge one snapshot, i get the following errors.
restic -r rclone:onedrivewrg:/backup/eig_dateien forget ef83782c --password-file /root/.resticpw
repository 5b7cff6a opened successfully, password is correct
[0:00] 100.00% 1 / 1 files deleted

restic -r rclone:onedrivewrg:/backup/eig_dateien prune --password-file /root/.resticpw
repository 5b7cff6a opened successfully, password is correct
counting files in repo
building new index for repo
rclone: 2021/01/10 17:14:24 ERROR : data/0e/0e0eb7bd2b86d51caffdd765ecedcebe71c9e33ab5e726eb4be8c2c1e239be9d: Didn't finish writing GET request (wrote 6696/6696 bytes): context canceled
rclone: 2021/01/10 17:22:45 ERROR : data/18/185376c6391d22d7d986228b03761273085367a88efac8013a73815576c5096d: Didn't finish writing GET request (wrote 4291/4291 bytes): context canceled
rclone: 2021/01/10 17:28:16 ERROR : data/24/24e4a16c814dc17731217835442ad09737a6c2be82bd13052a7fa1fc5faef38f: Didn't finish writing GET request (wrote 11321/11321 bytes): context canceled
rclone: 2021/01/10 17:36:39 ERROR : data/33/332a4ce2a19e2ef3850abbdeb56dae76d00b24e791a0e840dce8be7b8cdd2e6a: Didn't finish writing GET request (wrote 4217/4217 bytes): context canceled
rclone: 2021/01/10 17:42:54 ERROR : data/3e/3eceedcf62ea73cc85b3a988e197448ec44e2c855024c5b81220ea6ee3a7d40f: Didn't finish writing GET request (wrote 11062/11062 bytes): context canceled
rclone: 2021/01/10 18:05:01 ERROR : data/66/66da80251fde332af3fe955778227d3fc743d504429c5d6614761e6c60ba788d: Didn't finish writing GET request (wrote 4661/4661 bytes): context canceled
rclone: 2021/01/10 18:37:11 ERROR : data/9e/9e909e1c064d71aee714079827a76502c4260748302744ea628a3d62c5f8ff9e: Didn't finish writing GET request (wrote 16094/16094 bytes): context canceled
rclone: 2021/01/10 18:38:46 ERROR : data/a2/a2120eff04d220104c5622c510841aa6c7664adf0f9e4ff58cd2798600e46ecf: Didn't finish writing GET request (wrote 10729/10729 bytes): context canceled
rclone: 2021/01/10 19:08:14 ERROR : data/d1/d1b3688eef4fe0aea4980f63c60f26302a5e3ff5969e91d84c4c427a88fafa62: Didn't finish writing GET request (wrote 8879/8879 bytes): context canceled
rclone: 2021/01/10 19:11:12 ERROR : data/d8/d8cb3b2cff40e8dd4e39166ae096e3e314b82d9709fdcdbddb5fd4ed6b9343ce: Didn't finish writing GET request (wrote 8842/8842 bytes): context canceled
rclone: 2021/01/10 19:14:58 ERROR : data/df/df82263b0f9b15354d59065693638e25418b5ea29c6d19f6c91db210ac258e5c: Didn't finish writing GET request (wrote 4846/4846 bytes): context canceled
rclone: 2021/01/10 19:16:33 ERROR : data/e3/e34bbb52ac9d6c95173f5e99cf9f991414ea16dd4a42f806b5469b0d10f2c123: Didn't finish writing GET request (wrote 11321/11321 bytes): context canceled
rclone: 2021/01/10 19:18:29 ERROR : data/e4/e49753e1eb895667e94e0331a53c6416f51f4b82906f5422eecd92d1ecce15b0: Didn't finish writing GET request (wrote 15946/15946 bytes): context canceled
rclone: 2021/01/10 19:32:54 ERROR : data/ff/ff57e72d3a2f27305f868045e60f95db4b6bdfcb145d97552af34064916e3465: Didn't finish writing GET request (wrote 9069/16242 bytes): http2: stream closed
[2:26:13] 100.00%  47913 / 47913 packs
repository contains 47913 packs (404917 blobs) with 225.019 GiB
processed 404917 blobs: 0 duplicate blobs, 0 B duplicate
load all snapshots
find data that is still in use for 1 snapshots
[0:07] 100.00%  1 / 1 snapshots
found 401277 of 404917 data blobs still in use, removing 3640 blobs
will remove 0 invalid files
will delete 200 packs and rewrite 232 packs, this frees 1.423 GiB
[5:33] 49.57%  115 / 232 packs rewritten
hash does not match id: want b65ba6c31657d29626c0c5ae4b3baee8ffee70da86ff8ace5bba92b9c83be238, got 8ed42e2b80621be9e19aa3574cd7a346b776f3042911d5163fd916d48da2d3ec
github.com/restic/restic/internal/repository.Repack
        /restic/internal/repository/repack.go:37
main.pruneRepository
        /restic/cmd/restic/cmd_prune.go:242
main.runPrune
        /restic/cmd/restic/cmd_prune.go:62
main.glob..func19
        /restic/cmd/restic/cmd_prune.go:27
github.com/spf13/cobra.(*Command).execute
        /home/build/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:826
github.com/spf13/cobra.(*Command).ExecuteC
        /home/build/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:914
github.com/spf13/cobra.(*Command).Execute
        /home/build/go/pkg/mod/github.com/spf13/cobra@v0.0.5/command.go:864
main.main
        /restic/cmd/restic/main.go:98
runtime.main
        /usr/local/go/src/runtime/proc.go:204
runtime.goexit
        /usr/local/go/src/runtime/asm_amd64.s:1374

My version is restic 0.11.0 compiled with go1.15.3 on linux/amd64, rclone is v1.53.3

I tried now with the latest beta because of Fix sporadic stream reset between rclone and restic by ivandeex · Pull Request #3014 · restic/restic · GitHub

./restic_v0.11.0-262-gaa0faa8c_linux_amd64 -r rclone:### prune --password-file /root/.resticpw

All went through. Speed is impressive :muscle:

No single “Didn’t finish writing GET request” error reported

./restic_v0.11.0-262-gaa0faa8c_linux_amd64 -r rclone:onedrivewrg:####--password-file /root/.resticpw check
using temporary cache in /tmp/restic-check-cache-114392281
repository 5b7cff6a opened successfully, password is correct
created new cache in /tmp/restic-check-cache-114392281
create exclusive lock for repository
load indexes
check all packs
check snapshots, trees and blobs
no errors were found
1 Like