Support

Akeeba Backup for Joomla!

#38623 post processing doesn't work on several site

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
3.10.11 - 4.2.8
PHP version
7.4 - 8.0
Akeeba Backup version
pro 8.2.7

Latest post by erix on Friday, 24 February 2023 06:47 CST

erix

Hello,

First of all I would like to say that akeeba works perfectly well on several dozen sites and if I open this ticket is because I encounter a problem for a week on a few twenty sites concerning backups in automatic tasks and with post-processing on Dropbox.
For these sites the post-processing does not work and the backup remains physically on the server which of course causes major problems of disk space.
Insofar as Akeeba does not create log files to analyze for remote backups, it is difficult to know how I can get around this blockage.
I have of course deleted all the files on the servers and run test backups but I still get the same errors.
I'm not sure how I can get around this blocking, but I'd appreciate it if you could give me an idea of how to do it, especially as it only works on a third of the sites and not on the others...
Thank you in advance for the answer,

Thanks in advance for the answer, with kind regards,
Eric

 adishatz, erix

www.agerix.fr

tampe125
Akeeba Staff

Hello,

technically the backup did not fail, since you do have a copy of your website, this is why you can't analyze it with ALICE.

Can you please attach a log of a backup that was not transferred to Dropbox? The issue happens all the time, or it's random?

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!

erix

Hello,

Thank you for your answer. It happens all time, not random.

The log from the last backup is attached 

 adishatz, erix

www.agerix.fr

tampe125
Akeeba Staff

Are you using OVH as hosting?

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!

erix

Yes I do

 adishatz, erix

www.agerix.fr

nicholas
Akeeba Staff
Manager

We have observed that since around February 20th, 2023 it's not possible to upload backup archives to Dropbox (and possibly other remote storage providers) on sites hosted on OVH. The problem, as you will see, is beyond a mere inconvenience; it's a reliability issue with OVH's hosting services which can lead to completely broken sites.

The log file shows that a lot of chunks of the backup archive are uploaded without a problem, each chunk taking just 1–3 seconds. However, the log file ends trying to upload another chunk with plenty of time left. You see no response from the server and the log file ends abruptly. Here's an excerpt from a real world sample log file, with the site name and backup archive name replaced for privacy reasons:

DEBUG   |20230223 11:24:38|Akeeba\Engine\Core\Domain\Finalization::_run() Resuming finalization object Akeeba\Engine\Core\Domain\Finalizer\PostProcessing
DEBUG   |20230223 11:24:38|Loading post-processing engine object (dropbox2)
INFO    |20230223 11:24:38|Continuing post processing file <root>administrator/components/com_akeebabackup/backup/site-example.com-20230220-121314cet-abcDefghijKl12M3.jpa
DEBUG   |20230223 11:24:38|Akeeba\Engine\Postproc\Dropbox2::processPartChunked - Using chunked upload, part size 20971520
DEBUG   |20230223 11:24:38|Akeeba\Engine\Postproc\Dropbox2::processPartChunked - Uploading chunked part
INFO    |20230223 11:24:40|More post-processing steps required for file <root>administrator/components/com_akeebabackup/backup/site-example.com-20230220-121314cet-abcDefghijKl12M3.jpa
DEBUG   |20230223 11:24:40|Not removing the non-processed file <root>administrator/components/com_akeebabackup/backup/site-example.com-20230220-121314cet-abcDefghijKl12M3.jpa
DEBUG   |20230223 11:24:40|Akeeba\Engine\Core\Domain\Finalization::_run() Resuming finalization object Akeeba\Engine\Core\Domain\Finalizer\PostProcessing
DEBUG   |20230223 11:24:40|Loading post-processing engine object (dropbox2)
INFO    |20230223 11:24:40|Continuing post processing file <root>administrator/components/com_akeebabackup/backup/site-example.com-20230220-121314cet-abcDefghijKl12M3.jpa
DEBUG   |20230223 11:24:40|Akeeba\Engine\Postproc\Dropbox2::processPartChunked - Using chunked upload, part size 20971520
DEBUG   |20230223 11:24:40|Akeeba\Engine\Postproc\Dropbox2::processPartChunked - Uploading chunked part
INFO    |20230223 11:24:43|More post-processing steps required for file <root>administrator/components/com_akeebabackup/backup/site-example.com-20230220-121314cet-abcDefghijKl12M3.jpa
DEBUG   |20230223 11:24:43|Not removing the non-processed file <root>administrator/components/com_akeebabackup/backup/site-example.com-20230220-121314cet-abcDefghijKl12M3.jpa
DEBUG   |20230223 11:24:43|Akeeba\Engine\Core\Domain\Finalization::_run() Resuming finalization object Akeeba\Engine\Core\Domain\Finalizer\PostProcessing
DEBUG   |20230223 11:24:43|Loading post-processing engine object (dropbox2)
INFO    |20230223 11:24:43|Continuing post processing file <root>administrator/components/com_akeebabackup/backup/site-example.com-20230220-121314cet-abcDefghijKl12M3.jpa
DEBUG   |20230223 11:24:43|Akeeba\Engine\Postproc\Dropbox2::processPartChunked - Using chunked upload, part size 20971520
DEBUG   |20230223 11:24:43|Akeeba\Engine\Postproc\Dropbox2::processPartChunked - Uploading chunked part

(end of log file)

The first two pair of line in bold show that archive chunks are being uploaded just fine, within 2–3 seconds each. The last bold line, where the log file ends, shows that the OVH web server killed the backup process without returning a response (neither success, nor failure), and without throwing an error.

We have debugged real world sites where this is happening and we observed that, indeed, the upload works just fine up to the point that the OVH server simply does not return a reply at all. The upload simply times out after the hard limit of 300 seconds we have set up in our software to catch broken servers like that — the kind of which we had not seen for well over 10 years, mind you.

We have tried using different timing settings to no avail. The problem happens randomly and apparently depends solely on the server's load which we cannot determine in any reasonable way. It may happen 5 seconds into a backup upload step, or even within the first second of a backup upload step. This makes it impossible to catch it or work around it in any way. Simply put, the OVH web servers randomly act as a black hole for requests.

On Thursday, February 23rd, 2023 at 12:23 EET a client who had this problem and contacted OVH relayed to us the response from OVH about this issue. They told him this happens, and I quote, “because of the number of sites hosted on the server”. In other words, OVH tacitly admitted that they are overselling their servers, therefore they resort to randomly killing processes and breaking your sites to prevent the web server from failing altogether. The only two solutions they provided were 1. our client manually downloading the backup archives to their computer, and manually transfer them to Dropbox; or 2. upsell our client to a more expensive hosting package where, presumably, they wouldn't intentionally break his site. Both of these so-called "solutions" are completely unacceptable, considering that the problem is caused by OVH itself per their own admission.

At this point we would like to note that this is not just a problem with uploading backup archives. This is a problem which affects your site as a whole. OVH admitting that they are randomly killing processes on their server because it's oversold (it tries to host more sites than it has capacity for) means that your site will randomly stop responding even you are browsing the site, or working on your site's administrator. The effects of this problem can range from inconvenient (your site randomly stops responding when a client is visiting it) to downright catastrophic (the site may stop responding while an update to your CMS or an extension is installed, thereby completely breaking your site to the point it requires restoration from the last known good backup). We consider this kind of hosting service to be beyond unreliable and downright unacceptable.

We very strongly recommend voicing your concerns to OVH which intentionally breaks your sites and demand a solution from them. After all, hosting your sites reliably is what you are paying for. If they cannot provide this service and refuse to address the problems they have intentionally introduced to your sites we advise you to use a different hosting provider.

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!

erix

Hello,

Thank you for this very complete answer. I will see with the French speaking community of Joomla if we can have a collective action towards OVH in order to find a solution quickly. As it is, it is very complicated for us to ensure a maintenance contract if the backups are kept on the original server (problem of disk space, security, etc.)

 adishatz, erix

www.agerix.fr

nicholas
Akeeba Staff
Manager

So far we have only heard this happening with Dropbox which makes me thing that MAYBE the reasoning they gave our client was hogwash and the real reason is that they have screwed up their proxy server.

If you can try using a different remote storage provider, for example Amazon S3, on a couple sites and tell if it works it would help us understand what OVH broke.

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!

erix

I just tried with Amazon S3 and it works fine so it seems that the problem is coming from Dropbox

 adishatz, erix

www.agerix.fr

nicholas
Akeeba Staff
Manager

Hm, if the problem is only with Dropbox then what OVH told our client was, not to put too fine a point on it, horse crap. I bet the actual problem is a misconfiguration on their proxy server which handles HTTP(S) requests from the server to the outside world.

Can you please tell them to start fixing this? Since you have a ton of sites with them they are far more likely to listen to you.

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!

erix

I have just created a support ticket at OVH ;)

 adishatz, erix

www.agerix.fr

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!