Stuck running up "something bad happened"

Q: Date/Time this occurred (Provide your time zone also)
CET - now

Q: DevKinsta Version
2.11.0

Q: OS Version
MacOS 13.5

Q: Docker Desktop Version
A:

Q: Were any error codes or messages observed? If so, what were they?
No

Q: Detailed Description of the Problem
**Had multiple issues i could fix to come to the point the Devkinsta was importing the database dump. After that i got a white screen whitin the DevKinsta window on the run up. I was unable to recover from that screen and had to quit it in the activity monitor. Now when running up before the Docker start this “something bad happened” stays within the window, nothing else happening.
**

Hey @Mikyboy , can you please send me a copy of your main.log file via DM? You can find it by clicking on the question mark icon at the bottom left corner of DevKinsta and then on Reveal log file in File Manager.
We’d like to give a look at it and help you find the culprit.

Regards,
Alessandro

Thanks, sure

main.log (244.8 KB)

Hi @Mikyboy :wave:

The errors I see thus far doing the Site Pull are:

[2023-08-18 13:12:02.258] [error] [ipcMainStep] Error in operation SITE_PULL, step rsync: Error: Encountered an error in child process 74499: 30. rsync: connection unexpectedly closed (741638 bytes received so far) [generator] rsync error: timeout in data send/receive (code 30) at io.c(231) [generator=3.2.7]

and

[2023-08-16 19:30:49.922] [error] [ipcMainStep] Error in operation SITE_PULL, step rsync: Error: Encountered an error in child process 57099: 20. rsync error: received SIGUSR1 (code 19) at main.c(1609) [receiver=3.2.7]

I have macOS 13.4.1 and rsync version 2.6.x (rsync --version | head -n1). Because I don’t have your MyKinsta login I cannot reproduce the issue on your specific environment, nor your (exact) macOS version. However, since it is an rsync error I am seeing, it might be worth a shot to try and upgrade rsync if your version is not the server’s version (3.1.3)

To do this you would open either Terminal, or iTerm, and run the following commands:

brew install rsync
brew link --overwrite rsync

Then shut down DevKinsta and Docker Desktop. Start Docker Desktop again and then start DevKinsta, and retry the site pull, and let me know if that works.

In my case it installed rsync 3.2.7 with brew, which exceeds the server’s version of rsync, but as before it was 2.6.x it may make a difference.

If that doesn’t work, send us another logfile and a screenshot of your “System Report” from Spotlight search (or System Settings → General → About), and we’ll continue to review other options

Best regards,
Zach

Hi Zach and thanks for that. I was able to update rsynch. Unfortunately now Devkinsta does not start over the “Starting Docker” stage although Docker is started. I have retried many times restarting Docker, restarting both but its stuck there. Find attached my System Report if that is what you meant.

Thanks for some more advice:

Mike


Bildschirmfoto 2023-08-25 um 18.29.58
Bildschirmfoto 2023-08-25 um 18.39.38
Bildschirmfoto 2023-08-25 um 18.40.21

Can you provide the output of this command in iTerm/Terminal:

stat /var/run/docker.sock

If that doesn’t exist, can you set these options in Docker Desktop → Settings → Advanced, make sure the CLI is set to System, and the checkboxes below it are checked?

Similar to these instructions:

Thanks, so i had to do the update and then had proplems on Docker. But reinstalled latest Docker version, so now at least DevKinsta runs up again but I am back to the original point where it is says “something bad happened”. This is the output of the command:

Mike@MacBook-Pro-von-User ~ % stat /var/run/docker.sock

stat: /var/run/docker.sock: stat: No such file or directory
Mike@MacBook-Pro-von-User ~ % stat /var/run/docker.sock
stat: /var/run/docker.sock: stat: No such file or directory
Mike@MacBook-Pro-von-User ~ % stat /var/run/docker.sock
16777220 40094491 lrwxr-xr-x 1 root daemon 0 35 “Aug 26 23:34:10 2023” “Aug 26 23:34:10 2023” “Aug 26 23:34:10 2023” “Aug 26 23:34:10 2023” 4096 0 0 /var/run/docker.sock

Hi there :slight_smile:

To clarify are you still getting that latest error (DK0006 Couldn’t download docker images) ?
If that’s the case, maybe try to perform this command line on your terminal (when both DevKinsta and Docker are entirely closed ) :

sudo ln -s "$HOME/.docker/run/docker.sock" /var/run/docker.sock

Once done, please try to open DevKinsta as usual and see if it’s working normally.

Also please rename the previous main.log file to something else (e.g.: main.log.old or something) and try to get the new created main.log file - and send it to us again - in case you’re still getting that “something bad happened” error, so we can check and review from that most recent main.log file.

Regards,
Agus

Hey Agus, no as mentioned docker image download works now, I am over that in the pulling protocoll. But the original tickets problem occured again the ‘something bad happened’:

Thanks for your support

I did run your command btw after renaming the logfile. Still “something bad happened”, find attached the newer main.log file.

main.log (710.2 KB)

Hi @Mikyboy

Can you see if this is what’s currently set in Docker Desktop → Settings → Advanced?

Once that’s set, please fully restart your Mac, and launch Docker Desktop first, then DevKinsta, and it should come up.

I’m on 13.4.1 macOS and 2.11.0 DK

I am not able to replicate the issue exactly, unfortunately.

I did confirm that there are no symlinks in /www/ on the staging space44 environment.

I do see that the database is around 3GB in size, public folder is 2.1G with some old .sql files in it, private folder is 3.2G with old directories in it

wp-config.php looks okay, but you might try removing these lines to test:

define('WP_DEBUG', false);
define('WP_MEMORY_LIMIT', '128M' );

Also, it looks like you have a WordPress drop-in file at public/wp-content/maintenance.php on the staging environment, which is loading a Plesk-powered maintenance page, and also breaking the output of WP-CLI (wp plugin status). Can you try deleting or moving that maintenance.php file out of the way (into private/ perhaps), and try to pull the staging to DevKinsta again?

Hi Angus yes i have done those settings when you mentioned it. I have also restarted. I started Docker now as you said and then DevKinsta, but now even weirder look at the screenshot it request do install Docker???

I will clean out these old files too at some point.

Hey @Mikyboy , the usual solution for this issue is a command you have already run :thinking:. Can you please let us know if rebooting your Mac solves the issue?

Regards,
Alessandro

Sorry, i rebooted twice. I even uninstlled DevKinsta and reinstalled, but before even logging in it asks me to install Docker despite it even being open.

Thanks for another tip there

Heya Michael!

Looks like you have tried couple of solutions/methods as suggested before (which usually would help to solve the issue) but still not working properly yet. I myself don’t have Mac here (I only use Linux Ubuntu and Windows machine, so couldn’t really try/replicate/test this.

I’ve been thinking now, if you don’t have any important local sites/any data you have stored in Docker, I would suggest to try to uninstall/remove everything (both Docker and DevKinsta) and re-install from scratch - and hopefully that will be working just fine :thinking:
So you may want to try the following steps when removing/uninstalling them:

  1. close and shutdown both DevKinsta and Docker Desktop/engine completely (make sure they are not running in the background).

  2. uninstall/remove DevKinsta on your Mac as shown here.

  3. remove Docker containers, volumes, and networks starting with devkinsta_ , and if you do not need Docker for other applications please uninstall it completely as shown there.

  4. remove the entries added to your hosts file by DevKinsta.

  5. finally remove these two folders on your Mac:
    User/Library/Application Support/DevKinsta (application config)
    User/DevKinsta (site files)

Once done, you may want to re-install the Docker Desktop first, then re-install the DevKinsta. After that please try to open DevKinsta again (if it can detect that Docker is running) and see if it will run properly (to create new WP site, import site from MyKinsta, etc).

Regards,
Agus

Thanks Agus, i will try again. I have done this before but not with those extra commands i guess. Frustrated have to say. Want to hand this over to our dev who is still working ftp but i love Devkinstas idea actually one of the assetts why chosing Kinsta. But like this of course i cant propose to him to also use it. Have to run it successfully myself first. And have to say it never was stable for me so far if you look at all the tickets I already opened.

I ll give you an update.

You’re welcome Michael! :bowing_man:
Sure, please take your time and see if those additional steps would help to solve it :crossed_fingers:
Alright, please let us know again if you have any updates/information/questions.

Regards,
Agus