Support

Akeeba Backup for Joomla!

#33738 7.3.2 breaks backend cron cli

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
n/a
PHP version
n/a
Akeeba Backup version
n/a

Latest post by Ch3vr0n on Tuesday, 22 September 2020 10:04 CDT

Ch3vr0n

For some reason ABP 7.3.1 is installed on the website (which seems to be a development release according to ABP itself, note this is important for later). Running a backend CLI with 7.3.1 works fine. Yesterday however i was prompted to update to 7.3.2. Which i did. Backend CRON tasks now no longer work and generate an error.

The error is as follows (or at least the part i can see from the plesk backend. Plesk hasn't sent an email report yet)

********** ERROR! **********

Class 'Akeeba\Engine\Platform' not found

Technical information:

Code: 0
File: /var/www/vhosts/<domain.tld>/httpdocs/administrator/components/com_akeeba/Model/Backup.php
Line: 728

Stack Trace:

#0 /var/www/vhosts/<domain.tld>/httpdocs/cli/akeeba-backup.php(79): Akeeba\Backup\Admin\Model\Backup->getDefaultDescription()
#1 /var/www/vhosts/<domain.tld>/httpdocs/libraries/src/Application/CliApplication.php(143): AkeebaBackupCLI->doExecute()
#2 /var/www/vhosts/<domain.tld>/h...

Modifying absolutely nothing EXCEPT reinstalling 7.3.1 restores CLI backup functionality. Please let me know if you need more info.

nicholas
Akeeba Staff
Manager

There is a bug in Akeeba Backup 7.3.2 which only affects the CLI backups (akeeba-backup.php). A new version, 7.3.2.1, is now released which addresses the issue. Upgrading to it will fix the CLI backups.

In 7.3.2 I changed the way the default description is generated for all backups, regardless of their source (CLI, backend, frontend, remote JSON API). This code requires the backup engine to be loaded. The CLI script was trying to get the default description before the backup engine is loaded, causing a PHP fatal error. The new version 7.3.2.1 correctly loads the backup engine before trying to get the default backup description, addressing the issue.

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!

Ch3vr0n

Superb, looks like i was the first to reports it but not the only one. Thanks for the quick support. Updating right now

Oh and i'd love to read your rant about hardcoded WP urls here ;) https://www.akeeba.com/support/akeeba-solo/Ticket/33690:host-transfer-of-wp.html

nicholas
Akeeba Staff
Manager

You're welcome :)

I won't share my opinion about WordPress. I will only tell you that I understand why it's popular, but so is McDonald's and Starbucks. I don't judge and I still write software for WordPress and occasionally go to McD and Starbucks. They're just not my first, second or fifth choice for site software, meals and coffee respectively.

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!

Ch3vr0n

I never used WP, and don't plan to unless J! stops entirely :). Maybe one day we'll bump into each other on a J! conference. Thats on my bucketlist. Case closed!

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!