Issue requires FTP creds

Q: Date/Time this occurred (Provide your time zone also)
**A: 3/7/2023 UTC-08:00

Q: DevKinsta Version
**A: 2.10.0

Q: OS Version
**A:Windows 10 22H2

Q: Docker Desktop Version
**A: 4.17.0 (99724)

Q: Detailed Description of the Problem
**A: I install Docker Desktop and DevKinsta and create new sites, new sites run slowly. So I follow the forum guide to disbale WSL2 and activate Hyper-X.

The site on Devkinsta run faster, I start to install some plugins, when I begin to uploard a plugin, I’m greeted with this popup.

Then I follow the guide in forum to run a docker exec command in Windows CMD and Powershell.

But the command “docker exec devkinsta_fpm chown -R www-data:www-data /www/kinsta/public/” return nothing on my CMD.

I double-check if the container name and the path is correct, they return correctly.
Just the “docker exec devkinsta_fpm chown -R www-data:www-data /www/kinsta/public/” doesn’t work.
Do you know why? Is it because of the Hyper-X setting?

The guide to switch WSL-2 to Hyper-X I followed

And the guide I follow to add Docker exec

Hello @ming44025 and welcome to DevKinsta Community!
Can you please try to add the following line into your wp-config.php file:

define( 'FS_METHOD', 'direct' );

just before the line that says:

/* That's all, stop editing! Happy publishing. */

Let us know if you are able to upload the plugins without issue then.


Yes, it works now. :joy:
I put that code at the end of the wp-config.php file and the website broken, so I thought that code didn’t work.
They need to be put before the line
/* That’s all, stop editing! Happy publishing. */

Thank you so much.

1 Like

Hi CaryYue,

Glad to hear that solution works for you now! :smiley:
You’re most welcome!


This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.