Support

Site Restoration

#11698 Cannot restore jps files

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

carcam
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 Troubleshooter :P
Joomla! version: 2.5.3
PHP version: 5.3.3
MySQL version: 5.2.x
Host: localhost (OpenSuSE 11.4 up to date)
Akeeba Backup version which took the backup: 3.4.3
Kickstart version used to extract the backup: 3.4.1

Description of my issue:
After taking a multipart backup using jps archive, makes akeeba kickstart unable to extract the data.

Taking the backup exactly with the same configuration does not imply any error.

nicholas
Akeeba Staff
Manager
I think it had to do with a different bug affecting JPS extraction, making it so slow as to fail. Please try using our latest dev release of Kickstart, svn1301, which should fix this issue.

If you still have the same problem, please make sure that you download the entire backup files set (.jps, .j01, .j02 etc) to your PC over FTP in Binary transfer mode. If any of the backup files is missing, Kickstart and Akeeba eXtract Wizard will throw an error and will not be able to extract the backup at all.

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
BTW, I tested that only on my MacBook Pro which runs PHP 5.3.9 right now. If you have a problem with a different PHP version, please let me know. Thank you in advance for your feedback, Carlos!

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!

carcam
Thank you for your reply!!

I don't think it's related as the "cannot extract" screen appears even faster than the "extracted" screen, but I will try the latest SVN and check throughly my php version and apache logs, and let you know.

Thank you very much for your help!!

carcam
As usual you were right (at least with 99% of probability).

I have used the suggested version of Kickstart to restore the same jps file on a Debian system (not the OpenSuSE 11.4 I tried yesterday) and I have had no problems.

I'll try to test tomorrow on the OpenSuSE system, but I bet it will work.

Thank you very much for your help.

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!

carcam
Hi Nicholas,
I have tested the SVN 1301 version of kickstart on my OpenSuSE 11.4 box that runs PHP 5.3.10 and I was not able to extract the files. I got these messages on Apache logs:

PHP Warning: unpack(): Type v: not enough input, need 2, have 0 in /home/carcam/public_html/comuna/kickstart.php on line 3854, referer: http://localhost/~carcam/comuna/kickstart.php

PHP Stack trace:, referer: http://localhost/~carcam/comuna/kickstart.php
[Tue Mar 27 23:40:37 2012] [error] [client ::1] PHP 1. {main}() /home/carcam/public_html/comuna/kickstart.php:0, referer: http://localhost/~carcam/comuna/kickstart.php
[Tue Mar 27 23:40:37 2012] [error] [client ::1] PHP 2. AKAbstractPart->tick() /home/carcam/public_html/comuna/kickstart.php:9091, referer: http://localhost/~carcam/comuna/kickstart.php
[Tue Mar 27 23:40:37 2012] [error] [client ::1] PHP 3. AKAbstractUnarchiver->_run() /home/carcam/public_html/comuna/kickstart.php:1892, referer: http://localhost/~carcam/comuna/kickstart.php
[Tue Mar 27 23:40:37 2012] [error] [client ::1] PHP 4. AKUnarchiverJPS->readFileHeader() /home/carcam/public_html/comuna/kickstart.php:1444, referer: http://localhost/~carcam/comuna/kickstart.php
[Tue Mar 27 23:40:37 2012] [error] [client ::1] PHP 5. unpack() /home/carcam/public_html/comuna/kickstart.php:3854, referer: http://localhost/~carcam/comuna/kickstart.php
[Tue Mar 27 23:40:37 2012] [error] [client ::1] PHP Warning: array_key_exists(): The first argument should be either a string or an integer in /home/carcam/public_html/comuna/kickstart.php on line 3862, referer: http://localhost/~carcam/comuna/kickstart.php
[Tue Mar 27 23:40:37 2012] [error] [client ::1] PHP Stack trace:, referer: http://localhost/~carcam/comuna/kickstart.php
[Tue Mar 27 23:40:37 2012] [error] [client ::1] PHP 1. {main}() /home/carcam/public_html/comuna/kickstart.php:0, referer: http://localhost/~carcam/comuna/kickstart.php
[Tue Mar 27 23:40:37 2012] [error] [client ::1] PHP 2. AKAbstractPart->tick() /home/carcam/public_html/comuna/kickstart.php:9091, referer: http://localhost/~carcam/comuna/kickstart.php
[Tue Mar 27 23:40:37 2012] [error] [client ::1] PHP 3. AKAbstractUnarchiver->_run() /home/carcam/public_html/comuna/kickstart.php:1892, referer: http://localhost/~carcam/comuna/kickstart.php
[Tue Mar 27 23:40:37 2012] [error] [client ::1] PHP 4. AKUnarchiverJPS->readFileHeader() /home/carcam/public_html/comuna/kickstart.php:1444, referer: http://localhost/~carcam/comuna/kickstart.php
[Tue Mar 27 23:40:37 2012] [error] [client ::1] PHP 5. array_key_exists() /home/carcam/public_html/comuna/kickstart.php:3862, referer: http://localhost/~carcam/comuna/kickstart.php
[Tue Mar 27 23:40:37 2012] [error] [client ::1] PHP Warning: unpack(): Type C: not enough input, need 1, have 0 in /home/carcam/public_html/comuna/kickstart.php on line 3881, referer: http://localhost/~carcam/comuna/kickstart.php
[Tue Mar 27 23:40:37 2012] [error] [client ::1] PHP Stack trace:, referer: http://localhost/~carcam/comuna/kickstart.php
[Tue Mar 27 23:40:37 2012] [error] [client ::1] PHP 1. {main}() /home/carcam/public_html/comuna/kickstart.php:0, referer: http://localhost/~carcam/comuna/kickstart.php
[Tue Mar 27 23:40:37 2012] [error] [client ::1] PHP 2. AKAbstractPart->tick() /home/carcam/public_html/comuna/kickstart.php:9091, referer: http://localhost/~carcam/comuna/kickstart.php
[Tue Mar 27 23:40:37 2012] [error] [client ::1] PHP 3. AKAbstractUnarchiver->_run() /home/carcam/public_html/comuna/kickstart.php:1892, referer: http://localhost/~carcam/comuna/kickstart.php
[Tue Mar 27 23:40:37 2012] [error] [client ::1] PHP 4. AKUnarchiverJPS->readFileHeader() /home/carcam/public_html/comuna/kickstart.php:1444, referer: http://localhost/~carcam/comuna/kickstart.php
[Tue Mar 27 23:40:37 2012] [error] [client ::1] PHP 5. unpack() /home/carcam/public_html/comuna/kickstart.php:3881, referer: http://localhost/~carcam/comuna/kickstart.php

Please let me know if I can provide more info.

All best!!

nicholas
Akeeba Staff
Manager
Looks like the mhash extension does not support AES-128 on that server. Remember, JPS is encrypted and needs mhash with AES-128 support to decrypt the archive while extracting it. It seems that the only workaround on that server is to extract the archive manually, 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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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.