Support

Site Restoration

#38010 Error accured during extraction of 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
7.4.32
CMS Type
Joomla!
CMS Version
4.2.4
Backup Tool Version
9.4.2
Kickstart version
7.1.2

Latest post by nicholas on Wednesday, 09 November 2022 09:43 CST

ottosuperstudio

In the extraction process of the files from the jpa file using kickstart, midway through the extraction an error message has appeared. It’s not specified what the exact issue is but I think it might be caused by the size of the jpa file (quite big) therefore kickstart is taking longer to extract and that might cause the operation to stall because of the timeout.

Let me know what the issue is so that I can proceed to the restoration of the site.

Thank you in advance for the support.

 

nicholas
Akeeba Staff
Manager

If you are right about the size of the archive you can change the min and max execution time settings before clicking the Start button. See https://www.akeeba.com/documentation/akeeba-kickstart-documentation/the-setup-page.html for the documentation on these options.

You can set the Minimum execution time to 7 seconds and the Maximum execution time to 2 seconds (NOT a typo!) to create a 30% duty cycle. This will make the extraction longer but also it means fewer requests per minute which is what might be killing your restoration. (Yes, I am aware that the Apache module which is used to kill requests coming at a certain cadence has been end of life since 2017, but I have seen hosts still use it as recently as September 2022).

Also make sure that your Internet connection is stable and that your machine does not go on sleep mode. If you are using a Chromium-based or Firefox-based browser please remember that background tabs go to sleep (as implemented first in Edge) which BREAKS taking and extracting backups. You need to have the tab in the foreground and move the mouse every so often — yeah, I know, I am annoyed too.

If that did not help I would need to know exactly what the error message reads. A screenshot would help.

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!

ottosuperstudio

Thank you for the reply, I tried to set the minimum and maximum execution time as you indicated, and it was going smoothly until this error occurred (screenshot)

As you can see it was almost over.

What should I do?

I'm sending you also the jpa file that I'm trying to extract, maybe you can tell me if there is some issue with it. https://www.dropbox.com/sh/oqct2gljb5me8s6/AABrg8DvVu1Ex_9g7d8Mg8O3a?dl=0

Thank you

nicholas
Akeeba Staff
Manager

How much disk space do you have available on that server? The message says it can't write to the file. Since it's deep in a directory which was created during the extraction of the archive it's not a case of bad permissions / ownership. The other reason why PHP would say it can't write to a file is if the operating system can't write to the file which means it has ran out of disk space.

I am downloading your archive to test anyway but it will take me a long time because it's rather big.

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!

ottosuperstudio

I was also thinking that might be the case, because the jpa file is rather big. The disk space available is around 5GB.

I'll try and see if I can increase the disk space, in the meantime I thank you for the support, it was much appreciated.

nicholas
Akeeba Staff
Manager

Well, just your backup archive is 3.16GB. When you extract it you will be trying to write even more data (since much of the data in the archive is compressed). Wo we're talking about at least 7GB required. I think we found the problem :)

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!