Hyper V setup, remove port number in URL

Thanks for that @jwhennink!
So the errors are definitely because of the switch to Hyper-V. Your old databases for previous sites still exist if you switch back to WSL2 but they don’t exist under Hyper-V.

The process is trying to backup all of your sites but is running into a database connection error for the sites that you had under WSL2.

So you have a few options.

  1. You can switch back to WSL2 then delete your sites from DevKinsta before switching back to Hyper-V(this would be best for the longterm).

or

  1. If you are comfortable with editing JSON, you could edit your config.json and manually change the Ports (C:\Users\USERNAME\AppData\Roaming\DevKinsta\config.json):
    image
    Note that doing this would skip the step that takes a backup and runs a search and replace for the port number in your databases. You would have to do that manually as well. Also be sure to completely close DevKinsta from the Task Manager before starting it up again after you edit this file.

or

  1. Push any sites you have right now to Staging(or make backups of them), then reset Docker and completely uninstall DevKinsta so that you start fresh:
    Uninstall DevKinsta

The main issue is that Docker keeps the WSL and Hyper-V database volumes separate.