# 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:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![slaFFik](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/slaffik/32/110_2.png) [@slaFFik](https://community.kinsta.com/u/slaFFik)
#### Post date: [January 20, 2021, 9:18pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/1 "2021-01-20T21:18:41Z")

</div>

**Q: DevKinsta Version**  
**A:** 1.0.1

**Q: OS Version**  
**A:** Windows 10 Pro 20H2

**Q: Docker Desktop Version**  
**A:** 3.1.0

**Q: Detailed Description of the Problem**  
**A:** After site creation I saw that some default themes and plugins needs to be updated (new versions available). When I click the Update button I’m greeted with this popup:

 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/249055c369d114ee10eb7e9039ff99ea77e7be9a.png)

I don’t know what should I enter there to be able to update that.  
I guess permissions should be tweaked or constant added to the `wp-config.php` file during the WP installation process.

---

<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: [January 20, 2021, 9:45pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/2 "2021-01-20T21:45:58Z")

</div>

Does this occur on a brand new site or one that you’ve pulled?

---

<div class="post-metadata">

### Author: ![slaFFik](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/slaffik/32/110_2.png) [@slaFFik](https://community.kinsta.com/u/slaFFik)
#### Post date: [January 20, 2021, 9:58pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/3 "2021-01-20T21:58:44Z")

</div>

On a brand new site created using DevKinsta interface (I’m not a Kinsta customer - yet? - so can’t pull anything).

---

<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: [January 20, 2021, 10:41pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/4 "2021-01-20T22:41:57Z")

</div>

Thanks @slaFFik . We’ll continue researching this. We haven’t been able to reproduce the issue yet on Windows but we’ll keep looking.

---

<div class="post-metadata">

### Author: ![florian](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/florian/32/154_2.png) [@florian](https://community.kinsta.com/u/florian)
#### Post date: [January 22, 2021, 11:59am UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/5 "2021-01-22T11:59:16Z")

</div>

How aboout MacOs? I am experiencing the same issue as slaFFik on MacOS.  
I can’t use devKinsta until this is solved since no new plugins can be added or updated.

---

<div class="post-metadata">

### Author: ![Didou\_Schol](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/didou_schol/32/155_2.png) [@Didou\_Schol](https://community.kinsta.com/u/Didou_Schol)
#### Post date: [January 22, 2021, 2:44pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/6 "2021-01-22T14:44:47Z")

</div>

Same here.  
Brand new (multi)site, SSL enabled on Windows 10 pro.

First interaction after logging in was to install a plugin from the WP Repo and was also greeted with entering credentials (as image above).

---

<div class="post-metadata">

### Author: ![Didou\_Schol](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/didou_schol/32/155_2.png) [@Didou\_Schol](https://community.kinsta.com/u/Didou_Schol)
#### Post date: [January 22, 2021, 2:51pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/7 "2021-01-22T14:51:59Z")

</div>

To fix you can add this line to wp-config.php, which solved my problem.

/\*\* Sets up ‘direct’ method for wordpress, auto update without ftp \*/  
define(‘FS\_METHOD’,‘direct’);

---

<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: [January 22, 2021, 11:50pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/8 "2021-01-22T23:50:07Z")

</div>

Great idea @Didou_Schol . Thanks for the tip. We’ll continue looking into this as well in the meantime.

---

<div class="post-metadata">

### Author: ![brianleejackson](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/brianleejackson/32/57_2.png) [@brianleejackson](https://community.kinsta.com/u/brianleejackson)
#### Post date: [February 17, 2021, 7:11pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/9 "2021-02-17T19:11:23Z")

</div>

I can confirm this is happening for me on an imported site from MyKinsta. macOS, M1 with Docker preview.

However, it doesn’t happen on fresh installs.

Not to complicate it at all for you. 😄

---

<div class="post-metadata">

### Author: ![nametags4u](https://avatars.discourse-cdn.com/v4/letter/n/f1d935/32.png) [@nametags4u](https://community.kinsta.com/u/nametags4u)
#### Post date: [March 3, 2021, 2:59pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/10 "2021-03-03T14:59:31Z")

</div>

Michael,  
Has Kinsta come-up with a solution yet?

I’m using a site that was pulled down from my Kinsta server. I don’t have a clue what the Hostname, FTP Username, or FTP Password are. I’ve never used or needed them before.

As far as I can tell, Kinsta is the only resource for finding a fix.

I pulled the same site down and used Laragon to work on it. I had zero problems updating anything.

---

<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: [March 3, 2021, 4:11pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/11 "2021-03-03T16:11:47Z")

</div>

Hi @nametags4u . Try adding `define(‘FS_METHOD’,‘direct’);` inside your `wp-config.php` file. That should remove the issue until a patch is available for resolve this.

---

<div class="post-metadata">

### Author: ![nametags4u](https://avatars.discourse-cdn.com/v4/letter/n/f1d935/32.png) [@nametags4u](https://community.kinsta.com/u/nametags4u)
#### Post date: [March 3, 2021, 5:11pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/12 "2021-03-03T17:11:38Z")

</div>

> [@Didou\_Schol](#):
>
> /\*\* Sets up ‘direct’ method for wordpress, auto update without ftp \*/  
> define(‘FS\_METHOD’,‘direct’);

No luck… Back to Laragon until this is fixed.

---

<div class="post-metadata">

### Author: ![melissa](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/melissa/32/325_2.png) [@melissa](https://community.kinsta.com/u/melissa)
#### Post date: [March 5, 2021, 1:10pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/13 "2021-03-05T13:10:07Z")

</div>

Hi @nametags4u , sorry for the difficulties here and that the above adjustments didn’t help 😔 Rest assured this is on our radar and we will update the thread as soon as we have something more to offer!

---

<div class="post-metadata">

### Author: ![melissa](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/melissa/32/325_2.png) [@melissa](https://community.kinsta.com/u/melissa)
#### Post date: [March 9, 2021, 3:51pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/14 "2021-03-09T15:51:05Z")

</div>

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?

` docker exec devkinsta_fpm chown -R www-data:www-data /www/kinsta/public/`

If the issue persists beyond that may we have the output of the following:

On DevKinsta (Docker):  
`docker exec devkinsta_fpm ls -al /www/kinsta/public/`  
`docker exec devkinsta_fpm ls -al /www/kinsta/public/SITE_NAME/`

On Windows (Command Prompt):  
`icacls C:\Users\USER\DevKinsta\public`  
`icacls C:\Users\USER\DevKinsta\SITE_NAME`

Thank you! Hopefully this helps pinpoint what might being on there for anyone still having difficulties!

---

<div class="post-metadata">

### Author: ![nametags4u](https://avatars.discourse-cdn.com/v4/letter/n/f1d935/32.png) [@nametags4u](https://community.kinsta.com/u/nametags4u)
#### Post date: [March 9, 2021, 8:04pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/16 "2021-03-09T20:04:26Z")

</div>

Thanks Melissa,

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

---

<div class="post-metadata">

### Author: ![melissa](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/melissa/32/325_2.png) [@melissa](https://community.kinsta.com/u/melissa)
#### Post date: [March 10, 2021, 6:07pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/17 "2021-03-10T18:07:03Z")

</div>

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!

---

<div class="post-metadata">

### Author: ![nametags4u](https://avatars.discourse-cdn.com/v4/letter/n/f1d935/32.png) [@nametags4u](https://community.kinsta.com/u/nametags4u)
#### Post date: [March 10, 2021, 7:29pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/18 "2021-03-10T19:29:09Z")

</div>

Thanks again, Melissa.

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.

Frank

---

<div class="post-metadata">

### Author: ![Saravana\_Kumar](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/saravana_kumar/32/423_2.png) [@Saravana\_Kumar](https://community.kinsta.com/u/Saravana_Kumar)
#### Post date: [April 14, 2021, 8:15am UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/19 "2021-04-14T08:15:03Z")

</div>

Hi @melissa

I am new to Devkinsta & Docker, can you please explain where & how to execute this docker command?

I tried it in devkinsta\_fpm CLI, but ended up like this. Can you please help me on this?

 ![image](https://us1.discourse-cdn.com/flex020/uploads/kinsta/original/1X/a823a177bf06fabc1f5fdcf9976090bcefb7f785.png)

Note: On Windows side the permission is all ok. I have pasted the response below.

C:\WINDOWS\system32\>icacls C:\Users\saravanakumar.s\DevKinsta\public  
C:\Users\saravanakumar.s\DevKinsta\public Everyone:(OI)(CI)(F)  
Everyone:(I)(OI)(CI)(F)  
NT AUTHORITY\SYSTEM:(I)(OI)(CI)(F)  
BUILTIN\Administrators:(I)(OI)(CI)(F)  
ITP\Saravanakumar.S:(I)(OI)(CI)(F)

Successfully processed 1 files; Failed processing 0 files

---

<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 14, 2021, 4:20pm UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/20 "2021-04-14T16:20:58Z")

</div>

Hi @Saravana_Kumar ! Welcome to DevKinsta 🙂 . Do you have Docker installed? The docker commands are run inside your shell/Terminal of choice.

---

<div class="post-metadata">

### Author: ![Saravana\_Kumar](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/saravana_kumar/32/423_2.png) [@Saravana\_Kumar](https://community.kinsta.com/u/Saravana_Kumar)
#### Post date: [April 15, 2021, 6:51am UTC](https://community.kinsta.com/t/windows-10-updating-themes-plugins-requires-ftp-creds/178/21 "2021-04-15T06:51:42Z")

</div>

Thanks @michael Yes, docker installed in my machine. I have used the Windows Command Prompt, and execute those ownership changes command.

Its working now.

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