Support

Site Restoration

#33544 Restoration not continuing after extraction

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

pjdevries

For some time now, I'm having problems restoring backups with kickstart on my local development system. Remote backups usually come from Linux based servers. My local development system is Windows 10 WAMP.

When running kickstart using the web interface, restoration does not continue after extracting the last file. Running kickstart from the command line extracts all files without any problem. Comparing a web extracted folder with a cli extracted folder, shows they are exactly the same, apart from a renamed .htaccess file.

Any idea why restoration does not continue after extraction and how to remedy this?

nicholas
Akeeba Staff
Manager

This is actually a bug in WAMP (and XAMPP) on Windows. They are using the wrong thread safety binary. I've explained all that in https://www.dionysopoulos.me/improve-php-performance-on-windows.html under "PHP versions, bits and thread safety".

You can try to change the timing parameters in Kickstart. They are at the bottom of the page, under fine tuning. Set the minimum execution time to 7 and the maximum execution time to 3. If this solution doesn't work any more let me know. I can try to sacrifice my tertiary Windows setup to WAMP's wonky server implementation to try and come up with a better solution.

In any case, if you can use the CLI to extract the archive you can keep doing that. Just rename .htaccess to htaccess.bak and access the /installation folder through a web browser. The restoration will work just fine and it will let you remove the installation folder (and rename htaccess.bak back to .htaccess) at the end of the restoration as long as you have set the correct permissions on the extracted files and folders. IIRC WAMP runs everything under your own user account and doesn't need permission changes but I might be mistaken. It's been 3 years since I last used WAMP or XAMPP on Windows.

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!

pjdevries

Thanx for the swift response and apologies for not getting back to you sooner.

Today I tried what you suggested and ran kickstart with min/max execution times as you proposed. Unfortunately it still does not work. If anything, it's even worse since the extraction process now not even makes it until the end, but 'hangs' even sooner.

Fortunately installation, after manually extraction from the command line, works fine, just as you pointed out.

nicholas
Akeeba Staff
Manager

This is really weird. I've tried reproducing that with XAMPP on two physical Windows machines and even on Windows 10 Sandbox (which is slow as molasses, especially on my slowest, 7-year-old, physical Windows machine) to no avail.

Is it possible that you are using an antivirus which might be falsely detecting Kickstart, your backup archive or the extracted files as malicious? Even Windows Defender (or whatever it's called this month) could do that. My advice is disabling virus scanning for the web root of your local server. It won't just prevent false positives from screwing up your sites, it will also make your local sites respond drastically faster. I've made that point in the blog post I linked you to in my previous reply.

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!

pjdevries

Thanx for the follow up. Yes I use an antivirus application (BitDefender) but web and database folders were not excluded yet. I remedied that. Not sure if my overall system performance has improved that much, but it should. I didn't notice any false positives about Kickstart in the logs though. So I don't expect it will perform better next time. If it doesn't, I'll let you know. For the time being I can live with the cli aproach.

Thanx again for the support.

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.