If the issue persists and you are willing to lose all existing local sites on the app, you can delete the Volumes in Docker Desktop and remove these two folders below and relaunch DevKinsta after. Doing this ideally should start the app as a fresh install.
If the issue continues after this point, please check if any DevKinsta containers are failing to run after you launch the application. Additionally, please send me the raw main.log file of the app via direct message so we can take a closer look at what is causing the app to get stuck during initialization.
Hey @Adrian_L, any updates on this? I am having the same issue on a Mac, but I do seem to have an error in the main log:
[error] SyntaxError: Unexpected non-whitespace character after JSON at position 1638 at JSON.parse () at docker_handleDockerEventData (/Applications/DevKinsta.app/Contents/Resources/app.asar/main.prod.js:2:181536) at IncomingMessage. (/Applications/DevKinsta.app/Contents/Resources/app.asar/main.prod.js:2:519116) at IncomingMessage.emit (node:events:513:28) at IncomingMessage.emit (node:domain:489:12) at addChunk (node:internal/streams/readable:324:12) at readableAddChunk (node:internal/streams/readable:297:9) at IncomingMessage.push (node:internal/streams/readable:234:10) at HTTPParser.parserOnBody (node:_http_common:131:24) at Socket.socketOnData (node:_http_client:542:22)
Devkinsta version: 2.13.6 (2.13.6.9096)
DockerDesktop: 4.67.0 (222858) I have tried reverting to older versions as well
OS Version: 26.3.1 (25D2128)
This issue is intermittent and sometimes DevKinsta will load okay, but this issue keeps coming back. Deleting the containers and images does nothing. I have reset the site completely by removing volumes a few times in the past, and it works for a little while, and then this issue comes back again. It takes a significant amount of time to delete the volumes and pull everything.
I am sorry to hear that you are having such issues. To help us take a closer look, can you please provide the latest raw main.log file from Devkinsta? The log file is usually stored at:
Hi @B_W
Thank you for sharing the main.log file. After reviewing it, I did not find any significant error entries that could explain why DevKinsta is intermittently failing to load, unfortunately. It’s possible that the specific error from the last time the app failed has already been overwritten by a newer version of the main.log file. When you encounter the issue again, please reshare the main.log file with us for further review. Additionally, when you encounter the problem, kindly check the Docker Desktop app for any warnings.
I can send another log now; once the issue happens once, then it happens on every startup. There are no warnings in Docker Desktop when the issue occurs. The error that is always consistent in the log is the SyntaxError: Unexpected non-whitespace character after JSON, and I also see [error] Chunk value. That also seems to be the same error that the last user on this thread was experiencing, based on the other thread that he linked to.
If you look at the new logs I will send now, specifically the Chunk value output, you can see that Docker is returning two concatenated JSON objects in a single stream chunk:
Because they are concatenated as }{ without a newline or array wrapper, the JSON.parse() method at docker_handleDockerEventData (/main.prod.js:2:181536) seems to throw a SyntaxError: Unexpected non-whitespace character after JSON. Could this be causing my issue?
I tested this on an identical machine with the ff specs and I was also getting [error] Chunk value: {"Type":"container","Action":"exec_create...} but DevKinsta is still able to initialize successfully. So I don’t think that is the specific error that is causing Devkinsta from failing to load.
Mac Mini
Devkinsta version: 2.13.6
DockerDesktop: 4.67.0
OS Version: 26.3.1
I noticed that the Nginx and FPM containers failed to load based on your main.log. Could you please check the status of the DevKinsta containers in Docker Desktop after you attempt to launch DevKinsta? Let me know if they are running or stopped. If they are not running, please try to start them manually. If that fails, check the logs of each container for clues regarding why they are unable to start.
All containers are running properly without any errors. The reason that is in the log is that I was testing manually restarting and stopping containers, etc., to see if I could get Dev Kinsta to continue to load.
Thank you for your response.
I have a question though.
Can you please double check wp-config.php and confirm that DOMAIN_CURRENT_SITE isn’t set to undefined or wrong domain?
Could you please try the following as well:
Close DevKinsta completely and make sure it is fully shut down
Open Docker and delete only the containers that start with devkinsta_
Please do not delete the volumes, and do not remove any other containers that are not related to DevKinsta
Start DevKinsta again so it can recreate the containers