Support

Site Restoration

#17081 Problems Restoring Site onto a Local Server

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 Wednesday, 14 August 2013 14:41 CDT

user78004
I purchased the "Essentials Bundle" before posting this support ticket.

Mandatory information about my setup:
Have I read the related troubleshooter articles above before posting (which pages?)? Yes
https://www.akeebabackup.com/support/site-restoration/16892-blank-screen-on-xampp-test.html

Have I searched the tickets before posting? Yes
Have I read the documentation before posting (which pages?)? Yes
Video: AB04 - Restoring using Kickstart
Note on that Video: The video doesn't show up on the web page with the stock installation of Firefox on Ubuntu 12.04. It does however, work in the stock installation of Chromium on Ubuntu 12.04.

Joomla! version: 2.5.9
PHP version: PHP Version 5.3.10-1ubuntu3.7
MySQL version: MySQL client version: 5.5.32
Host: Localhost in-house server running Ubuntu 12.04 and LAMP installed by: $ sudo apt-get install lamp-server^
Akeeba Backup version which took the backup: 3.7.6
Kickstart version used to extract the backup: 3.7.6

Description of my issue:
This was our first attempt at verifying that a backup actually works. We set up a LAMP server in-house and verified that the server works by successfully installing Joomla 2.5.14 as a test.

Then we (naively) thought that all we needed to do was run the Akeeba Kickstart to restore our website (in a different directory than the test Joomla site) and it would function flawlessly. Kickstart and ANGIE completed without problems, but the website was just a white page -no error messages or anything.

About 8 hours of frustration later I found this:
https://www.akeebabackup.com/support/site-restoration/16892-blank-screen-on-xampp-test.html

Working through the thorough troubleshooting guide I eventually was able to see error messages. Enabling CURL fixed the fatal problem and allowed the website and Administrator to load. But it loaded with more than a page of new error messages.

In Admin, unpublishing about 20 modules stopped the error messages, but broke the site. I have absolutely NO clue how to fix this. And I am pretty sure at this point I have no patience left to fix it.

I would like to avoid this situation from ever coming up again.

We are building a new site from scratch with Joomla 3.x and want to be able to install the backups on our in-house server and have the backup work exactly the same as the live server -essentially being a "mirror" of that point in time.

Could you please provide some guidance on how to make sure everything is set up properly so the backups restore and work "as expected"? The live site will be on a Linux-based VPS.

Thank you for all your time and effort.

nicholas
Akeeba Staff
Manager
Normally all you need is simply restoring the backup from server A to server B. Based on your description of the issue you have PHP configuration incompatibilities between your live and test server. You have to fix that. The long way to do that (see the error message, find out what causes it, install / enable the missing PHP extension, rinse and repeat) is the only way to do that.

That said, I'm not an especially patient man either. The first thing I did? I installed a real web server package instead of those toy-like XAMPP, MAMP and whatnot. First wipe the LAMP server clean and install Ubuntu Server 13.04 on it. Then go ahead and install Zend Server. It takes about 10 minutes and it sets up a PROPER web server environment with a properly configure PHP. Added bonus: you get a web interface to manage and configure it, too! All of a sudden your problems are reduced by 90-100%. Just make sure that you install the same PHP generation (5.3 or 5.4) as your intended live server.

Finally let me remind you that Akeeba Backup 3.7.6 is very old and has known issues (and the restoration script even more). Please do upgrade to Akeeba Backup 3.7.10, take a new backup and restore it to your Zend Server. There's a 99% chance it will work like magic – possibly requiring only some .htaccess changes at worst. I do that on a daily basis, restoring a backup of our site on my local testing server.

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!

user78004
Thank you Nicholas,

I'll do your suggestions this weekend and post back here with results. I've been itching for a reason to try Ubuntu server edition and this is it! Zend Server Community Edition will be interesting to figure out also.

In regards to Akeeba Backup versions -I did install the latest version thinking that perhaps some of the restored website problems I was having might be related to an older version. The latest Akeeba Backup installed correctly but wouldn't complete the backup for some reason. At this point I don't remember the error message.

Of course on our new site we'll be using the most current version, and will keep it current.

Thanks again for your time and effort.

nicholas
Akeeba Staff
Manager
There is no longer a community edition. It's the same Zend Server package. What you get works as an Enterprise Trial for seven days, then automatically downgrades to the Developer edition (which is functionally identical to the old Community Edition).

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!