Q: Date/Time this occurred (Provide your time zone also) A: Now. Uk time
Q: DevKinsta Version A: How do you tell? But latest with site stop/start
Q: OS Version A: Linux Mint 20.3 cinnamon
Q: Docker Desktop Version A: no idea - whatever DevKinsta installs
Q: Were any error codes or messages observed? If so, what were they? A: Just the “SSL update failed” on the Dev Kinsta Enable SSL and Https
Q: Detailed Description of the Problem A: Just created a new site.
Changed PHP to 8 ( why does it default to 7.4 ? )
Tried to enable SSL and HTTPS but get the SSL update failed message.
Went to the admin page ( http ) and changed Wordpress to use https. Now the Site does not work at all and I am unable to get back to the admin. The DevKinsta SSL and HTTPS button still gives the failure to update error.
Sure, attached.
[main.old.log]
Looks like a permission problem with the config file … but why as DevKinsta only just created it?
Error from log.
[2022-07-21 18:47:34.744] [error] [setSsl] Error while setting ssl to true {
e: “Error: EACCES: permission denied, open ‘/home/ssoa/DevKinsta/public/bdtest1/wp-config.php’\n” +
’ at Object.openSync (node:fs:585:3)\n’ +
’ at Object.func [as openSync] (node:electron/js2c/asar_bundle:5:1800)\n’ +
’ at Object.writeFileSync (node:fs:2153:35)\n’ +
’ at /opt/DevKinsta/resources/app.asar/main.prod.js:2:958897\n’ +
’ at tryCatch (/opt/DevKinsta/resources/app.asar/main.prod.js:8:2180690)\n’ +
’ at Generator._invoke (/opt/DevKinsta/resources/app.asar/main.prod.js:8:2180313)\n’ +
’ at Generator.next (/opt/DevKinsta/resources/app.asar/main.prod.js:8:2181465)\n’ +
’ at asyncGeneratorStep (/opt/DevKinsta/resources/app.asar/main.prod.js:2:1003)\n’ +
’ at _next (/opt/DevKinsta/resources/app.asar/main.prod.js:2:1302)\n’ +
’ at /opt/DevKinsta/resources/app.asar/main.prod.js:2:1452\n’ +
’ at new Promise ()\n’ +
’ at /opt/DevKinsta/resources/app.asar/main.prod.js:2:1214\n’ +
’ at /opt/DevKinsta/resources/app.asar/main.prod.js:2:959017\n’ +
’ at Array.map ()\n’ +
’ at /opt/DevKinsta/resources/app.asar/main.prod.js:2:958422\n’ +
’ at tryCatch (/opt/DevKinsta/resources/app.asar/main.prod.js:8:2180690)’
}
[2022-07-21 18:47:34.746] [error] Error: EACCES: permission denied, open ‘/home/ssoa/DevKinsta/public/bdtest1/wp-config.php’
at Object.openSync (node:fs:585:3)
at Object.func [as openSync] (node:electron/js2c/asar_bundle:5:1800)
at Object.writeFileSync (node:fs:2153:35)
at /opt/DevKinsta/resources/app.asar/main.prod.js:2:958897
at tryCatch (/opt/DevKinsta/resources/app.asar/main.prod.js:8:2180690)
at Generator._invoke (/opt/DevKinsta/resources/app.asar/main.prod.js:8:2180313)
at Generator.next (/opt/DevKinsta/resources/app.asar/main.prod.js:8:2181465)
at asyncGeneratorStep (/opt/DevKinsta/resources/app.asar/main.prod.js:2:1003)
at _next (/opt/DevKinsta/resources/app.asar/main.prod.js:2:1302)
at /opt/DevKinsta/resources/app.asar/main.prod.js:2:1452
at new Promise ()
at /opt/DevKinsta/resources/app.asar/main.prod.js:2:1214
at /opt/DevKinsta/resources/app.asar/main.prod.js:2:959017
at Array.map ()
at /opt/DevKinsta/resources/app.asar/main.prod.js:2:958422
at tryCatch (/opt/DevKinsta/resources/app.asar/main.prod.js:8:2180690)
Looking at the permissions I see they are created with a different user being the owner. This may be the cause. They are 777 though.
I originally installed DevKinsta under my main userid which had admin ( root) permissions.
I then created a second userid just for my website work. This gave some problems as the new userid did not have root. So I reinstalled DevKinsta under this second userid, and gave that userid su ability.
Things then worked ok.
However since the 2.6 release of DK it has started asking for the root password every time I start DK. Not a big deal but a change in behaviour.
The HTTPS/SSL issue happens on any new site I create now. I have only noticed this since the latest upgrade to DK 2.7. Previous sites could have SSL/HTTPS enabled without issue.
LOL after writing the above I tried again to set the HTTPS/SSL value on 2 brand new sites … guess what? Today both worked!
So maybe this is just a timing thing and it needs time to sort itself out before you can set SSL/Https?
BUT I still can’t actually access the sites. Both report …
This site can’t provide a secure connection
bdtest1.local sent an invalid response.
ERR_SSL_PROTOCOL_ERROR
So I am unable to access the dashboard. The sites do show the home page using plain http.
Looking in the main.log I see the SSL certs created for both sites ok. But I also see a few errors relating to SSL. Not sure if they are related at all.
After a few more stop/starts … but no changes. My second test site is now working and using https.
The first test site still refuses to use https so unable to access wp-admin. But I’ll delete it and start again.
Maybe I just need more patience. But think this can be closed now.
Sorry for the confusion.