2020 Mac M1 - Sonoma 14.3.1
Docker (4.27.2) and DevKinsta (2.13.1) are the latest versions
Some background - Around 3 months ago I added a new docker container for a separate codebase. During the setup, I followed installation instructions which required the installation of ASDF and I think during this setup, some files got moved around (I think where php versions are stored?) and some settings were changed.
It’s possible that this new container did not cause the DevKinsta error, and that I only noticed the DevKinsta error after setting up this other repo (since I don’t check DevKinsta app frequently, as long as the local sites are working)
After this other docker container was setup, I noticed my DevKinsta was giving me the
DK0006 error while DevKinsta was trying to start up. However, the docker containers were working fine to spin up the local wordpress sites (all of mysites.local were working just fine) as long as I turned off the other docker container (for the non-wordpress site - I believe there was some issue about the DevKinsta sites and the other docker container trying to share the same port).
So I had some time today to try and figure out the DevKinsta error, and followed quite a few other threads. I noticed the docker.sock file was gone, so I followed the recommendation of:
sudo ln -s "$HOME/.docker/run/docker.sock" /var/run/docker.sock
Which allowed DevKinsta to finally load and bypass the DK0006 error. However, now my local sites are not working - site.local and site.local:49533/ are all broken. So by fixing DevKinsta, I’ve somehow messed up the Docker/DNS/port configs or something (I’m really not sure)
From another thread’s suggestion, I ran
sudo killall -HUP mDNSResponder
to refresh the DNS cache
I tested a new site w/ “Add site” → “New WordPress site” - and the new site works. But all existing sites are still not working
In main.log I have the following error that I think is about SSL:
[2024-02-26 14:59:26.694] [info] [checkWpVersion] site's current version 6.4.3
[2024-02-26 14:59:26.694] [info] [checkWpVersion] site's stored version 6.4.3
[2024-02-26 14:59:26.694] [info] [checkWpVersion] containerExec response test true
[2024-02-26 14:59:29.780] [error] create thumbnail error: Error: write EPROTO 4813368224:error:100000f7:SSL routines:OPENSSL_internal:WRONG_VERSION_NUMBER:../../third_party/boringssl/src/ssl/tls_record.cc:231:
I’ve tried the suggestions recommended in this thread
and did a wp search-replace:
wp search-replace 'https://ascentfunding.local:49828' 'https://ascentfunding.local'
which made 14509 replacements
Still my site does not work
I have checked Docker Settings and “Allow the default Docker socket to be used” is checked
This is starting to get ridiculous and I’m wondering if I’m creating more issues. . .