Support

Site Restoration

#38373 Joomla 4 restore missing administrator templates?

Posted in ‘Site restoration’
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

PHP version
8.1
CMS Type
Joomla!
CMS Version
4.2.6
Backup Tool Version
9.4.8
Kickstart version
7.1.2

Latest post by cpedwards4 on Saturday, 21 January 2023 17:21 CST

cpedwards4

I successfully backup/restored my 3.10 site, successfully did the Joomla 4.x upgrade, but when I try to do the backup/restore of the Joomla v4.x site back, the Joomla administrator templates appear to not be restored properly because the administration interface is messed up.

Please advise,

-Chip

nicholas
Akeeba Staff
Manager

As per https://www.akeeba.com/documentation/akeeba-backup-joomla/restoring-backups.html#general-guidelines

Do not try to overwrite one Joomla! version family with a different one. Overwriting a major version with another (e.g. restoring a backup taken on Joomla! 3.7 on top of a site running Joomla! 2.5 or vice versa) or between different minor versions (e.g. restoring a backup taken on Joomla! 3.7 on top of a site running Joomla! 3.6 or vice versa) will NOT work. Joomla! moves files around between minor and major versions. Since the backup does not delete files not present in the backup archive this will end up with Joomla! being "confused" and malfunctioning. In these cases you should delete the existing files and folders (except, perhaps, user generated content) before restoring the backup. You can safely restore a sub-minor (path-level) version on top of another. For example, you can safely restore a Joomla! 3.7.5 site on top of a Joomla! 3.7.3 site or vice versa.

So, what you need to do is to remove the Joomla 4 files (at least the folders api, cache, cli, components, includes, language, layouts, libraries, modules, plugins, and templates) before restoring the Joomla 3 backup.

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!

cpedwards4

Hi Nicholas,  Thank you for the quick response.  I needed to provide more information.  The restore is being done to a clean site and new database - so there are no previous file/table versions at the restore target site.  And the failure is with the Joomla v4 backup/restore process.

 

Thanks again,

-Chip

cpedwards4

A couple more pieces of information may be helpful.  I did the backup of the Joomla v4 site from https://www.cedwards.net/testCMV and restored it to https://www.createmyvoice.com/testJ4.  You can see the restore issues at: https://www.createmyvoice.com/testJ4/administrator

Thanks for your help,

-Chip

 

nicholas
Akeeba Staff
Manager

The URL you sent me loads just fine for me.

Is it possible that you need to clear your browser's cache?

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!

cpedwards4

I've cleared my cache and tested on multiple machines, and when I bring up the source (backup location) URL:

https://cedwards.net/testCMV/administrator/index.php

it looks much different than when I load the target (restore location) URL:

https://createmyvoice.com/testJ4/administrator/index.php

Are they the same for you?

Thanks again for your help.

-Chip

 

cpedwards4

Hi Nicholas,  I'm closing this ticket because there is something environmental causing the issue.  I haven't solved the issue yet, but it doesn't appear to be related to the backup/restore process.  I'll close this ticket shortly.  Thanks again for your help!

-Chip

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!