Command Line // Wordpress can't update

dammeskieft

New member
Joined
Feb 10, 2015
Messages
1
Hi There,


I can't update my Wordpress, it gives this error:
Warning: copy(/home/dammexg77/domains/dammeskieft.com/public_html/wp-admin/includes/update-core.php) [function.copy]: failed to open stream: Permission denied in /home/dammexg77/domains/dammeskieft.com/public_html/wp-admin/includes/class-wp-filesystem-direct.php on line 217
The update cannot be installed because we will be unable to copy some files. This is usually due to inconsistent file permissions.: wp-admin/includes/update-core.php

Installation Failed

Does anyone know what to do?

The wordpress theme technical forum says this:
If you have access to a command line on your server you can try the following command:

chown -R www-data:www-data ./

This assuming your apache user is www-data, which usually is. This will change all your files and folders ownership to your apache user which should be already.

--
But I don;t know how i get a command line in Direct Admin. Please help me!
 
You need to connect via SSH to the server, and definitly user/group is not www-data.

If you have not SSH access but just hosting from a hosting company, contact your hosting provider.

Regards
 
Back
Top