Support

Akeeba Backup for Joomla!

#35592 Unable to Update to Akeeba Backup 8.0.8

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
This is a public ticket

Everybody will be able to see its contents. Do not include usernames, passwords or any other sensitive information.

Environment Information

Joomla! version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by on Friday, 03 September 2021 20:17 CDT

tpollock

Please look at the bottom of this page (under Support Policy Summary) for our support policy summary, containing important information regarding our working hours and our support policy. Thank you!


EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 2Mb, please upload it on your server and post a link to it.


Description of my issue:

I am trying to update Akeeba Backup from 8.0.6 to 8.0.8, but I keep getting the error:

Copy file failed

Package Update: There was an error installing an extension: com_akeeba-pro.zip

I believe what happened is that in my first attempt to update Akeeba Backup, I may have copied the wrong package file that was an older version. The update failed and I got a message about how to downgrade, but I did not write the message down. Now, when I try to update with the correct package file, I get the message above.

I realize this could be a permissions issue, but I have made sure the permissions are 755 and 644 and the owner is the apache user. I do not know where Joomla copies the update ZIP file before it extracts the files. Maybe there is a file there that it cannot over write? I have searched for the com_akeeba-pro.zip, but did not find it.

I also tried your process of clearing the Download ID and reentering it, and clearing the Joomla caches, but to know avail.

Another interesting note, I backed up this site and restored it on another server. I installed the update to 8.0.8 and it worked fine.

Any ideas as to what to try is appreciated. Thank you for your help.

 

nicholas
Akeeba Staff
Manager

You are spot on that this is a permissions issue.

Joomla stores the ZIP package file in its configured temporary directory. Then it extracts it there. Next up it removes any obsolete directories (there are not any between 8.0.6 and 8.0.8) and finally copies files over from the temporary directory where it extracted the package to their final destination.

You must make sure that all files under components/com_akeeba, administrator/components/com_akeeba and media/com_akeeba are writeable. Same for the language files installed in administrator/language/en-GB and language/en-GB. That's for the component. There are equivalent requirements for the included plugins, i.e. all files and folders they consist of must be writeable. Joomla does not install just the updated files; it doesn't know which files are updated. It copies everything, as though it was a full installation. The only difference is how database updates are applied and the fact that the post-installation script is told it's an update instead of a full installation.

Nicholas K. Dionysopoulos

Lead Developer and Director

🇬🇷Greek: native 🇬🇧English: excellent 🇫🇷French: basic • 🕐 My time zone is Europe / Athens
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

Support Information

Working hours: We are open Monday to Friday, 9am to 7pm Cyprus timezone (EET / EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets outside of our working hours, but we cannot respond to them until we're back at the office.

Support policy: We would like to kindly inform you that when using our support you have already agreed to the Support Policy which is part of our Terms of Service. Thank you for your understanding and for helping us help you!