This website uses cookies to personalize your experience. By using this website you agree to our cookie policy.

Update Fails

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #23505
    DesigndienstagDesigndienstag
    Participant

    Hello, I am using Search Pro version 4.14.6 and it says that an update is available. However, when I hit update, I receive the following message:

    “Aktualisierung fehlgeschlagen: Die Aktualisierung konnte nicht installiert werden, da einige Dateien nicht kopiert werden konnten. Dies liegt meist an inkonsistenten Dateiberechtigungen.”

    In English this means “Update failed: The update could not be installed because some files could not be copied, mostly due to inconsistent file permissions.”

    This issue just came out of nowhere. Do you have any Idea how this can be fixed?

    WP-Version: 5.2.2–de_DE
    Note: admin details only work for WP-Login!

    #23506
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi,

    I suspect that the PHP process running on the server does not have sufficient permissions to make changes to the plugin files. This could be either due to incorrect ownership values, or simply the file permissions are not set correctly. From the plugins perspective, you should try the manual update instead.
    The ownership/permission issue must be solved on the server side via SSH or by contacting your hosting provider. It is also possible, that manual updating will resolve this, as the problematic files will be deleted and the new ones should get the correct permissions.

    #23580
    DesigndienstagDesigndienstag
    Participant

    Hi Ernest,

    thanks. Unfortunately, the manual update fails as well.
    I have root access and can ssh into the server. Do you happen to know which chmod or chown I need to apply to the plugin folder / files for php to allow access?

    BEST,
    HENRY

    #23582
    Ernest MarcinkoErnest Marcinko
    Keymaster

    Hi Henry,

    Well, I think that is server dependent to some extent, but this should contain all the info: https://wordpress.org/support/article/changing-file-permissions/

    For ownerships, ususally the www-data user needs to be the owner of the files, but that can be different. Depending on your server and path, usually a similar command should do:

    sudo chown -R www-data:www-data /var/www

    Please be very careful running SSH commands, always make sure to have a back-up.

    #23584
    DesigndienstagDesigndienstag
    Participant

    thanks! I got it using ssh and correcting ownership / access rights.

    I appreciate your help.

    Best,
    Henry

    #23586
    Ernest MarcinkoErnest Marcinko
    Keymaster

    You cannot access this content.

Viewing 6 posts - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.