# Issue requires FTP creds

**URL:** <https://community.kinsta.com/t/issue-requires-ftp-creds/2130>\
**Category:** Bug Reports\
**Created:** [March 7, 2023, 3:05pm UTC](https://community.kinsta.com/t/issue-requires-ftp-creds/2130 "2023-03-07T15:05:10Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ming44025](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/ming44025/32/1967_2.png) [@ming44025](https://community.kinsta.com/u/ming44025)\
**Post date:** [March 7, 2023, 3:05pm UTC](https://community.kinsta.com/t/issue-requires-ftp-creds/2130/1 "2023-03-07T15:05:10Z")

</div>

**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.

> **[Screenshot](https://prnt.sc/xxIVJw69t9c0)**
>
> Captured with Lightshot

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.

> **[Screenshot](https://prnt.sc/0FPmeMfVqdiL)**
>
> Captured with Lightshot

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?

---

<div class="post-metadata">

**Author:** ![ming44025](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/ming44025/32/1967_2.png) [@ming44025](https://community.kinsta.com/u/ming44025)\
**Post date:** [March 7, 2023, 3:07pm UTC](https://community.kinsta.com/t/issue-requires-ftp-creds/2130/2 "2023-03-07T15:07:47Z")

</div>

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

> [@Website Interactivity is Slow](https://community.kinsta.com/t/website-interactivity-is-slow/293/70):
>
> Windows 11 Pro DevKinsta 2.7.0 Php 7.2 A simple wordpress site 6.0 version of only 100+ MB is very slow to interact with, a simple page refresh takes more than 7 seconds. Sites are installed on SSD; CPU: Intel Xeon e5-2665 v1; RAM: 32GB ; Website has only ACF, CPT ui plugins installed and uses Timber StarterTheme. Simple Wordpress Theme like TwentyTwentyTwo takes more than 5 secs to load : Tried to give higher priority for DevKinsta/ Docker processes but with no result. Also…

And the guide I follow to add Docker exec

> [@Windows 10: updating themes/plugins requires FTP creds](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/12?page=2):
>
> No luck… Back to Laragon until this is fixed.

---

<div class="post-metadata">

**Author:** ![Alessandro](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/alessandro/32/2310_2.png) [@Alessandro](https://community.kinsta.com/u/Alessandro)\
**Post date:** [March 7, 2023, 3:10pm UTC](https://community.kinsta.com/t/issue-requires-ftp-creds/2130/3 "2023-03-07T15:10:51Z")

</div>

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.

Regards,  
Alessandro

---

<div class="post-metadata">

**Author:** ![ming44025](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/ming44025/32/1967_2.png) [@ming44025](https://community.kinsta.com/u/ming44025)\
**Post date:** [March 8, 2023, 2:57am UTC](https://community.kinsta.com/t/issue-requires-ftp-creds/2130/4 "2023-03-08T02:57:50Z")

</div>

Yes, it works now. 😂  
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.

---

<div class="post-metadata">

**Author:** ![Agus](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/agus/32/1515_2.png) [@Agus](https://community.kinsta.com/u/Agus)\
**Post date:** [March 8, 2023, 3:38am UTC](https://community.kinsta.com/t/issue-requires-ftp-creds/2130/5 "2023-03-08T03:38:27Z")

</div>

Hi CaryYue,

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

Cheers,  
Agus

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/2X/8/80f8c4e56fecc02327a0964e6bf63a716483529f.png) [@system](https://community.kinsta.com/u/system)\
**Post date:** [March 11, 2023, 3:39am UTC](https://community.kinsta.com/t/issue-requires-ftp-creds/2130/6 "2023-03-11T03:39:16Z")

</div>

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