Whenever I am trying to add a site in DevKinsta I am getting this error "Something bad happened" this is happening on both my macbook and my windows laptop

Hello, Gurvak! :wave: Thanks for reaching out.
I hope you are doing well! This is Jovana from the Kinsta Team. :blush:

Can you please provide us with the details from the main.log file or the actual file, so we can investigate further?
You can check how to view it here.

Please let me know if you need anything else.

Best regards,
Jovana

Here I have attached the log as requested, sorry should have done that already with my post my bad.

Thank you for that.

I checked, and it seems you didn’t grant permission to edit the host file. That is why it is failing.

Can you please ensure you upgraded DevKinsta to the latest version and try again?

Thanks!

I have installed the latest version and also it does not give me a prompt to grant it permission.

Let me find a way to manually grant it permission.

I also noticed something strange, when I am creating a website or opening DevKinsta the prompt for permisison is not getting triggered, but when I am deleting the website I am getting the prompt to grant permission.

Now I do not understand how can I fix this.

Main log file redacted for security (Kinsta staff edit)

Now it seems the application is not even launching

Hi @Gurvak_Singh! Thank you for your reply!

I am sorry to see that DevKinsta is now experiencing an error while starting. I have reviewed the main.log file you provided in your post and noticed it appears the devkinsta_nginx Docker container may not be running.

To try and get the container running again please fully stop DevKinsta, and then fully exit Docker Desktop and restart it. At this point please review the status of the DevKinsta related containers to ensure they are running. If they still appear stopped at this point please launch DevKinsta again as this should complete the startup process.

If the error persists however please let us know. If you could also include the status of each DevKinsta related Docker container (if it is running, stopped, or in an error state) that will help in our investigation.

We look forward to hearing back from you!

The Nginx container is stuck and keep restarting, as it keep lookig for the ssl certificate and I haven’t created any websites, I have uninstalled, deep cleaned my mac for any reamaning file or caches for DevKinsta and re-installed done that 3 times still the same issue nginx stuck at restarting and it keeps looking for this ssl certificate in the /www/kinsta/ssl/cloudops.local.crt which does not exist

I think I will look for other alternatives to use for the local wordpress development as for some reason whenever I am starting DevKinsta and creating a site it is not asking me for the permission to edit the host file.

And I found there is one other application like this called Local so I think I will be using that. I am sorry to say this but I have no other option.

Thanks for all your efforts and help.

Hi @Gurvak_Singh

From the screenshot that you’ve provide from the devkinsta_nginx container, it looks like the cloudops.local.crt file is missing from your local machine. I’m not certain how it may have been removed, deleted, or moved, but that seems to be what is causing the issue.

To confirm, please check the ~/DevKinsta/ssl/ folder on your computer and see whether the .crt file is still there. If it is missing, you may also want to search your machine in case it was moved elsewhere. If you do find it, please move it back into that folder and then try reopening DevKinsta.

So in your case, if you confirm that the cloudops.local.crt file is missing from the ~/DevKinsta/ssl/ folder and you are unable to find it anywhere else on your machine, the next step would be to regenerate it.

Please follow these steps:

Go to the SSL folder:

cd ~/DevKinsta/ssl/

Generate the key file:

openssl genrsa 2048 > cloudops.local.key

Then generate the certificate file:

openssl req -new -x509 -nodes -sha256 -days 365 -key cloudops.local.key -out cloudops.local.crt

You will be asked a few questions during the process. You can answer them like this as an example:

Country Name (2 letter code) [AU]: US
State or Province Name (full name) [Some-State]: CA
Locality Name (eg, city): West Hollywood
Organization Name (eg, company) [Internet Widgits Pty Ltd]: Kinsta
Organizational Unit Name (eg, section): DevKinsta
Common Name (e.g. server FQDN or YOUR name): cloudops.local
Email Address:

Please note that the Common Name must match the actual local site URL, in this case:

cloudops.local

Once the new files have been created, please also remove the devkinsta_nginx container before reopening DevKinsta:

docker rm -f devkinsta_nginx

Then reopen DevKinsta. At that point, the error should no longer appear. After that, please test the site and confirm that it loads correctly.

Please give this a try on your end, and hopefully this resolves the issue.
I will wait for your update, thank you.