ad-on-is / resticity

A beautiful cross-platform UI for restic backup.
GNU General Public License v3.0
65 stars 2 forks source link

Error "Context Canceled" when pruning #7

Closed fleshgolem closed 7 months ago

fleshgolem commented 7 months ago

I have set pruning rules up for all my repos and a schedule to run it manually. When i run it, I get this in the docker log

resticity  | 2024/03/19 15:43:15 DEBU Running job manually id=0c11b071-92e1-4daf-afd2-bc5e72ed9a5e
resticity  | 2024/03/19 15:43:15 DEBU before job run id=0c11b071-92e1-4daf-afd2-bc5e72ed9a5e
resticity  | 2024/03/19 15:43:15 DEBU Setting forced running job id=0c11b071-92e1-4daf-afd2-bc5e72ed9a5e
resticity  | 2024/03/19 15:43:15 INFO core repo=s3:xxx/xxx cmd=[unlock]
resticity  | 2024/03/19 15:43:17 INFO core repo=s3:xxx/xxx cmd="[forget --prune --keep-daily 7 --keep-weekly 8 --keep-monthly 10]"
resticity  | 2024/03/19 15:43:17 ERRO executing restic command err="context canceled"
resticity  | 2024/03/19 15:43:17 DEBU after job run res=success id=0c11b071-92e1-4daf-afd2-bc5e72ed9a5e

I know that this prune should delete some snapshots and I can verify that it does not. The UI will also show it as having run succesfully, even though it didnt I have no idea, what the error "context canceled" means here, so I am not sure what other info to provide. Please let me know if you need anything else.

ad-on-is commented 7 months ago

Yep, can reproduce. Has something to do with unlocking the repository first. Bugfix is on its way

ad-on-is commented 7 months ago

Fixed in 1.0.32