Support

Site Restoration

#10941 Invalid header in archive file

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

user10111
Mandatory information about my setup:

Have I read the related troubleshooter articles above before posting (which pages?)? YES
Have I searched the tickets before posting? YES
Have I read the documentation before posting (which pages?)? YES
Joomla! version: 1.5.22
PHP version: 5.3.5
MySQL version: 5.3.8
Host: (optional, but it helps us help you)
Akeeba Backup version which took the backup: 3.3.13
Kickstart version used to extract the backup: 3.32

Description of my issue:

Hi folks,

I have a website created with Joomla 1.5.22 under PHP 5.3.5 and MySql 5.3.8. I have been running in on my home server running Windows XP using Apache (Apache/2.2.17 (Win32) mod_ssl/2.2.17 OpenSSL/0.9.8o PHP/5.3.4 mod_perl/2.0.4 Perl/v5.10.1).

When I get a lot of traffic, I often get Apache re-boots. It appears to be a problem managing new threads and the advice I have received is to run it under Linux.

I didn't want to buy another computer without trying out the website under Linux to see if the problem would resolve.

1. On my Joomla website under Windows XP, I update my Akeeba back-up component to the newest version and then create a new back-up file.

2. I set up my server so it could dual boot using Ubuntu (11.10).

3. After I loaded Ubuntu and then loaded XAMPP for Linux (1.7.7).

4. Got Apache server up and running without any issues.

5. I download newest version of Kickstart.php (3.32) from the Akeeba website

6. When I boot up under Ubuntu, the hard drive with my web site is available as a "Back-up drive". The Akeeba backup from my Joomla website is in multiple files (about 2.4 GB total) so I compressed the files using the standard compression utility supplies with the OS.

7. I then copy that archive over to the default htdocs directory that Apache is using and decompress the files (again using the standard function supplied by the OS).

8. I load kickstart.php. I get the "Things you should know about KickStart" dialog. I click on the "Click here" message to continue.

9. The correct archive file name is already in the "Archive file" field. I don't make any other changes and I click on "Start"

At this point I get an error "Invalid header in archive file, part 0, offset 0".

I have very little experience with Linux so it could be something as simple as permissions. I am doing all this this from my root account. I thought it could be something in the COPY stage, but I would think that by going through the compression step, I would avoid any problems with file copying. However, I get this same error if I use the Ubuntu utilities to copy the archive files directly from the "Back-up" drive to the htdocs directory. I brought the files over via FTP in binary mode (through an intermediary server) and got the same header error.

Any suggestions are welcome. Again, I am inexperienced with Linux so I may be doing something very simple (but wrong).

Thanks for your assistance.

Harpist

nicholas
Akeeba Staff
Manager
It sounds like you are missing files from the backup set or you have a genuinely corrupt backup. Can you extract this archive on your Windows computer using Akeeba eXtract Wizard?

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!

user10111
Nicholas,

The archive extracts fine on the Windows machine. Too well actually. I assumed it would give me a chance to exit out before starting the installation. Instead it started the install so now I my Windows website has the Akeeba installer loaded.

So in addition to my original question, how do I get teh Akeeba installer de-installed?

Harpist

user10111
Nicholas,

I found that deleting the installation directory restores my old site. So I am back to the original question about the invalid header.

Thanks

Harpist

nicholas
Akeeba Staff
Manager
There are two ways around it:
1. Retry uploading the files, using FTP in binary transfer mode, and make sure that you don't forget any archive part,
2. Extract the files on your PC, NOT your server, using Akeeba eXtract Wizard, NOT Kickstart. Then upload all of the extracted files to your Linux server and access the restoration script as http://www.example.com/installation/index.php, where www.example.com is your Linux server's hostname. Please note that you must NOT run Kickstart on the remote host. In fact, all Kickstart and eXtract do is extract the archive. The actual restoration script is included in the backup, in the installation directory.

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!

user10111
Nicholas,

I've extracted on the files on a PC, and uploaded them to my Linux box. I then tried the restoration script and it is giving me an error that Joomla 1.5 won't work with PHP 5.3 and that I should downgrade to PHP 5.2. Isn't this a problem that was resolved a while back? Any recommendations?

Thanks

Harpist

nicholas
Akeeba Staff
Manager
You can ignore that message. It's been a while since I put that warning in place. Since then, I've been testing Joomla! 1.5 and its most popular extensions exclusively on PHP 5.3 hosts and found no issues. It's a good opportunity for me to remove this warning I guess :)

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
Oh, one more thing. You have to set the error reporting to a lower level (e.g. E_ALL) in your php.ini file. Otherwise you will get A LOT of notices mentioning "Strict Standards". This is not a failure in restoration, it's just the fact that Joomla! 1.5 raises a lot of such notices. They are not harmful, but if your server is configured to print them out the page is full of them and the site becomes barely usable. For more information, take a peek at the troubleshooting wizard where I explain what to do.

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!

user10111
Thanks Nicholas,

That got me over the hump. I was able to work through the rest of the process.

Thanks for the assistance

Harpist

nicholas
Akeeba Staff
Manager
You're welcome!

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: Typically we work Monday to Friday, 9am to 7pm Cyprus timezone (EEST). Support is provided by the same developers writing the software, all of which live in Europe. You can still file tickets, but we cannot respond to them, outside of our working hours.

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!

Summer vacations: Our support will be closed for replies and new tickets from August 6th to August 21st, 2022 due to summer vacations.