Title: WordPress 5.5 Update failed: multiple &#8220;chmod() operation not permitted&#8221; errors
Last modified: August 20, 2020

---

# WordPress 5.5 Update failed: multiple “chmod() operation not permitted” errors

 *  [revcoincidence](https://wordpress.org/support/users/revcoincidence/)
 * (@revcoincidence)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/wordpress-5-5-update-failed-multiple-chmod-operation-not-permitted-errors/)
 * I run several small websites, self-hosted on a Synology NAS, and have now experienced
   the same failure on two of them when trying to update to WordPress 5.5.
 * I updated my plugins and themes, then attempted the WordPress update. According
   to the Site-Health page, my sites are using PHP 7.3.16 (this is the most recent
   update available from Synology) and Maria DB 10.
 * I first got the scary-looking, but apparently innocuous warning about the signature
   on the update content file not being recognised. Then came the warning, “chmod()
   operation not permitted” (line 168).
 * I would have thought that this would be enough to stop the update but it seems
   to have continued, and underneath repeated exactly the same warning – probably
   about 25 times. After maintenance mode had locked me out of the site for several
   minutes, I was given the information that the update had failed – and an invitation
   to retry. Clicking this retry link appears to have had no effect.
 * The site is still operational to the visitor, but I cannot edit any pages or 
   add any new ones. When attempting to create a new page I was given the error 
   message:
 * Fatal error: Uncaught Error: Class ‘WP_Block_Patterns_Registry’ not found in /
   volume1/web/****/wp-admin/edit-form-blocks.php:312 Stack trace: #0 /volume1/web/****/
   wp-admin/post-new.php(72): require() #1 {main} thrown in /volume1/web/****/wp-
   admin/edit-form-blocks.php on line 312
    There has been a critical error on your
   website. Please check your site admin email inbox for instructions.
 * Further investigation on the dashboard reveals that I cannot view the Media Library.
 * I don’t understand php and was rather hoping “automatic update” would just work(
   like it has in the past). I’ve seen [@asdgresa](https://wordpress.org/support/users/asdgresa/)’
   s similar thread “/error-while-updating-wordpress-2” which was about a previous
   edition update and note that this was solved by “the hosting guy” doing a reset,
   but this doesn’t help me because I am the hosting guy!
 * Can someone please explain in non-technical language what I might need to do 
   to get round this? (And be patient with me if I have to ask more questions!)
 * Thank you so much
    -  This topic was modified 5 years, 9 months ago by [Jan Dembowski](https://wordpress.org/support/users/jdembowski/).

Viewing 1 replies (of 1 total)

 *  Moderator [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * (@bcworkz)
 * [5 years, 9 months ago](https://wordpress.org/support/topic/wordpress-5-5-update-failed-multiple-chmod-operation-not-permitted-errors/#post-13319218)
 * It appears you now have a partial update. Some files are for one version, some
   for another. Please review the docs page [Updating WordPress](https://wordpress.org/support/article/updating-wordpress/).
   You can jump to the failed update section, but the part about file ownership 
   could be meaningful. You’ll want to verify that the files you’ve uploaded all
   have the correct permissions. Files are typically 644, but you might need 664,
   depending on what user WP runs as.
 * To avoid this problem in the future, you need to get chmod() permitted somehow.
   It may be something in php.ini, or possibly the user WP runs as needs more authority
   or should be an entirely different user. The user and group used is defined in
   httpd.conf.

Viewing 1 replies (of 1 total)

The topic ‘WordPress 5.5 Update failed: multiple “chmod() operation not permitted”
errors’ is closed to new replies.

## Tags

 * [chmod](https://wordpress.org/support/topic-tag/chmod/)
 * [fail](https://wordpress.org/support/topic-tag/fail/)
 * [update](https://wordpress.org/support/topic-tag/update/)
 * [WordPress 5.5](https://wordpress.org/support/topic-tag/wordpress-5-5/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [bcworkz](https://wordpress.org/support/users/bcworkz/)
 * Last activity: [5 years, 9 months ago](https://wordpress.org/support/topic/wordpress-5-5-update-failed-multiple-chmod-operation-not-permitted-errors/#post-13319218)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
