WordPress Update and FTP Permissions
-
Hi,
I’ve got 2 issues which i believe are permissions related, 1 i think i have sorted but would like opinions on and the 2nd i can’t figure out.
1:
When FTP’ing to my site i was unable to write anything with my FTP user, both the owner/group of files are www-data:www-data but my user is say ‘user x’I think i can fix this by adding ‘user x’ to the group www-data and changing the folders permissions to 775 (rather than 755) but is this ok to do?
2:
I am unable to update my wordpress installation via the Admin panel, i get the errorUnpacking the update… Could not copy file.: wordpress/wp-includes/customize/class-wp-customize-image-control.php Installation FailedThe file that fails to copy changes each time i try the install
I’m unable to manually update the site due to the 1st issue, unless of course making the changes i have mentioned are ok to do so in which i could then attempt manually updating the site.
EDIT:
I am able to install/update themes and plugins without issue.
If it helps, this isn’t on a shared hosting platform, the site is hosted on an AWS EC2 instance running Ubuntu server.Any ideas?
Regards,
Jamie-
This topic was modified 8 years, 5 months ago by
jdobbsy1987.
-
This topic was modified 8 years, 5 months ago by
jdobbsy1987.
The page I need help with: [log in to see the link]
-
This topic was modified 8 years, 5 months ago by
-
I am unable to update my wordpress installation via the Admin panel,
– Updates can fail for a large number of different reasons and it is often hard to diagnose the failure due to specific configurations present on each server running the update. For example, permissions may be incorrectly set, the unpacking of the new version might not have been properly verified due to high system loads with your host if many users are updating at the same time or they have a very loaded service, An IO hang, files are being validity checked and they fail due to a corrupted bit. There are many more reasons that things could have failed. Honestly there’s no good way to track down -why- a partial update occurred, we can only recommend what to do if one does occur.
– Try MANUALLY updating. Download WordPress again and unzip it. Access your server via SFTP or FTP, or a file manager in your hosting account’s control panel (consult your hosting provider’s documentation for specifics on these), and delete then replace your copies of everything on the server except the wp-config.php file and the /wp-content/ directory with fresh copies from the download. This will effectively replace all of your core files without damaging your content and settings. Please read the Manual Update directions first.Thank you for your reply but i am unable to update manually as i can’t upload any files via FTP, my host is an EC2 instance on AWS so i don’t have a file manager like a shared hosting platform would have.
I’m unable to manually update the site due to the 1st issue, unless of course making the changes i have mentioned are ok to do so in which i could then attempt manually updating the site.
Am i ok to do what i mentioned in number 1 or is that considered bad for security?
Regards,
Jamie-
This reply was modified 8 years, 5 months ago by
jdobbsy1987.
Can anyone help with this?
-
This reply was modified 8 years, 5 months ago by
The topic ‘WordPress Update and FTP Permissions’ is closed to new replies.