Support

Akeeba Backup for WordPress

#27739 Upgarde 2.1.2->2.1.3 on WP 4.7.4 fails

Posted in ‘Akeeba Backup for WordPress’
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

WordPress version
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by rogerco on Tuesday, 16 May 2017 12:40 CDT

rogerco
Upgrade from 2.1.2->2.1.3 fails with message after downloading "Invalid AJAX data: Invalid archive type or extension in file"

IMPORTANT! Please remember to ZIP and attach your backup log file. Without it we are unlikely to be able to help you with backup issues. Thank you!

This is not a backup issue, 2.1.2 has been owrking fine. It is the upgrade that is failing. Downloads, but fails to extract.

Thank you
RogerCO

nicholas
Akeeba Staff
Manager
There are two bugs affecting the updater in versions 2.1.0.b1 and 2.1.2 inclusive. Upgrading from these versions to 2.1.3 or later requires a manual update. Unfortunately the bug was at a place in the code that gets overwritten on update, making it impossible to test properly. We are working on a better way to automatically test the update to prevent that from happening again.

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!

rogerco
In case it helps anyone else - if you can manipulate files on your host, then after a failed upgrade you will find a file called update.zip in the folder "wp-content/plugins/akeebabackupwp/app/tmp". To save downloading a fresh version and uploading it you can simply move the file to "public_html/wp-content/plugins/" (that's the level above the akeebabackupwp folder) and extract it there - assuming you have the facility to extract in place files - not all ftp clients will do this, but if you have cpanel access to your host then file manager lets you do this.
This will overwrite the files included in the update package in the akeebabackup folder.

I can confirm that this time it doesn't seem to overwrite your carefully crafted configuration (for some reason last time I had a update problem the profile values got set back to default ones which was very unhelpful).

I guess you can safely delete the update.zip file once you have extracted it - or you can move it back to the public_html/wp-content/plugins/akeebabackupwp/app/tmp folder where I presume it will be overwritten next time an upgrade is downloaded.

nicholas
Akeeba Staff
Manager
This is correct. I didn't suggest it because it's not evident which version it has downloaded unless you download the ZIP file, extract it and inspect the version.php file.

You can also save the step of moving the file by uploading kickstart.php into public_html/wp-content/plugins and pointing it to Akeeba Backup's update.zip file. Kickstart is a very flexible archive extractor, it's not just for backups ;)

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!

rogerco
Thanks Nicholas, take your point about not being sure of the version but if you do it straight after a failed update I guess you should be ok.

Useful tip about kickstart : Your text to link here...

I'll flag this as closed now in hope that the next update works seamlessly :-)

RogerCO

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!