Support

Akeeba Backup for Joomla!

#35784 Questions about the migration to Joomla 4

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 nicholas on Thursday, 16 September 2021 01:39 CDT

WoodyF4u

Dear support team,

I am figuring out how to migrate my website(s) from Joola 3 to Joomla 4.
The instructions for this are clear.
But when checking whether all extensions and the template are suitable for the migration, I come across a few extensions from Akeeba.
Can you indicate if there is another update for this that needs to be run in Joomla 3 first?
Or can I migrate to Joomla 4 and then install version 9 for Akeeba Backup and version 7 for Admintools over it?

On the list in Joomla 3 I see this list with Akeeba extensions that cannot be migrated.
What do I have to do with that?

Akeeba Backup

System - Akeeba GeoIP provider plugi
AkeebaStrapper
Akeeba Backup Notification Module
JMonitoring - Akeeba Backup
Akeeba Backup package

Akeeba AdminTools

System - Admin Tools Update Email
Admin Tools package

 And do the next ones belong to Akeeba are they from the Joomla core?

F0F (NEW) DO NOT REMOVE
file_fof40
FOF30
file_fof30

Best regards,
Wouter (WoodyF4u)

nicholas
Akeeba Staff
Manager

Please read https://www.akeeba.com/news/1747-joomla-4-is-around-the-corner.html to understand which versions of our software are supported where AND for the pre-update instructions. This article answers most of your questions.

The remaining question is about the Joomla pre-update check which is BROKEN AND MISLEADING. I have reported this three times to the Joomla project before the release of Joomla 4.0. Since none of them actually builds sites or extensions for a living, they have never seen a real world site with a long update history in their life and have never, ever talked to real world users they just don't understand the problem at all. Feel free to file an issue on Joomla's GitHub repository to tell them about your experience. If they don't believe me they can at least be buried under a ton of reports from real world users corroborating what I told them would happen with their real world, lived experience. Also read https://www.akeeba.com/news/1748-joomla-3-10-and-4-0-common-issues.html, especially the bottom half, to understand what is going on and why the information there is misleading. This is exactly what I had told the Joomla project would happen. I'm tired of the production leadership not listening to me when time and again I have proven that I know real world sites better than them — no, I am neither a magician nor a savant, it's just that because of the nature of my work I am logging into hundreds of real world sites every year and talk to thousands of real world Joomla users about deep technical stuff concerning their sites.

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!

WoodyF4u

Hi Nicholas,

Thanks for the clear explanation.
Yesterday Joomla 3.10.2 came out with an improvement for the Update Checker.
So I was wondering if that would solve the problem with the notifications about the Akeeba extensions.
But even after this update, the extensions are still reported as not updateable to Joomla 4.

That's why I made a Pullrequest on GitHub today.

https://github.com/joomla/joomla-cms/pull/35569

 

Can I already download and install the Magic Eraser in Joomla 3.10.x and have everything old removed already?
Or should I only do that after I have migrated to Joomla 4?

Best regards,
Wouter (WoodyF4u)

nicholas
Akeeba Staff
Manager

The problems with the update checker stem from the fact that the people who implemented it only work in sterile, brand new sites. They have no idea about how messy real world sites are.

As I said in the article I already linked you to, in THEORY it should work because it checks the update information of the installed packages. In THEORY every sub–extension of the package has a record in the #__extensions table which includes the extension ID of the package it belongs to.

And then we have the reality.

If someone used install from directory or discover to install each sub–extension separately this link does not exist.

If these sub–extensions were installed before there was a package extension for Joomla this link does not exist. This can easily happen with our extensions if you have a site that you have been continuously maintaining since before 2014 when we released the first versions of our software as Joomla package extensions. THIS IS WHAT MOST OF OUR CLIENTS WILL EXPERIENCE AND WHAT I REPEATEDLY REPORTED TO JOOMLA — but why listen to someone who has real world experience when their clean room tests come up fine?

In both cases, installing the package extension DOES NOT fix the issue. Joomla updates the sub–extensions WITHOUT updating the package assignment.

The update information is stored in Joomla's #__update_extensions and #__update_sites tables. However, when a developer provides a new update site Joomla doesn't remove the old one. The extension has two update sites and it's anyone's guess which one will be used since they both have the same priority. This can only be fixed by rebuilding update sites but there is no indication that this is the root cause.

The update file may not be able to be downloaded for a myriad of reasons such as the host having compiled PHP against an old OpenSSL version which does not understand modern SSL certificates, DNS resolution issues on the side of the host, a firewall on the host's side etc.

Even when everything goes well it's possible that Joomla will report an extension as incompatible / needs update if a new version exists for the target CMS version of the update. So, if a developer provides version X which is compatible with Joomla 3 AND 4 and another, newer version Y which is only compatible with Joomla 4 it's possible that version X will appear as incompatible even though it's explicitly stated as compatible.

If nothing of that happens Joomla will STILL tell you that our extensions have potential update issues just because they include plugins. Again, something that ALL of our clients will experience and I reported to Joomla repeatedly.

This feature cannot work until Joomla fixes a number of issues:

  • Installing a package MUST fix the assignment of included sub–extensions, even if they were already installed on the site.
  • Installing an extension which has a different set of update sites MUST replace existing update sites. This is far harder than it sounds because of download keys (the extra_query field of the #__update_sites table).
  • When Joomla cannot download the update information it needs to provide information that a user can understand instead of “Failed to download update information for Extension X (such and such URL)” which means absolutely sod all to the average Joomla user.
  • Linked to the above, the reason the update information cannot be downloaded should be explicitly stated instead of implying that the developer is at fault.
  • Joomla MUST NOT report all extensions with plugins as potential update issues. I understand that always–loading plugins can cause a problem. Add a generic message at the top of the page, for Christ's sake! Slandering those of us who take extreme care to make sure that our always loading plugins don't cause problems more frequently than once in a decade (that's once in over 400 version updates across all extensions!) is borderline illegal.

Until these items are fixed the pre–update check is counterproductive. It slanders developers, the same developers who contribute to Joomla itself. If it puts us out of business Joomla no longer gets developed, no longer has usable software anyway and nobody uses it. It's a suicidal route. A few users will be scared into NOT updating their sites. In turn, this means they are running vulnerable sites which will get hacked and they will rightfully blame Joomla for that, therefore they are never to use Joomla again. For the majority of users it will have the effect of tiring them out and teaching them to ignore the useless pre–update checks. In the unlikely event something breaks they will be treated as idiots which drives them away from Joomla.

This feature needs to be rolled back. It is so obvious to anyone who has managed real world sites.

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!

WoodyF4u

OK clear again.
I am a user and not a developer so I am not able to contribute in this issue.

By mistake I added a PR to GitHub.
It should be an Issue. So here is the issue: https://github.com/joomla/joomla-cms/issues/35572

 

In the attachment you can see what I see now.

Best regards,
Wouter (WoodyF4u)

nicholas
Akeeba Staff
Manager

I am closing this ticket. I am replying to the Joomla GitHub 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!

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!