EXTREMELY IMPORTANT: Please attach a ZIP file containing your Akeeba Backup log file in order for us to help you with any backup or restoration issue. If the file is over 10MiB, please upload it on your server and post a link to it.
A couple of sites hosted on my localhost repeatedly fail to complete a backup with the following error message:
Backup FailedThe backup operation has been halted because an error was detected.
The last error message was:
<strong>AJAX Loading Error</strong><br/>HTTP Status: 403 (Forbidden)<br/>Internal status: error<br/>XHR ReadyState: 4<br/>Raw server response:<br/><!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN"> <html><head> <title>403 Forbidden</title> </head><body> <h1>Forbidden</h1> <p>You don't have permission to access this resource.Server unable to read htaccess file, denying access to be safe</p> <hr> <address>Apache/2.4.48 (Win64) OpenSSL/1.1.1k PHP/8.0.26 mod_fcgid/2.3.10-dev Server at sites Port 80</address> </body></html>
Please click the 'Analyse Log' button below have Akeeba Backup analyse its log file for further information.
The backup failure takes down the web server and I need to have it restarted again.
After restarting the web server (Apache), I click the "Analyse Log" button I get the following message:
Log analysis is completeALICE finished its log analysis. A total of 10 different checks were executed.
We detected a major issue which may have caused your backup to fail.
Detected Error There is already an issue with the backup engine saving its state. Please fix it before continuing.Possible solution:
Please try setting min execution time to 1, max execution time to 10 seconds (or if the PHP timeout is less than 10 seconds, use 75% of the PHP timeout), runtime bias 75%
I tried Alice's recommendation setting the minimum execution time to 1, and the max execution time to 10, but to no avail. The PHP max_execution_time is 120 seconds.
The same problem appears on two of my localhost websites but not to others with same versions (Joomla, Akeeba, PHP, etc.). I used copies of the .htaccess files of other problem-free sites but still the backup problems on these two sites don't go away.