All uncommitted data in active workspaces lost
Bug description
As of this morning, any uncommitted data in non-garbage collected workspaces has been lost.
A workspace can show any number of changes between it and the main branch on GitHub, but when opening the workspace the changes are no longer there. I lost a workspace with 4,264 pending changes this morning. Students are reporting mass loss of data and work.
Steps to reproduce
Find a workspace that shows changes:

Start the workspace and it will revert to:

Losing the uncommitted changes.
Expected behavior
The expected behaviour would be for Gitpod to open workspaces normally, and for the uncommitted changes to be there.
Example repository
No response
Anything else?
No response
My workspace was affected by this issue this morning. When I typed python3 app.py in terminal today for my workspace, it said Flask is not installed. Also my env.py file was missing.
My workspace was affected by this issue this morning. When I typed python3 app.py in terminal today for my workspace, it said Flask is not installed. Also my env.py file was missing.
Same thing happened to me had to re-create my env.py file
Hi @lechien73 and @Franciskadtt, we're so sorry about this unexpected critical incident.
We're actively investigating this problem. We'll try to mitigate it as soon as possible, and try to safe and recover any lost data.
If you have an affected workspace, please:
-
Save the workspace ID or URL somewhere (this might help with restoring data later)
-
Then, create a fresh new workspace, to continue work from there (that's because continuing work in the old affected workspace, or restarting that workspace again multiple times, could interfere with the backup & restore mechanism and decrease our chances of restoring the old data)
Same problems for me. I'm running a Django project and it gives message : " ImportError: Couldn't import Django. Are you sure it's installed and available on your PYTHONPATH environment variable? Did you forget to activate a virtual environment?"
Thanks @jankeromnes - we'll get that out there to our affected students.
For me, the main two are: amaranth-aardwolf-lj653ml1 and maroon-dog-9xusrtau
Just FYI thanks... My main workspace is https://pink-nightingale-71ra1tyl.ws-eu09.gitpod.io/
Now it is giving : This page isn’t workingIf the problem continues, contact the site owner. HTTP ERROR 401
We updated our status page: https://www.gitpodstatus.com/incidents/ggspjq9qlbwx
The good news is: No data is lost. We're working on restoring the data as smooth as possible. We'll post again once we in a position to do so.
What do you mean no data is lost? Does not apply to me unfortunately. I lost a complete database this morning and there was nothing I could have done to prevent this, apparently. Gitpod people, this is not good enough, I am sorry! Heroku manages to send heads-up emails when maintenance is required. Do the same and add information as to what the possible consequences are for users and how to prevent/mitigate them.
What do you mean no data is lost?
it means we're in the process of recovering the data and will make it available to you (and all other affected users) ASAP.
That sounds very good - thank you!
If we continue to develop into the workspace, will those be affected by the data recovery?
Do you yet have an ETA as to when we can start our workspaces and check whether they are wokring as expected yet?
Status: We've identified and fixed the bug.
- If you re-start a workspace now that has a backup from before 5:30 UTC today, that backup will be restored
- If you have started a workspace between 5:30 UTC today and 12:36 UTC today, we will still do a backup, but if there is one from before the incident, that one will be loaded on the next re-start. Please contact us via [email protected] if you need access to the newer backup.
We are very sorry for this incident and all the damage it caused to our users.
Thanks for fixing, I can confirm my workspace is back working. Thanks for the resolution and the updates.
@JanKoehnlein We are still having issues. Sent an email to [email protected] and replied to the messages from your support team.
We noticed the workspace had been restored last night AEST and continued working, however this morning, it's now reverted again. Can we get pink-stingray-8ty21riw reverted to what it was at 1:30am AEST. Thank you.
My workspace was working yesterday (17:00 UTC), but when I started it today the changes from yesterday afternoon were lost.
My workspace was working yesterday (17:00 UTC), but when I started it today the changes from yesterday afternoon were lost.
Same.
@higorgeous I have (hopefully) restored the state to what it was at 1:30am AEST. Due to the nature of the incident we're left with a sort of "split brain" situation where we have two backups for the same workspace in different states. That makes it rather hard to communicate the options, but also to keep track of what's what. I'm very sorry for this mess.
@jlaasonen I have (hopefully) restored your workspace backup to its latest state. Please let me know if it is in the state you expected it to be in.
@higorgeous I have (hopefully) restored the state to what it was at 1:30am AEST. Due to the nature of the incident we're left with a sort of "split brain" situation where we have two backups for the same workspace in different states. That makes it rather hard to communicate the options, but also to keep track of what's what. I'm very sorry for this mess.
Thank you for your help but I am not seeing any of these changes available in the workspace. If you can see the files, we should have a .env.local in the root and within src/components there should be a Library containing Textarea, Textfield and Form directories, and AddCharity directory containing index.tsx and styles.tsx. Inside src/context we should also have a directory called Theme that contains index.tsx. I think off the top of my head, we had 35 commits to be pushed.
Will try stopping the workspace and restarting to see if that shows the changes.