Support

Site Restoration

#43180 Kickstart gives (An error occurred An unexpected error occurred) error.

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
8.4.22
CMS Type
Joomla!
CMS Version
5.4.7
Backup Tool Version
10.3.6
Kickstart version
9.1.0

Latest post by moira on Tuesday, 21 July 2026 10:25 CDT

lafraco

Please look at the bottom of this page (under Support Policy Summary) for our support policy summary, containing important information regarding our working hours and our support policy. Thank you!

I am trying to restore a backup on a development site (or any other site) and i always get the same error. I have tried making new backups and restoring as well, same error. An error occurred An unexpected error occurred I tried doing the kickstart config file to enable debug mode. There is no log file being created. I open kickstart, it lists the backup archive. I click Start, and immediately the error displays. An error occurred An unexpected error occurred

moira

The generic "An error occurred / An unexpected error occurred" message you're seeing is Kickstart's fallback error, shown when the AJAX extraction request fails before Kickstart's own code gets a chance to log anything meaningful — which also explains why no log file is being created even with debug mode enabled.

The most common causes we see for this are server-side resource limits being hit during extraction, since unpacking a backup archive is very intensive on disk I/O, memory, and CPU:

  • Insufficient free disk space for both the archive and the extracted files.
  • Memory or I/O limits imposed by the hosting environment (Cloudways plans do enforce these per-site).
  • CPU usage limits (visible via ulimit -t on the server) being exceeded, which can be worked around by lowering the "seconds per step" / batch size setting in Kickstart so each request does less work.

Since we can't be certain which of these applies here without more information, could you please check the following and let us know what you find?

  1. Available free disk space on the site.
  2. The exact HTTP response for the failed request: open your browser's Developer Tools, go to the Network tab, click Start in Kickstart again, and check the response (status code and body) for the request that fails. This will tell us whether the server is returning an error before Kickstart even runs.
  3. Whether Cloudways' server-level PHP/Apache error log (not Kickstart's own log, since none is being created) shows anything at the time you click Start.

This will let us pinpoint whether it's a resource limit, a timeout, or something else entirely.

Moira Fari

Support Specialist

🇬🇧English: native 🕐 My time zone is Asia / Nicosia
Kindly note that my replies are fully vetted by our developers.

lafraco
1. Free space on the server is over 10gb. 2. No errors in the Dev Tools Network tab when I open the page. As soon as i click START , I get a Error 403 Forbidden - xhr I do use Cloudflare but it was never an issue for many many years when restoring a site. The problem is repeatable on other sites and servers. They all are proxied through Cloudflare, so not unique to this one site or server. From the info I can see below, it seems to be a cloudflare issue, but again, never had issues with cloudflare when running kickstart before...


-- Attention Required! | Cloudflare body{margin:0;padding:0} if (!navigator.cookieEnabled) { window.addEventListener('DOMContentLoaded', function () { var cookieEl = document.getElementById('cookie-alert'); cookieEl.style.display = 'block'; }) } !- Please enable cookies. Sorry, you have been blocked You are unable to access p*****.ca Why have I been blocked?

This website is using a security service to protect itself from online attacks. The action you just performed triggered the security solution. There are several actions that could trigger this block including submitting a certain word or phrase, a SQL command or malformed data.

What can I do to resolve this?

You can email the site owner to let them know you were blocked. Please include what you were doing when this page came up and the Cloudflare Ray ID found at the bottom of this page.

lafraco
I can confirm now, if I bypass Cloudflare it works normally. Odd this was never an issue for years before.

moira

Thank you for confirming this and for taking the time to test it — that pinpoints it exactly. Cloudflare's security service was blocking the AJAX request that Kickstart's Start button sends, returning its own "Attention Required" block page instead of letting the request through. Kickstart can't parse that page, so it falls back to the generic "An unexpected error occurred" message, and since the request never actually reached Kickstart's own code, no debug log entry was ever written either. This lines up with what you saw in the Network tab (the 403 response with Cloudflare's block page as the body).

As for why this would suddenly start happening after years of working fine: Cloudflare periodically updates its managed WAF rulesets, so a rule that didn't previously match Kickstart's requests can start matching after such an update, with no change needed on your end.

Rather than leaving Cloudflare bypassed for the whole site going forward, you may want to set up a narrower Cloudflare configuration/page rule that only relaxes the security check for requests to your Kickstart file (e.g. matching its URL path), so the rest of the site keeps the full protection. Let us know if you'd like a hand with that, or if anything else comes up during the restoration.

Moira Fari

Support Specialist

🇬🇧English: native 🕐 My time zone is Asia / Nicosia
Kindly note that my replies are fully vetted by our developers.

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!