• Hello. I’m using the latest version of WordPresss (6.3.1), which is telling me that I need to upgrade one plug-in (TablePress.2.1.7) and six WordPress themes. The error message to the attempts is, Could not create the upgrade-temp-backup directory. I’m not sure if this is a WordPress problem or a hosting problem. Would be grateful for guidance.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey @authenticph

    It is related to the new rollback feature of WordPress 6.3 : Rollback for failed manual plugin and theme updates

    According to the error you are getting, its related to folder permission of your hosting. Please make sure you have such a folder in your public_html folder <span style=”text-decoration: underline;”>/wp-content/upgrade-temp-backup</span> with proper write permission (755)

    You will find this thread handy: https://www.ads-software.com/support/topic/update-failed-could-not-create-the-upgrade-temp-backup-directory/

    Overall, it’s not a WordPress issue, it’s related to the hosting/folder permission.

    Thread Starter authenticph

    (@authenticph)

    Mehedi, thanks very much for the quick and helpful response. I do have the upgrade-temp-backup folder with the 755 permission. The problem with upgrading the plug-in and the themes was on the ISP’s end, and here is their explanation:

    “This is due to the server’s default configuration. The server by
    default will run all PHP scripts under its own username of ‘nobody’
    instead of your accounts username. When this happens all created
    files inherit those permissions.

    “To prevent this you can configure the script wrapper SuEXEC. This
    will cause the apache server to run all PHP scripts under your
    account’s username. This will prevent any such permissions conflicts
    from happening in the future.”

    This was done, but the problem persisted. Further troubleshooting revealed that:

    “There was a line in the .htaccess file in the mgrblog directory that was preventing the script wrapper from working in this directory and subdirectories.”

    Once this was corrected, the script wrapper worked properly, and I was able to complete the upgrades.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘can’t update plug-in and themes’ is closed to new replies.