# Windows 10: updating themes/plugins requires FTP creds

**URL:** <https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178>\
**Category:** Bug Reports\
**Created:** [January 20, 2021, 9:18pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178 "2021-01-20T21:18:41Z")\
**Posts on this page:** 13\
**Page:** 2

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [April 15, 2021, 4:05pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/22 "2021-04-15T16:05:03Z")

</div>

A post was split to a new topic: [Enabling cron job](https://community.kinsta.com/t/enabling-cron-job/599)

---

<div class="post-metadata">

**Author:** ![kadso](https://avatars.discourse-cdn.com/v4/letter/k/8e8cbc/32.png) [@kadso](https://community.kinsta.com/u/kadso)\
**Post date:** [April 25, 2021, 10:04am UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/23 "2021-04-25T10:04:52Z")

</div>

![Screen Shot 2021-04-25 at 05.57.12](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/bd3a1c176fb18f7b553e0bc20a39a1da06395c01.jpeg)

Is what i found this morning as I attempted to update plugins.

I’m running MacOs 11.23, DevKinsta 1.1.5 (1559), Desktop Docker 3.3.0 (62916).

This is the first time " Connection Information

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.

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [April 26, 2021, 4:28pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/24 "2021-04-26T16:28:42Z")

</div>

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

`define(‘FS_METHOD’,‘direct’);`

Try that first and let us know if it works.

---

<div class="post-metadata">

**Author:** ![Andrew\_Fair](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/andrew_fair/32/396_2.png) [@Andrew\_Fair](https://community.kinsta.com/u/Andrew_Fair)\
**Post date:** [May 8, 2021, 5:38am UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/25 "2021-05-08T05:38:32Z")

</div>

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.

You can’t even delete plugins.

 ![Screenshot 5-8-2021 1-54-21 AM](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/9f7d6daf8c7a4442b8f92771fdfa6ccdeb404a0a.png)

EDIT: 30m later -

> [@melissa](#):
>
> docker exec devkinsta\_fpm chown -R www-data:www-data /www/kinsta/public/

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

---

<div class="post-metadata">

**Author:** ![Andrew\_Fair](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/andrew_fair/32/396_2.png) [@Andrew\_Fair](https://community.kinsta.com/u/Andrew_Fair)\
**Post date:** [May 11, 2021, 6:48pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/26 "2021-05-11T18:48:19Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [May 12, 2021, 12:02am UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/27 "2021-05-12T00:02:20Z")

</div>

@Andrew_Fair Appreciate the update! Did you have to do this with each new install, or has it be a reoccurring issue on the same site?

---

<div class="post-metadata">

**Author:** ![muletowndigital](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/muletowndigital/32/334_2.png) [@muletowndigital](https://community.kinsta.com/u/muletowndigital)\
**Post date:** [May 12, 2021, 2:31pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/28 "2021-05-12T14:31:47Z")

</div>

Thank you - that did the trick for me too!

---

<div class="post-metadata">

**Author:** ![Andrew\_Fair](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/andrew_fair/32/396_2.png) [@Andrew\_Fair](https://community.kinsta.com/u/Andrew_Fair)\
**Post date:** [May 13, 2021, 2:12am UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/29 "2021-05-13T02:12:38Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![Andrew\_Fair](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/andrew_fair/32/396_2.png) [@Andrew\_Fair](https://community.kinsta.com/u/Andrew_Fair)\
**Post date:** [June 29, 2021, 3:41pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/30 "2021-06-29T15:41:30Z")

</div>

Hey Michael,

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

> [@melissa](#):
>
> docker exec devkinsta\_fpm chown -R www-data:www-data /www/kinsta/public/

each time but I feel it’s an unneeded step.

Looking forward to continued improvements of DevKinsta!

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [June 29, 2021, 4:46pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/31 "2021-06-29T16:46:32Z")

</div>

@Andrew_Fair I’m sorry for the trouble. I understand that’s not convenient at all. I’ll provide an update here as soon as I have more to share.

---

<div class="post-metadata">

**Author:** ![Andrew\_Fair](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/andrew_fair/32/396_2.png) [@Andrew\_Fair](https://community.kinsta.com/u/Andrew_Fair)\
**Post date:** [June 29, 2021, 7:01pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/32 "2021-06-29T19:01:27Z")

</div>

Sounds good, Thank you Michael, overall I am happy with DevKinsta but certainly excited to see more features/updates 🙂

---

<div class="post-metadata">

**Author:** ![michael](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/michael/32/31_2.png) [@michael](https://community.kinsta.com/u/michael)\
**Post date:** [July 9, 2021, 4:13pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/33 "2021-07-09T16:13:18Z")

</div>

With the release of DevKinsta 2.0, this issue should now be solved. [You can download DevKinsta 2.0+ here](https://kinsta.com/devkinsta/). Let us know if you continue to see this issue!

---

<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:** [July 12, 2021, 4:13pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/34 "2021-07-12T16:13:40Z")

</div>

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

[Previous page](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178.md?page=1)
