Support

Akeeba Backup for Joomla!

#35317 Downgrade

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 on Tuesday, 29 June 2021 20:17 CDT

RobertSpencer

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!


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 2Mb, please upload it on your server and post a link to it.


Description of my issue:

My backups failed on multiple levels and I'm in shock I don't even know where to start to figure out what went wrong. I setup automatic S3 backups last year and everything went well. I double checked and the backups where running fine, so I left it and focused on other areas.

I happened to get back to check on the Akeeba today and at some point in time it some how managed to downgrade itself from Professional back to Core.

Checked on the Backup Statistics and the last successful backup listed was in September last year!

I'll setup and test everything again and put additional checks in place, so we don't accidentally land up with no backups and no warning. The main thing is how is it possible to accidentally downgrade Akeeba? I'm reasonably sure all the other failures hinge on that stuff up.

nicholas
Akeeba Staff
Manager

The extension updates are handled by Joomla, not our code. In fact we are not allowed to use our own updaters. Per the Joomla Extensions Directory's terms of service all of our software must use the extensions updater built into Joomla. 

Joomla itself performs all of the update checks, determines whether there is an update available and install it. For more information on how that works you can consult our documentation.

Your problem lies in the fact that both the Core and Pro editions are the same extension for Joomla: pkg_akeeba, an extension of the type "package". What we do is provide a different update server URL in the XML manifest of our extension. It's up to Joomla to install the new update server and remove the old one when you upgrade from Akeeba Backup Core to Professional.

Now, here's a major WTF on Joomla's part. For that to happen, you need to have published the Installer - Joomla plugin. If you accidentally unpublish it Joomla no longer keeps the update site definitions (managed in Extensions, Manage, Update Sites) when you update an extension. So it's perfectly possible to install the Pro version of an extension and still have the Core update site. As a result, Joomla will then "update" your Pro version to Core as soon as it detects a new version. No warning. No external indication something is wrong. It will just blithely screw you over.

The second WTF is that Joomla may fail to remove the old update site. So now you have two update sites, one for the Pro and one for the Core edition. Which one will be used? It's anybody's guess! So, again, it's possible that the Core update site will be selected and the next time Joomla finds an update it will "update" your Pro version to Core.

There is a workaround as long as you have installed Akeeba Backup 8.0.5. Go to Extensions, Manage, Update Sites and delete all of the update sites for Akeeba Backup. Then go to Components, Akeeba Backup. This will regenerate the update site.

While you're at it, make sure that the Installer - Joomla plugin is enabled (for the reasons explained above) and the Installer - Akeeba Backup plugin is also enabled (it helps with another few Joomla bugs which make it "lose" the Download ID).

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!

System Task
system
This ticket has been automatically closed. All tickets which have been inactive for a long time are automatically closed. If you believe that this ticket was closed in error, please contact us.

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!