Error when updating Joomla

  • Posted March 30, 2014

I have installed Joomla 2.5.7 on a :LAMP. It all works fine except when I try to update or install extensions. suspect it may be something to do with file permissions. I am a Linnux newbee and any help- would be appreciated. Cheers


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

@Asterix: Joomla’s root directory needs to be writable by www-data in order to upgrade. If you change the file permissions to 666, change them back after the upgrade is done as that allows all users to write to the files. The suggested permissions are 755 for directories and 644 for files.

My Joomla installation works fine but when I try to use Joomla Update I get file permission errors. <br> <br>When I tried to update Joomla from 3.2.3 to3.2.4 with Joomla Update and Installation method “Write files directly” I get ERROR: Could not open /home/myuser/public_html/joomla root directory/LICENSE.txt for writing. When I do sudo chgrp -R www-data /home/myuser/public_html/joomla root directory/LICENSE.txt and change permissions to 666 on LICENSE.txt it obviously works for that file. But to make the whole update work I guess I need to run sudo chgrp -R www-data /home/myuser/public_html/joomla root directory/ and maybe change file permissions on all files? Is that the correct way? <br> <br>I don’t have any FTP server (and I don’t want to have) so I can only use the direct method. I use nginx php-fpm Ubuntu 12.04 LEMP

What’s the error? That would be a great place to start and irons out a lot of possibilities, which right now are endless. <br> <br> paste it there