Support

Admin Tools

#34956 Update issues Admin Tools (and the other Pro extensions)

Posted in ‘Admin Tools 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
Admin Tools version
n/a

Latest post by tampe125 on Monday, 29 March 2021 09:11 CDT

maurice.molenaar

Hi there!

I still have issues updating this software (Backup Pro also).

First I have read your news article and disabled the installer plugins on all client sites that we manage. This did not fix the issue of not being able to update.

Second I searched the public support tickets  and read this one - and I have followed all steps exactly on 1 site (for starters).

Then I found out I wass still not able to update the software. Still get a 403 error.

I did not yet try to download and manually install the package as I don't know if this would be wise at this point.

Do you have any more suggestions that could help me?

Thanks,
Maurice

Best regards,
Maurice

nicholas
Akeeba Staff
Manager

The 403 error is a different kettle of fish. This is Joomla losing the Download ID even though it's still defined in the component itself. This has to do with the insane way Joomla works for updates. We are copying the Download ID into Joomla's #__update_sites table, in the extra_query column as dlid=THE_DOWNLOAD_ID_YOU_ENTERED. When Joomla finds updates it creates entries in the #__updates table and copies over the extra_query column from the #__update_sites table at the time the update was found. When you try to install the update it reads our update information all over again, takes the download URL and appends the extra_query to the URL to create the authorised URL that includes the Download ID.

We observed that starting with Joomla 3.9.25 it would randomly lose the extra_query column content from the #__update_sites table. This typically happens when you use the Rebuild Update Sites button in Joomla's Update Sites page but we believe it may sometimes happen when you install an update (or our clients reporting this issue don't remember clicking the Rebuild Update Sites button; either could be true, honestly).

The solution to that is to remove the Download ID from the extension, save the component Options, visit the extension's Control Panel page and then enter the Download ID when prompted. This would normally work.... except that it only updates the #__update_sites table. Because of the way Joomla works you also need to clear the update cache and fetch the updates again.

This would normally work... except Joomla has another bug. There's an undocumented database query cache in the updates page which gets in the way.

To cut a long story short, here is the "simple" 18-step process to address the Joomla bugs you've stumbled upon: https://www.akeeba.com/documentation/akeeba-backup-documentation/update.html#dlid-change-after-update Please follow all of the steps, in the exact order presented, even though most of these look repetitive or just plain stupid. You will be working around a number of Joomla bugs by doing that.

These are Joomla bugs I have been privately reporting to the Joomla project since 2014. They were not getting fixed. I filed a public issue on march 6th, 2021 because I reckon 8 years of no action from the project's part is a disgrace. I was met with open hostility and threats against our company.

I'd very much prefer if we didn't have to use the broken, buggy, unfit for purpose built-in Joomla extensions updater. When we were using our own updater things were so much easier for you and us both. However, since 2017 we are FORCED to use Joomla's extensions updater on pain of having our software delisted from the Joomla Extensions Directory.

Now, does it make sense that the Joomla project forces us to use a broken updater, refuses to fix it and blames us, the victims, for the code they have no control over? No, it doesn't. It's a disgrace and unconscionable. We DID offer to fix these issues many times over the past 8 years; they refused our help. I don't know what else to do except stop covering for Joomla and give you, our clients, the unvarnished truth. Joomla's extensions updater is broken, the project refuses to fix it and forces it upon us third party developers. You will continue having problems updating software not because we, Akeeba Ltd, don't care or don't know how to fix it but because the Joomla project itself doesn't want to fix any of that and won't let us fix any of that either. I know exactly what is broken and why; I've told core maintainers plenty of times. They refuse to even consider the possibility that these obvious issues exist. What can I say? These people are crazy...

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!

tampe125
Akeeba Staff

Hello,

after reading your ticket, Nicholas took his time and wrote a workaround for Joomla bug.

Can you please install the latest dev release of FOF4 library (https://www.akeeba.com/download/developer-releases/fof4-dev.html ) and visit Admin Tools Control Panel?

It should magically fix all the issues caused by Joomla, then searching for updates and try to install them should work as expected.

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!

maurice.molenaar

Thanks Nicholas and Davide,

I have installed this development release and followed your steps.

Cleared updates cache, then searched for updates. It returned the Akeeba Pro updates as expected, along the update for FOF 4.x
revFEFC758E to 4.0.4.

I only updated the Pro software and Yes! It works like a charm!

Best regards,
Maurice

tampe125
Akeeba Staff

Thank you for the feedback!

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!