# Updating plugins and themes keeps failing

**URL:** <https://community.kinsta.com/t/updating-plugins-and-themes-keeps-failing/2390>\
**Category:** Questions\
**Created:** [July 25, 2023, 4:08pm UTC](https://community.kinsta.com/t/updating-plugins-and-themes-keeps-failing/2390 "2023-07-25T16:08:29Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![ZachE](https://sea2.discourse-cdn.com/flex020/user_avatar/community.kinsta.com/zache/32/1683_2.png) [@ZachE](https://community.kinsta.com/u/ZachE)\
**Post date:** [July 25, 2023, 10:31pm UTC](https://community.kinsta.com/t/updating-plugins-and-themes-keeps-failing/2390/2 "2023-07-25T22:31:08Z")

</div>

Hi @DiggetyDog 👋

Is `FS_METHOD` defined in wp-config.php?

If it is, it should be set to `direct`

But also, you may need to run a ownership/permission fix like so:

> [@Unable to create directory wp-content/uploads/. Is its parent directory writable by the server? Permission Issues](https://community.kinsta.com/t/unable-to-create-directory-wp-content-uploads-is-its-parent-directory-writable-by-the-server-permission-issues/345/15):
>
> Thanks for testing that. Are you familiar with using Terminal? Could you try the following steps? Run the following: docker exec -it devkinsta\_fpm bash Then run this: echo "IyEvYmluL2Jhc2gKZmlsZXM9KHdwLWFkbWluIHdwLWNvbnRlbnQgd3AtaW5jbHVkZXMpCmVjaG8gIlJlc2V0dGluZyBmaWxlIHBlcm1pc3Npb25zLCB0aGlzIG1heSB0YWtlIGEgbW9tZW50Li4uIgplY2hvICJSZXNldHRpbmcgb3duZXJzaGlwLi4uIjsKY2hvd24gd3d3LWRhdGE6d3d3LWRhdGEgLVIgL3d3dy9raW5zdGEvcHVibGljLyoKZm9yIGkgaW4gIiR7ZmlsZXNbQF19IgpkbwogIGVjaG8gIlJlY3Vyc2l2ZWx5IHNldHR…

Let us know if that helps!

---

_[View the full topic](https://community.kinsta.com/t/updating-plugins-and-themes-keeps-failing/2390)._
