Support

Akeeba Backup for Joomla!

#35036 Small Issue with FOF4 + Akeeba Backup 8.0.3

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 Wednesday, 12 May 2021 20:17 CDT

weble

Hi Nicholas, Daniele here.

I've got a small issue when updating to 8.0.3 from 7.3.2.1

basically  i had FOF 4.0.1 installed (i think) with the previous version of akeeba backup. Joomla autoupdater saw that there was a new version (4.0.5) of fof available, and installed it. Then it saw that there was a version of akeeba backup available (8.0.3) and tried to install, but it seems that 8.0.3 ships with fof 4.0.3 so the installer stops since i have  a newever version of FOF installed.

Now i can't downgrade FOF (have also admintools already installed) and can't upgrade Akeeba Backup. No real issue, i'm gonna wait for 8.0.4, but wanted to share this edge case with you ;)

Thanks as always!
Keep it up ;)

nicholas
Akeeba Staff
Manager

Hello Danielle,

I don't see how this is possible, since it's something I have had to specifically address more than five years ago.

Joomla will prevent the package type extension to be installed if any of the included extensions failed to install. The only way to prevent the accidental downgrade of FOF or FEF is to fail their installation. This would of course mean that if these two extensions are listed in the XML manifest of the package type extension you can never install it if you already a newer FOF or FEF version already installed.

My solution to that was to not list these two extensions at all in the package extension's XML manifest. If you extract the ZIP file and open the XML file you will see they are not listed. So how are they installed?

We actually do that in the preflight() method of the package script. We ask Joomla to install these two file type extensions. If they fail to install they do output warning messages (these come from the Joomla! extensions installer internals and cannot be suppressed) but we also add another message of our own which pretty much says "please ignore the ‘Custom install routine failure’ message". Since the installation of these extensions is not part of the package manifest itself the package extension will install just fine.

So what really happened is that did get a message that you can't downgrade FOF and / or FEF BUT the actual extension (components and plugins) DID get upgraded regardless. If this didn't happen you have a different issue and you need to check the warning messages you got after the FEF / FOF no-downgrade messages.

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!

weble

Very weird indeed... I'll fix this manually in the meantime, and let you know if this happens again and what exact circumstances brought this on.

I think it's related to a FOF3 update to FOF4.0 with a custom extension i have on the site which relied on FOF3.0

Will let you know if anything arises, in the meantime feel free to close this ticket, thanks again!

 

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!