BassT23 / Proxmox

Update your Proxmox VE
Other
191 stars 14 forks source link

Can not Update. no old Snapshot exis #155

Closed Gaunt0815 closed 1 month ago

Gaunt0815 commented 1 month ago

I can not update some Containers. i get the Error that an old Snapshot does not exist. The Error is right this Update does not exist. but if i create a snapshot with this name, the error is still there and the snapshot does not longer exist.

[Info] Start Snaphot and/or Backup [Info] Snapshot created [Info] Deleted old snapshots snapshot 'Update2024-07-24' does not exist Error during Update --- Exit Code: 255

BassT23 commented 1 month ago

For my understanding: You self created an snapshot with the name: Update2024-07-24 You self deleted it and now updater can't find it. So far so good 😀

Snapshots - created from updater should look like this: Update_20240804_091209

What is the output from pct listsnapshot <id from the problematic container> | sed -n "s/^.*Update\s*\(\S*\).*$/\1/p" ?

Gaunt0815 commented 1 month ago

no i startet the updater. On the second container the updater stop with the error Snapshot not found, then i creat the Snapshot with this name. I thought if i creat the snapshot the updater find the snapshot and can delet it. But after the cancle from the updater with the error "the snapshot does not exist" i locked in the Snapshots and cant find the Snapshot with this name (but older and newer snapshots). i dont know why the first container works, the first container has more old snapshots then the second.

Here the output: root@ProxmoxVE:~ # pct listsnapshot 101 | sed -n "s/^.Update\s(\S).$/\1/p" 2024-07-24 _20240917_204837 _20240917_205719 _20240917_210009 _20240917_210332 _20240917_210613 _20240917_211007 _20240917_211800 root@ProxmoxVE:~ #

and here the List of the Snapshots: image (some Snapshots between 17.09 and the 24.07 are lost. But its ok, i have backups)

Gaunt0815 commented 1 month ago

Now it works. i delet the snapshot with the name "BeforeAutoUpdate" which was created at 24.07.2024 and after i delet this manuall the Updater works with no errors.