Hi all While we havenāt been able to duplicate this at the moment so far we feel this may be permission related, if anyone continues to see that prompt beyond the wp-config.php edit (perhaps @nametags4u ) may we please have you try running the following command?
Iām getting ready to try your suggestions⦠In the meantime, it didnāt dawn on me before, but I get Security Warnings every time I launch a site from DevKinsta. I always accept the risk. That may be why I canāt run updates.
This is the specific warning I get. Note that I do not get this warning when using Desktop Server, Laragon, or Local by Flywheel.
Warning: Potential Security Risk Ahead Firefox detected a potential security threat and did not continue to blanksite-1.local. If you visit this site, attackers could try to steal information like your passwords, emails, or credit card details. Learn moreā¦
Frank
Youāre welcome! I donāt believe that would cause it, as that should only relate to how your browser is validating the SSL with the local domain Are you able to share what version of Firefox youāre using? Is the same warning triggered on other browsers? Iāll check with our team about this as well as I havenāt been able to find much on this myself, Iāll keep you updated!
I deleted the local site and downloaded a fresh copy via DevKinsta. There are a couple dynamics in play. We have a new IT provider that locked me down so tight I couldnāt research military or law enforcement. Thatās 90% of our business. So they opened up the firewall, I downloaded a fresh copy of the website, and ran the docker exec devkinsta_fpm chown -R www-data:www-data /www/kinsta/public/ code you sent. One or all of those combined seem to have fixed the problem.
Now all Kinsta has to do is make the thing lightning fast. Iām using SSDs, but itās still slower than working online. This will be a great time saver once itās optimized.
To perform the requested action, WordPress needs to access your web server. Please enter your FTP credentials to proceed. If you do not remember your credentials, you should contact your web host."
has shown up.
Please adviseā¦
P.S. Iām a non-programer so please be explicit with any coding request. Thanks.
Hi @kadso . Iām sorry to hear youāre having trouble! Iāve merged your topic into another thread as itās related to the same bug/issue others are experiencing. There are a few solutions posted above. The easiest being adding the following into your wp-config.php file
I have tried adding this but to no luck. I am having the same issue, itās not afresh install but a pretty raw install. Itās our starter theme. Copied the site on Kinsta host, downloaded on dev kinsta. Then I got that same FTP request for credentials to do any updates at all. Then when I tried to upload an image it wouldnāt let me do that either.
Gave the following error message:
square.jpg
The uploaded file could not be moved to wp-content/uploads/2021/05.
Additionally when I tried the define('FS⦠I got a bunch of errors in my log.
2021/05/08 05:32:26 [error] 26#26: *584 FastCGI sent in stderr: āPHP message: PHP Warning: Use of undefined constant āFS_METHODā - assumed āāFS_METHODāā (this will throw an Error in a future version of PHP) in /www/kinsta/public/websiteurl/wp-config.php on line 67PHP message: PHP Warning: Use of undefined constant ādirectā - assumed āādirectāā (this will throw an Error in a future version of PHP) in /www/kinsta/public/websiteurl/wp-config.php on line 67ā while reading response header from upstream, client: 1.1.1.1, server: websiteurl.local, request: āPOST /wp-admin/admin-ajax.php HTTP/2.0ā, upstream: āfastcgi://1.1.0.1:9002ā, host: āwebsiteurl.localā, referrer: āhttps://websiteurl.local/wp-admin/customize.php?return=%2Fwp-admin%2Fupdate-core.phpā
EDIT: All of my websites are doing this. Nothing will let me upload or update plugins. Itās like my whole wp-content folder is just editable.
This fixed it. I ran this, it took a bit to execute. Though when it did I was able to update, upload, and good to go. Opened up command console, copy, paste, good to go
As a follow up to this I have had to do this multiple times now. A new website installed didnāt want to work either and ran this and I was fine again.
I just tested this and yes, looks like every time I have downloaded a new website from Kinsta it doesnāt give me permission to do so. Funny enough, Iām back on this post today because I needed that again to run so I could make updates to an existing client.
This does appear to be an ongoing issue. I have to run this everytime I pull a site from Kinsta and my employees are having to do it too. Is there a better resolution in sight?
We simply run
each time but I feel itās an unneeded step.
Looking forward to continued improvements of DevKinsta!
With the release of DevKinsta 2.0, this issue should now be solved. You can download DevKinsta 2.0+ here. Let us know if you continue to see this issue!