Please help! I have lost all my DevKinsta sites after a routine windows restart for the second time in a week. The first time I thought it must have just been a glitch / corruption and I spent an entire day starting over.
Now it has happened for a second time in 5 days (on a different windows PC this time) and I simply don’t have time to do everything again.
When I opened DevKinsta after a routine windows restart there are just no sites shown in DevKinsta anymore. The containers are all still running in Docker.
I have checked the config.json file and there are no sites listed in there anymore.
“sites”: [],
My sites were running in WSL and the source files were stored in \\wsl.localhost\docker-desktop\mnt\docker-desktop-disk which is now totally empty after the restart.
This is a really concerning problem given it is happening repeatedly and frequently. I’m not the only one with this issue either as I found many other similar topics:
It is a massive process to start over as there are multiple sites and they are over 8GB each and once I set up the local versions in WSL via DevKinsta I have to install composer, node, tailwind etc. in there to run the builds plus Git to run the deploy process. So the whole thing cannot just be repeated easily at any time the sites feel like disappearing!
I believe the data still exists in C:\Users\\AppData\Local\Docker\wsl\docker_data (as this file is 25GB) however I don’t know how to make DevKinsta see the sites and use this data correctly again.
Can anyone help? How can I get the local sites back into DevKinsta and the files back into \\wsl.localhost\docker-desktop\mnt\docker-desktop-disk folder and how do I prevent this from ever happening again in the future?
Update: I started over. I had no choice. I spent over two hours trying to restore from the backup and wasn’t successful. So I uninstalled everything, deleted everything then reinstalled it all again and pulled down the large sites again.
So… how do I prevent this from ever happening again? Because I’m 100% certain that if I change nothing then nothing will change and exactly the same thing will happen again as it already happened twice. I already didn’t have time to redo everything again today and I certainly won’t again in the future.
Please let me know how I can ensure this never happens again.
Sorry I no longer have the log from before the issue as I deleted everything and started fully fresh. However before I had to do that I spent a couple of hours trying to problem solve and I did review the logs as part of that process.
There was nothing of note in there at all. No errors. Nothing which showed what the problem was or the cause or that there even was a problem.
There were just normal log entries from when everything was working as expected before the restart then new log entries from DevKinsta starting up again fresh 7 minutes later with no sites. No errors on either side of the 7 minute gap in timestamps.
Had there been something relevant in the logs I would definitely have come back to this thread and posted it here then.
I’m sure this will no doubt happen again as it has already happened twice and I haven’t change anything. So when it does I will be sure to post the logs immediately.
I’m sorry to hear that. Also, if it happens again, please don’t uninstall or delete DevKinsta while we troubleshoot. It is a strange issue, I also have a Windows machine and DevKinsta installed there for years, and while updates were known to sometimes cause issues, sites have never disappeared so it might be specific to some aspect of the machine, operating system, Docker, WSL and how it interacts with DevKinsta, but we’ll need it in broken state and logs to check.
Thanks. It has happened on two completely different Windows PC’s for me in the last week… so it is certainly not related to just one system or machine.
I’m actually too scared to shutdown or restart windows now in case it happens again, however inevitably I will have to do that sooner or later so I will report back if/when it happens again.