Support

Site Restoration

#25345 Cannot Restore in Akeeba Backup Pro 5.0.4

Posted in ‘Site restoration’
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

PHP version
n/a
CMS Type
Other
CMS Version
n/a
Backup Tool Version
n/a
Kickstart version
n/a

Latest post by nicholas on Thursday, 09 June 2016 14:04 CDT

bitlink
 I did a full backup about an hour ago, shortly after updating to Akeeba 5.0.4. It worked without any issues.
I was doing some template and design testing, and now simply want to go back to that last backup.
In the "Manage Backups" window I select that most recent backup checkbox and click the Restore button.
The next page page asks only about extraction method (I choose "Write directly to files") and about encryption, which I didn't use.
When I click Start Restoration, it goes the page
"Archive extraction in progress" - showing Bytes read, Bytes extracted, and Files extracted and sits there indefinitely. (see attached file).
When I check on the hosting account, it has over 60GB of free space, and there is no appreciable server load. There is no sign that anything is happening at all.
The longest I've waited so far is 30 minutes, with no sign that anything is happening.

nicholas
Akeeba Staff
Manager
Version 5.1.0 which fixes that issue was released yesterday. Please update.

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!

nicholas
Akeeba Staff
Manager
Also note that you will have to do something more to get the backup taken with version 5.0.4 restored. See https://www.akeebabackup.com/home/news/1667-bugs-in-akeeba-backup-50x-solo-backupwp-18x.html

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!

bitlink
Thanks for your reply.
So I decided to attempt the restore to a new folder, just like when I move joomla installs to a new site, and then upgrade akeeba to the beta version you recommend (or wait for a regular update).

I created a new folder, new db, etc., copied the 5.0.4 backup to the new folder, ran kickstart.php, removed the two offending files (installation/platform/steps.php and installation/platform/iniprocess.php) and then ran the installer.
It works through to the Site Parameters page, I check those, click Next, and on the Finalizing Restoration page it does not complete, as per the screenshot.

The error_log in the installation folder has this:
[09-Jun-2016 11:11:37 America/Chicago] PHP Warning: require_once(1/platform.php): failed to open stream: No such file or directory in /home/bitlinkh/public_html/clients/Luther5/libraries/import.legacy.php on line 42
[09-Jun-2016 11:11:37 America/Chicago] PHP Fatal error: require_once(): Failed opening required '1/platform.php' (include_path='.:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php') in /home/bitlinkh/public_html/clients/Luther5/libraries/import.legacy.php on line 42

nicholas
Akeeba Staff
Manager
restore to a new folder

Bad Idea™. As we have documented this will most likely cause the restored site to fail. The reason is that you have a .htaccess on your main site. The .htaccess cascades in all subdirectories.

upgrade akeeba to the beta version you recommend (or wait for a regular update).


The stable release is already here. As I told you, please do upgrade to 5.1.0 (the stable version, not the betas). The betas are not even available for download any more.

on the Finalizing Restoration page it does not complete, as per the screenshot.


Yes, because the .htaccess on the main site is screwing with the restored site. Restoring to a subdirectory is so tricky and convoluted that even I don't attempt it: it's a waste of time.

Please do update to Akeeba Backup 5.1.0 STABLE (you can't download the betas anymore).

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!

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!