Support

Admin Tools

#38944 Joomla 4 upgrade

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
4.3.0
PHP version
8.0.28
Admin Tools version
n/a

Latest post by nicholas on Thursday, 04 May 2023 01:12 CDT

watchtower

We have recently attempted to upgrade to Joomla 4 from 3 and have just tried today to upgrade akeeba to your latest version for joomla 4 however we have gotten error when uploading that it did not create the menu items. So it shows it installed but we cannot access akeeba via menu at all as no menu items created. Please advise how to fix this.

 

nicholas
Akeeba Staff
Manager

First, can you please confirm that you have followed the recommendations in the following documentation pages?

https://www.akeeba.com/documentation/akeeba-backup-joomla/migrate-j3-to-j4.html

https://www.akeeba.com/documentation/akeeba-backup-joomla/migrate-j3-to-j4-on-j4.html

https://www.akeeba.com/documentation/akeeba-backup-joomla/migrate-j3-to-j4-info.html

If this did not help, go to Menus, All Menu Items. From the dropdown below the toolbar, to the left of Search, select Administrator. Click on on the Rebuild button on the toolbar. Installing the extension twice in a row should make Joomla create the missing menu items afresh.

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!

watchtower

Akeeba was up to date on Joomla 3.10 and working . We did not however see these documents. We updated to Joomla 4 and I tried just doing uninstalling the components and then just reinstalling. Should I actually instead go in and remove the folders as well and then try reinstalling? I did also try the rebuild menu but that did not work. I should point out I am not getting any errors I just cant access the menu for the program but it shows it installed. Thanks

nicholas
Akeeba Staff
Manager

Akeeba Backup for Joomla 3 is version 8.

Akeeba Backup for Joomla 4 is version 9.

Do not try to install Akeeba Backup version 8 on Joomla 4.

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!

nicholas
Akeeba Staff
Manager

I forgot to answer one question you asked:

Should I actually instead go in and remove the folders as well and then try reinstalling? 

No. This will change nothing for menus.

Conceptually, menu items are created / refreshed when Joomla starts installing the component. It reads the menu structure from the XML manifest which is included with the component package, removes the old menu items for the component which do not exist in the manifest, adds the new menu items from the manifest, and updates the existing ones from the manifest. This is part of the core Joomla code.

The only reason Joomla would not be able to update the menu items is if the menu items table, which is a tree structure, was broken in a way Joomla's Joomla\CMS\Table\Nested code cannot work around. However, using the Rebuild button fixes that problem.

This leaves me with two possible problems.

One is that you try to install the wrong version of Akeeba Backup, that's why I told you to install version 9.

The other possible problem is that your database structure is completely broken and no menu items can be created. Try installing another component which creates nested menu items (not just a single item under Components). If you get a problem creating menus, yes, your database table is broken.

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!