restic: crash on unlock

Output of restic version

restic 0.12.1 (v0.12.1-41-g10b39d75) compiled with go1.15.9 on linux/amd64

How did you run restic exactly?

export B2_ACCOUNT_ID=
export B2_ACCOUNT_KEY=
export RESTIC_PASSWORD=
export RESTIC_REPOSITORY=b2:bucket:repo
export RESTIC_CACHE_DIR=/a/dir/restic_cache

restic unlock

What backend/server/service did you use to store the repository?

B2

Expected behavior

# restic unlock
repository 7fcde7e2 opened successfully, password is correct
successfully removed locks

Actual behavior

# restic unlock
repository 7fcde7e2 opened successfully, password is correct
Remove(<lock/f288a00798>) returned error, retrying after 440.328595ms: Delete: b2_delete_file_version: 400: File not present: tm/locks/f288a0079883217b22d3005fb3cb4b250b7cecef50ddb7472b22083698d0f4ba 4_z56b124abe83975857ab70118_f11658776f00f68f9_d20211007_m005928_c000_v0001401_t0055
Remove(<lock/f288a00798>) returned error, retrying after 587.275613ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/f288a00798>) returned error, retrying after 892.239589ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/f288a00798>) returned error, retrying after 1.989705391s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/f288a00798>) returned error, retrying after 1.818837414s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/f288a00798>) returned error, retrying after 2.669912672s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/f288a00798>) returned error, retrying after 4.902931741s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/f288a00798>) returned error, retrying after 9.146728339s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/f288a00798>) returned error, retrying after 10.214177147s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/f288a00798>) returned error, retrying after 26.244032286s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
b2_download_file_by_name: 404: File with such name does not exist.
Delete
github.com/restic/restic/internal/backend/b2.(*b2Backend).Remove
	github.com/restic/restic/internal/backend/b2/b2.go:268
github.com/restic/restic/internal/backend.(*RetryBackend).Remove.func1
	github.com/restic/restic/internal/backend/backend_retry.go:108
github.com/cenkalti/backoff/v4.RetryNotifyWithTimer
	github.com/cenkalti/backoff/v4@v4.1.1/retry.go:55
github.com/cenkalti/backoff/v4.RetryNotify
	github.com/cenkalti/backoff/v4@v4.1.1/retry.go:34
github.com/restic/restic/internal/backend.(*RetryBackend).retry
	github.com/restic/restic/internal/backend/backend_retry.go:46
github.com/restic/restic/internal/backend.(*RetryBackend).Remove
	github.com/restic/restic/internal/backend/backend_retry.go:107
github.com/restic/restic/internal/cache.(*Backend).Remove
	github.com/restic/restic/internal/cache/backend.go:38
github.com/restic/restic/internal/restic.RemoveStaleLocks.func1
	github.com/restic/restic/internal/restic/lock.go:282
github.com/restic/restic/internal/restic.ForAllLocks.func2
	github.com/restic/restic/internal/restic/lock.go:336
golang.org/x/sync/errgroup.(*Group).Go.func1
	golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c/errgroup/errgroup.go:57
runtime.goexit
	runtime/asm_amd64.s:1374

Steps to reproduce the behavior

Backup TBs of data to B2. Get lots of unlock errors during backup, try to clean up with unlock.

Do you have any idea what may have caused this?

Brittle B2 implementation.

Do you have an idea how to solve the issue?

Keep running unlock over and over.

Did restic help you today? Did it make you happy in any way?

Not today.

About this issue

  • Original URL
  • State: closed
  • Created 3 years ago
  • Reactions: 1
  • Comments: 19 (3 by maintainers)

Most upvoted comments

I’ve done some testing with help of debug tag, DEBUG_LOG and Golang debbuger and it seems that request POST /b2api/v1/b2_delete_file_version sometimes returns error 500 but file is deleted from bucket. Restic fallbacks to retry for error 500 but lock-file is no more since operation succeeded on their side.

From my perspective status code 500 means that something is wrong on their side and should be fixed but I found this old article https://www.backblaze.com/blog/b2-503-500-server-error/ and I’m not sure anymore. Docs for API does not tell much regarding this for deletion operation, only clarifying what to do in case of upload https://www.backblaze.com/b2/docs/integration_checklist.html

It’s possible to blame both restic and B2 here: restic for not gracefully handling the failed delete requests and B2 for the increase of 500 errors. That said it’s essentially impossible to guarantee that all requests are successful or that the client (restic) will receive a reply in time. As we can’t ask B2 whether a previous delete request was successful, we can do the next best thing: accept it when restic learns that the file to remove does not exist. That would allow restic to successfully “delete” the file when retrying the request.

I’ve opened PR #3544 to address this.

I can also confirm that this problem has existed for about 2 weeks for me, and there has been no change on the restic configurations.

Here are some sample outputs from different commands.

restic 0.12.1 compiled with go1.16.6 on linux/arm64

restic --verbose=1 check --read-data-subset=0.5%

using temporary cache in /srv/vol/Config/cache/tmp/restic-check-cache-354234537
create exclusive lock for repository
load indexes
check all packs
check snapshots, trees and blobs
Remove(<lock/5d8d9b4c05>) returned error, retrying after 720.254544ms: Delete: b2_delete_file_version: 400: File not present: locks/5d8d9b4c05a8f00e0ab347c5c664dd3493d4071b4095f6d8762973c46f643b32 4_z707d67f9916ec2a561ca0a16_f113653090f26d0c6_d20211007_m125405_c000_v0001401_t0058
Remove(<lock/5d8d9b4c05>) returned error, retrying after 873.42004ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/5d8d9b4c05>) returned error, retrying after 1.054928461s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/5d8d9b4c05>) returned error, retrying after 1.560325776s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/5d8d9b4c05>) returned error, retrying after 3.004145903s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/5d8d9b4c05>) returned error, retrying after 2.147653057s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/5d8d9b4c05>) returned error, retrying after 3.739082318s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/5d8d9b4c05>) returned error, retrying after 5.099891944s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/5d8d9b4c05>) returned error, retrying after 10.263247495s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/5d8d9b4c05>) returned error, retrying after 19.514091959s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
unable to refresh lock: Delete: b2_download_file_by_name: 404: File with such name does not exist.

restic --verbose=3 rebuild-index

loading indexes...
getting pack files to read...
rebuilding index
[1:15] 100.00%  199109 / 199109 packs processed

deleting obsolete index files
removed <index/27df2dbc93>
removed <index/533f6729d8>
removed <index/e2b1441957>
removed <index/e2eecf7451>
removed <index/6de76dfd72>
removed <index/a2e73d00e0>
removed <index/64693a7364>
removed <index/783d1c488e>
removed <index/41c09ef5ec>
removed <index/1854758c58>
removed <index/2186bbd717>
removed <index/ad98692431>
removed <index/a78ff3328d>
removed <index/c4cfdc0ae9>
removed <index/387247bb6f>
removed <index/7fa227b3e0>
removed <index/05cd4dd0c9>
removed <index/1726878fe1>
removed <index/51c2c2b18b>
removed <index/b26bb76e88>
removed <index/9924162f48>
removed <index/2288108ed5>
removed <index/a2295d961f>
removed <index/a2ba355f43>
removed <index/8a2a534be3>
removed <index/de9a70b429>
removed <index/19c7ab2860>
removed <index/f3c2eaafe7>
removed <index/06fd5d6be9>
removed <index/7981b50ebf>
removed <index/a85bc3ce39>
removed <index/8feb6d0db4>
removed <index/2e0ce87a6f>
removed <index/ddf90be2a8>
removed <index/6a50a248c9>
removed <index/3caa37856f>
removed <index/01c583bff7>
removed <index/5f0a244a64>
removed <index/94ce817dfb>
removed <index/cb89bb84b3>
removed <index/20fe0d3fa6>
removed <index/597ba22c8c>
removed <index/2e3118639e>
removed <index/982dc67856>
removed <index/f539c2b35c>
removed <index/800c2cd4f7>
removed <index/ef2b4dd8bf>
removed <index/44b6590c0c>
removed <index/3fc3f23312>
removed <index/6f06e7fe06>
removed <index/90ab6f215f>
removed <index/370be1e5c1>
removed <index/dc3ee89123>
removed <index/6e2eec0ae1>
removed <index/aa58552fc7>
removed <index/938fefd378>
removed <index/aa7127c2ad>
removed <index/43da842a8a>
removed <index/f678a9879b>
removed <index/a6e6d3b4ec>
removed <index/0a751ae2a6>
removed <index/0e13e0c5f0>
removed <index/a360632501>
Remove(<index/07fedbf5e6>) returned error, retrying after 582.280027ms: Delete: b2_delete_file_version: 400: File not present: index/07fedbf5e60d71da00c26a557cf6ad7070cacec85a35fb3446a0d6d539d8df64 4_z707d67f9916ec2a561ca0a16_f1070e98e8187aec3_d20211006_m044639_c000_v0001401_t0026
removed <index/d70ab90300>
Remove(<index/601955bc55>) returned error, retrying after 468.857094ms: Delete: b2_delete_file_version: 400: File not present: index/601955bc55f2ed325961973be1cbb627890e031d6f93fa043e434f1d59694141 4_z707d67f9916ec2a561ca0a16_f10863a72f842f35f_d20210930_m054635_c000_v0001401_t0054
removed <index/c0a247c7b9>
removed <index/1328d40695>
Remove(<index/07fedbf5e6>) returned error, retrying after 693.478123ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/a5848fd03b>
removed <index/46194c08da>
Remove(<index/601955bc55>) returned error, retrying after 890.117305ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/d78b932f03>
removed <index/fe78e1bf45>
removed <index/f044bfae58>
removed <index/c61d2eb332>
Remove(<index/07fedbf5e6>) returned error, retrying after 636.341646ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/601955bc55>) returned error, retrying after 738.584161ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/eef610c088>
removed <index/f56b104409>
Remove(<index/07fedbf5e6>) returned error, retrying after 1.007386063s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/601955bc55>) returned error, retrying after 1.351538765s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/29e44f4cc1>
removed <index/6a68274119>
removed <index/53a955ba5f>
removed <index/19243ca88a>
Remove(<index/07fedbf5e6>) returned error, retrying after 2.569756966s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/12be181175>
removed <index/424803cd4f>
Remove(<index/601955bc55>) returned error, retrying after 3.325151152s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/d2bce23da7>
removed <index/55cac47df3>
removed <index/8ca1754de3>
removed <index/dde4a8ac60>
removed <index/87fe13d6dc>
Remove(<index/07fedbf5e6>) returned error, retrying after 2.711970641s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/b8ceb001f9>
removed <index/5197d470c5>
removed <index/8c95182226>
removed <index/212aaed981>
removed <index/f06b46461c>
removed <index/254bec4c18>
Remove(<index/601955bc55>) returned error, retrying after 3.343745266s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/7dda6d25c1>
removed <index/c05dbd28c5>
removed <index/4529eb6b47>
Remove(<index/07fedbf5e6>) returned error, retrying after 4.659096946s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/83ca5aeeae>
removed <index/e255f37129>
removed <index/7c2d43c1d1>
removed <index/e71f5ecc57>
removed <index/2a13c3b681>
Remove(<index/601955bc55>) returned error, retrying after 4.459624189s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/685d821ee2>
Remove(<index/5efeb72424>) returned error, retrying after 396.550928ms: Delete: b2_delete_file_version: 400: File not present: index/5efeb724242aaceb54a987edbdba549f836d819e9f34dc8201940c971db6f02c 4_z707d67f9916ec2a561ca0a16_f117f3c42b4d85f75_d20211004_m044824_c000_v0001401_t0021
removed <index/65d5a08d67>
Remove(<index/5efeb72424>) returned error, retrying after 884.313507ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/5efeb72424>) returned error, retrying after 808.372184ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/07fedbf5e6>) returned error, retrying after 6.007303512s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/5efeb72424>) returned error, retrying after 1.452720516s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/601955bc55>) returned error, retrying after 9.146728339s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/5efeb72424>) returned error, retrying after 3.448806451s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/5efeb72424>) returned error, retrying after 3.011355647s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/07fedbf5e6>) returned error, retrying after 10.214177147s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/5efeb72424>) returned error, retrying after 7.133794867s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/601955bc55>) returned error, retrying after 9.0544704s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/28bfecf806>) returned error, retrying after 598.359583ms: Delete: b2_delete_file_version: 400: File not present: index/28bfecf80677858b4f9ffcfa033cca42eac1438355a156f9ad5892d178dc1373 4_z707d67f9916ec2a561ca0a16_f10376a2fce934042_d20211004_m044731_c000_v0001401_t0025
Remove(<index/28bfecf806>) returned error, retrying after 767.86523ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/28bfecf806>) returned error, retrying after 594.340968ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/28bfecf806>) returned error, retrying after 1.110928968s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/5efeb72424>) returned error, retrying after 9.459231532s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/07fedbf5e6>) returned error, retrying after 28.356621859s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/28bfecf806>) returned error, retrying after 1.466741984s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/28bfecf806>) returned error, retrying after 4.156851394s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/601955bc55>) returned error, retrying after 10.747238066s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/28bfecf806>) returned error, retrying after 6.788952533s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/5efeb72424>) returned error, retrying after 10.271074824s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/28bfecf806>) returned error, retrying after 5.751692433s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
unable to remove <index/601955bc55> from the repository
unable to remove <index/07fedbf5e6> from the repository
unable to remove <index/28bfecf806> from the repository
unable to remove <index/5efeb72424> from the repository
[1:14] 96.19%  101 / 105 files deleted

Remove(<lock/9004bbb916>) returned error, retrying after 522.077787ms: Delete: b2_delete_file_version: 400: File not present: locks/9004bbb9166f157aa2a533347db05d4ff7707a974c0b90230f9e426e35113f16 4_z707d67f9916ec2a561ca0a16_f113653090f27db5a_d20211007_m130901_c000_v0001401_t0051
Remove(<lock/9004bbb916>) returned error, retrying after 583.880716ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 1.038546227s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 1.739113395s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 1.907399392s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 2.969463778s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 7.33900768s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 7.362377288s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 17.690905134s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 15.321836548s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
error while unlocking: Delete: b2_download_file_by_name: 404: File with such name does not exist.b2_download_file_by_name: 404: File with such name does not exist.
Delete
github.com/restic/restic/internal/backend/b2.(*b2Backend).Remove
	/restic/internal/backend/b2/b2.go:261
github.com/restic/restic/internal/backend.(*RetryBackend).Remove.func1
	/restic/internal/backend/backend_retry.go:108
github.com/cenkalti/backoff/v4.RetryNotifyWithTimer
	/home/build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.1.1/retry.go:55
github.com/cenkalti/backoff/v4.RetryNotify
	/home/build/go/pkg/mod/github.com/cenkalti/backoff/v4@v4.1.1/retry.go:34
github.com/restic/restic/internal/backend.(*RetryBackend).retry
	/restic/internal/backend/backend_retry.go:46
github.com/restic/restic/internal/backend.(*RetryBackend).Remove
	/restic/internal/backend/backend_retry.go:107
github.com/restic/restic/internal/cache.(*Backend).Remove
	/restic/internal/cache/backend.go:38
main.deleteFiles.func2
	/restic/cmd/restic/delete.go:47
golang.org/x/sync/errgroup.(*Group).Go.func1
	/home/build/go/pkg/mod/golang.org/x/sync@v0.0.0-20210220032951-036812b2e83c/errgroup/errgroup.go:57
runtime.goexit
	/usr/local/go/src/runtime/asm_arm64.s:1130
Remove(<lock/9004bbb916>) returned error, retrying after 697.180865ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 448.090963ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 1.661531478s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 969.11606ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 1.828295087s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 4.484406718s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 4.223160152s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 6.932810881s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 18.361143394s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 23.870422929s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
unable to refresh lock: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 650.527522ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 922.673608ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 768.290531ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 1.566602575s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 3.536135893s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 4.490387462s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 8.422964846s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 12.149914884s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 7.571256569s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<lock/9004bbb916>) returned error, retrying after 19.089857364s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
error in cleanup handler: Delete: b2_download_file_by_name: 404: File with such name does not exist.

restic --verbose=3 prune

loading indexes...
loading all snapshots...
finding data that is still in use for 311 snapshots
[19:06] 100.00%  311 / 311 snapshots

searching used packs...
collecting packs for deletion and repacking
[1:00] 100.00%  199109 / 199109 packs processed


used:           3115777 blobs / 915.408 GiB
unused:          168757 blobs / 12.157 GiB
total:          3284534 blobs / 927.565 GiB
unused size: 1.31% of total size

to repack:        61924 blobs / 281.717 MiB
this removes       4015 blobs / 35.698 MiB
to delete:         5158 blobs / 1.617 GiB
total prune:       9173 blobs / 1.652 GiB
remaining:      3275361 blobs / 925.913 GiB
unused size after prune: 10.506 GiB (1.13% of remaining size)

totally used packs:     194392
partly used packs:        4369
unused packs:              348

to keep:       198678 packs
to repack:         83 packs
to delete:        348 packs
repacking packs
[0:33] 100.00%  83 / 83 packs repacked

rebuilding index
[1:16] 100.00%  198738 / 198738 packs processed

deleting obsolete index files
removed <index/e2c086bd57>
removed <index/a9c99c1c4e>
removed <index/bd3682fa52>
removed <index/11467c2026>
removed <index/3b3348d0bc>
removed <index/6cace1f2b2>
removed <index/039b926d35>
removed <index/2d5b3d6718>
removed <index/15051a0148>
removed <index/fe65b1bb45>
removed <index/859ab69ace>
removed <index/d02c11ec85>
removed <index/4efc982402>
removed <index/f5f810dc8c>
removed <index/ca06f14891>
removed <index/afd3908ab9>
removed <index/10ac1da14b>
removed <index/6875aac665>
removed <index/8c1fa9ce9d>
removed <index/bd1818b609>
removed <index/de96441459>
removed <index/75480263c8>
removed <index/b11f6563fb>
removed <index/a22a39e334>
removed <index/c8afb4fca8>
removed <index/d1147eb0be>
removed <index/5509aa511f>
removed <index/c9683cd92b>
removed <index/437e1e5ed1>
removed <index/08ee89431a>
removed <index/ece2c628aa>
removed <index/3eed84ef72>
Remove(<index/423af81b7e>) returned error, retrying after 720.254544ms: Delete: b2_delete_file_version: 400: File not present: index/423af81b7ecf5afe1103ba232aaab906262f52d88899eb8abb53763ba5b7f1fb 4_z707d67f9916ec2a561ca0a16_f113653090f280ae8_d20211007_m131148_c000_v0001401_t0055
removed <index/188555d572>
removed <index/1897d0cf39>
Remove(<index/e8f480772c>) returned error, retrying after 468.857094ms: Delete: b2_delete_file_version: 400: File not present: index/e8f480772c979e5cf42ab7ff52dada17f98f460ab90dd13b5ca326a778d06e88 4_z707d67f9916ec2a561ca0a16_f113653090f280d79_d20211007_m131157_c000_v0001401_t0012
Remove(<index/423af81b7e>) returned error, retrying after 693.478123ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/fe3ccd2662>
removed <index/57c0eac3c0>
Remove(<index/e8f480772c>) returned error, retrying after 492.389441ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/40e98d8448>
Remove(<index/423af81b7e>) returned error, retrying after 671.590708ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/51956960a7>) returned error, retrying after 400.45593ms: Delete: b2_delete_file_version: 400: File not present: index/51956960a791fb715e23cc4afdfade3eefe7ac62d39ea9816ebc83dfc0a23756 4_z707d67f9916ec2a561ca0a16_f113653090f281616_d20211007_m131225_c000_v0001401_t0011
Remove(<index/e8f480772c>) returned error, retrying after 1.142114207s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/9ebff12444>) returned error, retrying after 656.819981ms: Delete: b2_delete_file_version: 400: File not present: index/9ebff12444f9454b0654aee38d6b9465c56588164527ecc2bcf1463f88cebf07 4_z707d67f9916ec2a561ca0a16_f113653090f28106e_d20211007_m131207_c000_v0001401_t0057
Remove(<index/51956960a7>) returned error, retrying after 535.697904ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/82b813f999>
Remove(<index/423af81b7e>) returned error, retrying after 1.486109007s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/ee68438121>
Remove(<index/9ebff12444>) returned error, retrying after 613.543631ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/6226cfd1c6>
Remove(<index/51956960a7>) returned error, retrying after 1.090001075s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/e8f480772c>) returned error, retrying after 1.32137013s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/06d3ec5d32>
Remove(<index/9ebff12444>) returned error, retrying after 892.239589ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/00f720f49e>
removed <index/4ce50849cc>
Remove(<index/423af81b7e>) returned error, retrying after 2.984558086s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/51956960a7>) returned error, retrying after 1.212558276s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/e8f480772c>) returned error, retrying after 1.779941781s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/9ebff12444>) returned error, retrying after 1.452720516s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/e32492133c>
Remove(<index/51956960a7>) returned error, retrying after 2.71014173s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/e8b0a6656c>
Remove(<index/9ebff12444>) returned error, retrying after 3.448806451s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/e8f480772c>) returned error, retrying after 3.011355647s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/423af81b7e>) returned error, retrying after 3.026422858s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/51956960a7>) returned error, retrying after 4.755863245s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/e8f480772c>) returned error, retrying after 4.024209066s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/9ebff12444>) returned error, retrying after 5.184006378s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/423af81b7e>) returned error, retrying after 6.815689624s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/51956960a7>) returned error, retrying after 3.008851154s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/e8f480772c>) returned error, retrying after 5.624077904s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/f7ed4ed9a3>) returned error, retrying after 553.62672ms: Delete: b2_delete_file_version: 400: File not present: index/f7ed4ed9a397ca9ea66ca328cf052f990950c9f4110eb68674d35bfa9463c839 4_z707d67f9916ec2a561ca0a16_f114b94d394716c33_d20211007_m131226_c000_v0001401_t0057
Remove(<index/9ebff12444>) returned error, retrying after 8.401962033s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/f7ed4ed9a3>) returned error, retrying after 434.590217ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/f7ed4ed9a3>) returned error, retrying after 1.231659672s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/51956960a7>) returned error, retrying after 4.776550251s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/423af81b7e>) returned error, retrying after 10.183428799s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/f7ed4ed9a3>) returned error, retrying after 1.352569524s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/f7ed4ed9a3>) returned error, retrying after 1.704205165s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/e8f480772c>) returned error, retrying after 13.34112529s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/f7ed4ed9a3>) returned error, retrying after 2.955896126s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/59ec614578>
Remove(<index/f23de7a108>) returned error, retrying after 461.576101ms: Delete: b2_delete_file_version: 400: File not present: index/f23de7a108204dc836de772c7ea7143f1848e7f430db6ae450f848b095c6d284 4_z707d67f9916ec2a561ca0a16_f113653090f281b0e_d20211007_m131241_c000_v0001401_t0005
Remove(<index/51956960a7>) returned error, retrying after 13.206392341s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/f23de7a108>) returned error, retrying after 565.155375ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/6109aaab30>
Remove(<index/f23de7a108>) returned error, retrying after 879.841119ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/15af58b72f>
Remove(<index/f23de7a108>) returned error, retrying after 2.174520794s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/9ebff12444>) returned error, retrying after 7.362377288s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/f7ed4ed9a3>) returned error, retrying after 4.539803422s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/c40e2bae99>
Remove(<index/322ede6ef3>) returned error, retrying after 697.180865ms: Delete: b2_delete_file_version: 400: File not present: index/322ede6ef32f504d4aac2ca69e258517568aa5d6e61ff8b2f212c880c78cdd7a 4_z707d67f9916ec2a561ca0a16_f113653090f2818ae_d20211007_m131233_c000_v0001401_t0021
Remove(<index/f23de7a108>) returned error, retrying after 1.512307002s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/322ede6ef3>) returned error, retrying after 1.107687652s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/258cef3be4>
removed <index/b9784d6b7c>
Remove(<index/322ede6ef3>) returned error, retrying after 646.077373ms: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/423af81b7e>) returned error, retrying after 9.255743877s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/f23de7a108>) returned error, retrying after 4.484406718s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/322ede6ef3>) returned error, retrying after 1.251306712s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/cd97c8a639>
Remove(<index/f7ed4ed9a3>) returned error, retrying after 6.932810881s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/e3c3dd274c>
Remove(<index/322ede6ef3>) returned error, retrying after 3.626892523s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/8997a9f893>
removed <index/699d624ad4>
Remove(<index/9ebff12444>) returned error, retrying after 15.913615286s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/f23de7a108>) returned error, retrying after 7.409915048s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/e8f480772c>) returned error, retrying after 23.647115398s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/322ede6ef3>) returned error, retrying after 2.592980542s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/51956960a7>) returned error, retrying after 17.844582462s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/6d33615238>
Remove(<index/f7ed4ed9a3>) returned error, retrying after 17.901687957s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/8ca48a06d5>
Remove(<index/322ede6ef3>) returned error, retrying after 6.735581194s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/423af81b7e>) returned error, retrying after 28.427506353s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
removed <index/82bea51422>
removed <index/0f9d4b887f>
Remove(<index/f23de7a108>) returned error, retrying after 12.149914884s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/322ede6ef3>) returned error, retrying after 5.047504379s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/9ebff12444>) returned error, retrying after 19.089857364s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/322ede6ef3>) returned error, retrying after 18.286055505s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
Remove(<index/f23de7a108>) returned error, retrying after 18.644330146s: Delete: b2_download_file_by_name: 404: File with such name does not exist.
unable to remove <index/51956960a7> from the repository
unable to remove <index/9ebff12444> from the repository
unable to remove <index/f23de7a108> from the repository
unable to remove <index/322ede6ef3> from the repository
unable to remove <index/423af81b7e> from the repository
unable to remove <index/f7ed4ed9a3> from the repository
unable to remove <index/e8f480772c> from the repository
[1:17] 89.39%  59 / 66 files deleted

Fatal: Delete: b2_download_file_by_name: 404: File with such name does not exist.