Home › Forums › Product Support Forums › Ajax Search Pro for WordPress Support › Update Fails
This topic contains 5 replies, has 2 voices, and was last updated by Ernest Marcinko 3 years, 11 months ago.
- AuthorPosts
- June 28, 2019 at 7:58 pm #23505
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!June 29, 2019 at 10:29 am #23506Hi,
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.
Best,
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.
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
July 3, 2019 at 1:12 pm #23580Hi 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,
HENRYJuly 3, 2019 at 1:16 pm #23582Hi 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.
Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
July 3, 2019 at 1:49 pm #23584thanks! I got it using ssh and correcting ownership / access rights.
I appreciate your help.
Best,
HenryJuly 3, 2019 at 2:00 pm #23586You cannot access this content. Best,
Ernest Marcinko
If you like my products, don't forget to rate them on codecanyon :)
- AuthorPosts
You must be logged in to reply to this topic.