Cannot delete the current state of the running machine (machine state: Snapshotting). Result Code: VBOX _E_INVALID_VM_STATE (0X80BB0002) Component: Session Machine Interface: IMachine {.... - ....}
Snapshot fail to restore
Snapshot fail to restore
All of my snapshots fail to restore. Not sure what and when it first started. Just recently discover this problem.
Last edited by Edward22 on 10. May 2023, 00:41, edited 1 time in total.
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Snapshot fail to restore
Did you recently update Virtualbox? "current state of the running machine" sounds like the snapshots were of running VMs, which requires a saved state to be included in the snapshot. Saved states rarely survive a Virtualbox version change.
If you did upgrade, downgrading back to the version you had should get the saved states going again.
If you did upgrade, downgrading back to the version you had should get the saved states going again.
Re: Snapshot fail to restore
It was not a upgrade issue. (Speaking of which I just did it after seeing your post. However, as expected it didn't solve the issue.) I was trying to restore a new snapshot after trying out something new.scottgus1 wrote:Did you recently update Virtualbox? "current state of the running machine" sounds like the snapshots were of running VMs, which requires a saved state to be included in the snapshot. Saved states rarely survive a Virtualbox version change.
If you did upgrade, downgrading back to the version you had should get the saved states going again.
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Snapshot fail to restore
Do the snapshot icons have an orange/red square or a green triangle on them?
Do the VMs still boot up?
Do the VMs still boot up?
Re: Snapshot fail to restore
Green Triangle all, but the 1st snapshots (snapshot 1) are red square. This could be because of the upgrade I just done a few hours ago (but I can't remember the pre-upgrade icons).scottgus1 wrote:Do the snapshot icons have an orange/red square or a green triangle on them?
Do the VMs still boot up?
Yes, the VMs still work, hence why it took me a while to discover the snapshots are not working anymore.
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Snapshot fail to restore
Good, thanks. Red square means the VM was shut down when the snapshot was taken. Green triangle means the VM was running when the snapshot was taken.Edward22 wrote:Green Triangle all, but the 1st snapshots (snapshot 1) are red square.
A green triangle VM will start up in a fully running state, with exactly the same files and apps open that it had at the time of the snapshot. It behaves exactly like a save-stated VM. This happens because a saved state is included in the snapshot.
A saved state rarely survives a Virtualbox version change. If you took a green triangle snapshot a year ago, then upgraded Virtualbox six months ago, the green triangle snapshot might have trouble starting.
However (track change for my train of thought) the "Cannot delete the current state of the running machine" error starts to mean something else to me. (fwiw there are few references to this error in the forum, and none explaining it thoroughly.) Is your VM running when trying to restore a snapshot? If so, try the restore when the VM is shut down.
Re: Snapshot fail to restore
I had tried shutting down VM then restore snapshot earlier (and again just now), but it doesn't fix. Once again, this problem also affect even newly made snapshot, even just seconds before shutdown.scottgus1 wrote:Good, thanks. Red square means the VM was shut down when the snapshot was taken. Green triangle means the VM was running when the snapshot was taken.Edward22 wrote:Green Triangle all, but the 1st snapshots (snapshot 1) are red square.
A green triangle VM will start up in a fully running state, with exactly the same files and apps open that it had at the time of the snapshot. It behaves exactly like a save-stated VM. This happens because a saved state is included in the snapshot.
A saved state rarely survives a Virtualbox version change. If you took a green triangle snapshot a year ago, then upgraded Virtualbox six months ago, the green triangle snapshot might have trouble starting.
However (track change for my train of thought) the "Cannot delete the current state of the running machine" error starts to mean something else to me. (fwiw there are few references to this error in the forum, and none explaining it thoroughly.) Is your VM running when trying to restore a snapshot? If so, try the restore when the VM is shut down.
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Snapshot fail to restore
OK, thanks. This one is beyond me then. We'll need a forum guru to come along and show us what to do.
Re: Snapshot fail to restore
Anywhere else I can report this to, in case no guru come?scottgus1 wrote:OK, thanks. This one is beyond me then. We'll need a forum guru to come along and show us what to do.
-
- Site Moderator
- Posts: 20945
- Joined: 30. Dec 2009, 20:14
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Windows, Linux
Re: Snapshot fail to restore
Not at this moment, no. We don't know if it's a bug yet. It is quite likely something that has gone wrong on your computer, since it is so rarely mentioned in the forum.
One idea, have you rebooted the host completely?
One idea, have you rebooted the host completely?
Re: Snapshot fail to restore
I'm not sure what is "complete reboot", but I will assume it is just restarting my host, which did not solve the issue.scottgus1 wrote:Not at this moment, no. We don't know if it's a bug yet. It is quite likely something that has gone wrong on your computer, since it is so rarely mentioned in the forum.
One idea, have you rebooted the host completely?
PS: I'd add these 2 details to my initial post above (I'd left them out because I thought looking at the error code 0X80BB0002 will be enough, and it might be). The IMachine {... -...} results are the same throughout my different VMs.
Component: SessionMachine Interface: IMachine {.... - ....}
-
- Volunteer
- Posts: 5678
- Joined: 14. Feb 2019, 03:06
- Primary OS: Mac OS X other
- VBox Version: PUEL
- Guest OSses: Linux, Windows 10, ...
- Location: Germany
Re: Snapshot fail to restore
FWIW, VirtualBox has different machine states for offline ("Snapshotting"), online ("OnlineSnapshotting") and live ("LiveSnapshotting") snapshotting. The error indicates the following:
At some time in the past, VirtualBox started to create an offline snapshot and something unexpected happened, leading VirtualBox to think that creating the offline snapshot is still ongoing. In consequence, VirtualBox denies any attempt to delete the current VM state.
Please provide the .vbox file of the VM and tell us which snapshot you want to restore.
At some time in the past, VirtualBox started to create an offline snapshot and something unexpected happened, leading VirtualBox to think that creating the offline snapshot is still ongoing. In consequence, VirtualBox denies any attempt to delete the current VM state.
Please provide the .vbox file of the VM and tell us which snapshot you want to restore.
Re: Snapshot fail to restore
I will assume you want to see the vbox.log when it was trying to restore the snapshot, so here you go.fth0 wrote:FWIW, VirtualBox has different machine states for offline ("Snapshotting"), online ("OnlineSnapshotting") and live ("LiveSnapshotting") snapshotting. The error indicates the following:
At some time in the past, VirtualBox started to create an offline snapshot and something unexpected happened, leading VirtualBox to think that creating the offline snapshot is still ongoing. In consequence, VirtualBox denies any attempt to delete the current VM state.
Please provide the .vbox file of the VM and tell us which snapshot you want to restore.
00:00:43.251607 E1000#0: Max TX Delay : 0 00:00:43.253143 GIM: KVM: Resetting MSRs 00:00:43.256455 vmmR3LogFlusher: Terminating (VERR_OBJECT_DESTROYED) 00:00:43.256570 Changing the VM state from 'DESTROYING' to 'TERMINATED' 00:00:43.257356 Console: Machine state changed to 'Saved' 00:00:43.354103 GUI: Passing request to close Runtime UI from UI session to UI machine. 00:00:43.356416 GUI: UICommon: Handling aboutToQuit request.. 00:00:44.272939 GUI: UICommon: aboutToQuit request handled!What snapshots I want to restore? All the green triangle ones, especially newly made seconds or minutes ago.
-
- Site Moderator
- Posts: 39134
- Joined: 4. Sep 2008, 17:09
- Primary OS: MS Windows 10
- VBox Version: PUEL
- Guest OSses: Mostly XP
Re: Snapshot fail to restore
In fact no, Fth0 asked for the ".vbox" file of the VM, i.e. the settings file for the VM because it includes the snapshot control info. You need to zip it and then attach the zip here.Edward22 wrote:I will assume you want to see the vbox.log when it was trying to restore the snapshot, so here you go.fth0 wrote: Please provide the .vbox file of the VM and tell us which snapshot you want to restore.
If you are a Windows host user then go into Explorer settings and make sure that file extensions are visible. That will make it much more obvious what people are referring to on occasions like this.
Re: Snapshot fail to restore
Here you go. The zip name is based on my VM's. Only snapshots 2-5 are in the green, but I would like to restore #5.mpack wrote: Fth0 asked for the ".vbox" file of the VM ... You need to zip it and then attach the zip here.
- Attachments
-
- Cloudian.zip
- (4.33 KiB) Downloaded 10 times
Last edited by mpack on 10. May 2023, 19:47, edited 1 time in total.
Reason: Trim redundant verbatim quote.
Reason: Trim redundant verbatim quote.