Support

Akeeba Backup for Joomla!

#38740 Backup Failures

Posted in ‘Akeeba Backup for Joomla! 4 & 5’
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

Joomla! version
Joomla 4.2.9, and older
PHP version
8.0.26
Akeeba Backup version
9.5.1 and older

Latest post by tampe125 on Friday, 17 March 2023 04:20 CDT

stavrosz

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 Failed

The 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 complete

ALICE 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.

tampe125
Akeeba Staff

Hello,

looking at the error log, it seems there's a problem while adding the file Golf_Brochure.pdf .

Does it always happen with this file? How large is it? Can you please try to exclude it from the backup?

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

tampe125
Akeeba Staff

By the way, can you please install Akeeba Backup twice in a row? I suspect you have a missing file

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

stavrosz
  • The Golf_Brochure.pdf file is only 1,03 MB and there are other bigger files. The same file also exists in other websites and does not create backup problems to them. Nevertheless, I deleted the file but still the problem persisted. I copied the file from another website but still the same problem.
  • I installed the Akeeba Backup again and still the same problem.
  • I completely uninstalled the Akeeba Backup package and installed it afresh, but still the same problem.

I attach the error file created even after applying all the above.

tampe125
Akeeba Staff

Looking at the log file, it seems it can't create the temporary file needed to include the original file inside the backup archive.
Do you have an antivirus running? Can you please try to pause it?

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
Please keep in mind my timezone and cultural differences when reading my replies. Thank you!

stavrosz

Yes, I have AVAST Antivirus.

I turned it OFF and the backup went through fine. ON and the problem reappeared. OFF and again Akeeba Backup worked smoothly.

Why the problem appeared on only two of my localhost websites and not on others?

ย 

I will contact Avast support. Is there something specific I should tell them?

tampe125
Akeeba Staff

Ok, I think I know what's going on.
Most likely the antivirus is triggered by the large creation of files in a small amount of time and it thinks it's a ransomware or something like that.

So it kills the process. The solution is to pause it while you're requiring a website or add your web path to the exclusion list

Davide Tampellini

Developer and Support Staff

๐Ÿ‡ฎ๐Ÿ‡นItalian: native ๐Ÿ‡ฌ๐Ÿ‡งEnglish: good โ€ข ๐Ÿ• My time zone is Europe / Rome (UTC +1)
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!