After some time without touching Kopia (so I literally did nothing) I started to get this:
WARN unable to persist sharding parameters: unable to complete WriteTemporaryFileAndCreateParentDirs despite 10 retries: BLOB not found
deleted repository password for \AppData\Roaming\kopia\repository.config.
ERROR error connecting to repository: repository not initialized in the provided storage
So something has happened but I don’t know what, KopiaUI is set to open at system start by default but there are no scheduled operations, only a couple snapshots the last one taken a month ago. This is not critical for me as those snapshots were tests but is alarming to see that Kopia can be broken so easily and without intervention, was thinking on using it to replace restic. What could have happened? Has this happened to someone else? I’m using rclone backend with Google Drive btw, I don’t know when this started but last time I actually used Kopia it was working without problems (though in the UI, at least) I had been getting duplicated policies, like I created a policy for path C:\A and I would get in the listing 3 policies for that path, I don’t know if this is normal/expected.
Actually I just went and searched for the logs, as I understand this problem started some hours ago?
2022-12-29T02:08:18.752007Z INFO kopia/cli
Server will allow connections from users whose accounts are stored in the repository.
User accounts can be added using 'kopia server user add'.
2022-12-29T02:08:18.754536Z DEBUG kopia/server generated random auth cookie signing key: fcebc192-28ed-4191-8398-32cbd3ae447a
2022-12-29T02:08:18.779512Z INFO kopia/cli Server will close when stdin is closed...
2022-12-29T02:08:18.786513Z DEBUG tls generating new TLS certificate
2022-12-29T02:08:19.881205Z DEBUG tls adding alternative DNS name to certificate: localhost
2022-12-29T02:08:19.888707Z INFO kopia/cli Open the address above in a web browser to use the UI.
2022-12-31T07:24:29.840475Z DEBUG tls generating new TLS certificate
2022-12-31T07:24:29.879982Z DEBUG tls adding alternative IP to certificate: 127.0.0.1
2022-12-31T07:24:29.899986Z DEBUG rclone starting C:\Program\rclone\rclone.exe
2022-12-31T07:24:31.628791Z DEBUG rclone detected webdav address: https://127.0.0.1:5535/]
2022-12-31T07:24:34.073221Z DEBUG retry got error BLOB not found when WriteTemporaryFileAndCreateParentDirs (#0), sleeping for 100ms before retrying
2022-12-31T07:24:34.181239Z DEBUG retry got error BLOB not found when WriteTemporaryFileAndCreateParentDirs (#1), sleeping for 150ms before retrying
2022-12-31T07:24:34.336267Z DEBUG retry got error BLOB not found when WriteTemporaryFileAndCreateParentDirs (#2), sleeping for 225ms before retrying
2022-12-31T07:24:34.568307Z DEBUG retry got error BLOB not found when WriteTemporaryFileAndCreateParentDirs (#3), sleeping for 337.5ms before retrying
2022-12-31T07:24:34.909367Z DEBUG retry got error BLOB not found when WriteTemporaryFileAndCreateParentDirs (#4), sleeping for 506.25ms before retrying
2022-12-31T07:24:35.420457Z DEBUG retry got error BLOB not found when WriteTemporaryFileAndCreateParentDirs (#5), sleeping for 759.375ms before retrying
2022-12-31T07:24:36.195593Z DEBUG retry got error BLOB not found when WriteTemporaryFileAndCreateParentDirs (#6), sleeping for 1.1390625s before retrying
2022-12-31T07:24:37.342794Z DEBUG retry got error BLOB not found when WriteTemporaryFileAndCreateParentDirs (#7), sleeping for 1.70859375s before retrying
2022-12-31T07:24:39.063597Z DEBUG retry got error BLOB not found when WriteTemporaryFileAndCreateParentDirs (#8), sleeping for 2.562890625s before retrying
2022-12-31T07:24:41.636049Z DEBUG retry got error BLOB not found when WriteTemporaryFileAndCreateParentDirs (#9), sleeping for 3.844335937s before retrying
2022-12-31T07:24:45.490821Z WARN sharded unable to persist sharding parameters: unable to complete WriteTemporaryFileAndCreateParentDirs despite 10 retries: BLOB not found
2022-12-31T07:24:45.494228Z DEBUG rclone no writes in this session, no need to wait
2022-12-31T07:24:45.494228Z DEBUG rclone killing rclone
So I guess I should just give up, delete the folder and create a new repo? I would like to understand what could have happened, maybe my system rebooted while it was running a maintenance and that messed things up? Though I don’t think so because that log I just posted above is from a single file and if my system rebooted there should be multiple log files, right?