Support

Site Restoration

#39707 Kickstart extractor failed

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, 26 October 2023 05:59 CDT

joomlaboy

Hello!

I was encountering the issue where I couldn't extract the .jpa archive, getting the error message about the archive headers a few seconds after Starting the extraction.
I did try all know possible troubleshooting steps - also went through this: https://www.akeeba.com/documentation/akeeba-kickstart-documentation/kscantextract.html

Nothing worked!

Finally, I realised what was wrong in my case and it was more obvious than expected.

I was moving via terminal (later via FTP, and URL Import) a .jpa archive of the newly developed WP website located on another cPanel account on the same server, to the original cPanel account, where there was sitting the old website.

The old website was a Joomla 1.5 instance and it was running on PHP 5.4.

After moving the .jpa file, I was running the kickstart.php script. The case is that it never came into mind at that point to check and switch the PHP version of the account to a newer PHP 8.1.

Kickstart.php 8.x was running without errors for the first steps on PHP 5.4 - but it was failing during the extraction, but there was no visible/obvious notice.

I realised due the error.log that was generated by PHP.

Now, switched to PHP 8.1 and everything worked.
So, I came here to give this notice... The kickstart documentation mentions the requirements, but the documentation page linked from the failing extraction page of kickstart has no reference. So, someone facing a similar issue might go through all troubleshooting steps without success.

Now, you would tell me... who in the world will ever try to run kickstart 8.x on PHP 5.4 and would be almost right... but hey, hey ... here I am (lol).

Anyway, you may want to add on top of the troubleshooting guide for issues with kickstart extractor the notice regarding checking system requirements, as friendly notice to anyone who might be dealing with similar problems. If the environment does not meet the minimum requirements, the script will not work.

*Strangely, kickstart.php didn't give any signs before starting the extraction though.

Have a good day!

nicholas
Akeeba Staff
Manager

The compatibility has always been, is, and will be public information available on https://www.akeeba.com/compatibility.html.

As for having this information in multiple places in the documentation, the answer is that something like that would end up being an 2800-word, four-page, contiguous paragraph listing every single release, making it impossible for you to get the same information you get from a single line in the Compatibility page of our site. And yes, we've been there. After it all became too convoluted to convey in words circa 2008 I came up with the far cleaner Compatibility page which then every other developer copied.

As for the PHP version check, we support as far back as PHP 5.6. I have not seen a server in the wild with a PHP version older than that since well over a year before we bumped the minimum PHP version from 5.4 to 5.6. Therefore, I never thought we'd need to add this kind of check.

I mean, PHP 5.4 in 2023…?! That server of yours must have stopped receiving updates since 2016 at the latest (assuming it's CentOS or RHEL; since 2014 if it's Debian or Ubuntu) 😱

Anyway, I'll add a minimum PHP version check in the next version, just for the fun of it.

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!

joomlaboy

Hey Nicholas!

I use the compatibility pages and many of the charts in your documentation and other pages very often, usually when I have to decide what version of an app I should use/download etc.
That was a case where I forgot that this account was running on PHP 5.4. Once the extraction failed and after trying a few times to move a newer .jpa, checking about file permissions etc, I followed the troubleshooting link. There I read everything in case I was missing something and my issues was still not resolved. 
You are right that system requirements can not be everywhere in the documentation...

However, I guess you could agree... given the circumstances, having totally forgotten that the account of the restoration was running on PHP 5.4, having no other visual/obvious signs about that, having the script allowing me to start the extraction and then following the link for troubleshooting... I had to go through all the other troubleshooting steps, before going thinking to take it from the beginning and check the main and obvious staff.

I am not saying you should include the requirements reference in the troubleshooting pages ... but anyhow, that was my morning story using Akeeba! (I have many more similar stories... lol).

Anyway, I'll add a minimum PHP version check in the next version, just for the fun of it.

Haha... OK.    Have a good day!

nicholas
Akeeba Staff
Manager

Have a great day, you too!

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!