Support

Akeeba Backup for Joomla!

#37030 Update to J4 and deinsall old files

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
4.1.12
PHP version
7.4
Akeeba Backup version
latest

Latest post by nicholas on Thursday, 05 May 2022 09:21 CDT

FlorianWachter

HEY everyone

this is a general question -and may be you already have a tutorial or manual for it - i could not find. 

Story: when migrating to J4 - normally Backup 8.X hast to be replaced - also Admin Tools - 
I had it now - that after installing new Akeeba Backup and Admin tools my page collapsed. Of course i did sth. wrong - but no idea what. So my idea was to ask the professionals .) 

I now updated Akeeba Backup to 9.-X and in Akeeba BAckup there was a button that said: migrate settings. I did it. Then a button came: see what to uninstall and i uninstalled what was shown me there. 
BUT - when i did that: The first "failure"came up saying: 


Warnung
You have 1 extension(s) depending on this version of Akeeba FEF. The package cannot be uninstalled unless these extensions are uninstalled first.

You have 5 extension(s) depending on this version of FOF. The package cannot be uninstalled unless these extensions are uninstalled first.

 

So... shell i search for FOFO or FEF and de install those? 


After that i stopped proceeding with akeeba Admin Tools - i am afraid i will "kill" the system again. :) 

It would be perfect to have a kind of a roadmap to follow for the process. You have one?

 

nicholas
Akeeba Staff
Manager

The correct order of operations is the following:

  • On the Joomla 3 site install all updates. It is VERY important to have the latest versions of Akeeba Backup 8 and Admin Tools 6 before upgrading to Joomla 4.
  • On the Joomla 3 site install Magic Eraser. This will result in an error and nothing will be installed. This is expected. The purpose of this fake extension is to remove all now obsolete extensions we have published from 2010 to 2021 inclusive.
  • Upgrade your site to Joomla 4.
  • Install Akeeba Backup 9.
  • Go to Components, Akeeba Backup for Joomla (that's Akeeba Backup 9), follow the instructions on your screen to migrate the settings.
  • Go to System, Update, Extensions and click on Find Updates.
  • Upgrade all listed extensions. This also upgrades Admin Tools from 6 to 7.
  • Uninstall Akeeba Backup 8.
  • Uninstall FEF.
  • Uninstall FOF.

Also please read https://www.akeeba.com/documentation/akeeba-backup-joomla/migrating-from-old-akeeba-backup.html

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!

FlorianWachter

Hi Nicholas 

thanks for that fast reply. 

unfortunately i have everything already running on J4 without that steps. - Will i have to do everything New? 
Or is it enough to uninstall old Admin Tools? 
What´s your recommendation?

nicholas
Akeeba Staff
Manager

You should be able to install the new versions of Akeeba Backup and Admin Tools as you are right now.

Admin Tools is upgraded in place, there is nothing you should do on top of it.

Do check if Akeeba Backup 8 is still installed. If it's installed, uninstall it.

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!

FlorianWachter

Hi Nicholas -

sorry - i´ve been out of office during weekend. 
Actually AdminTools 6.0.4 is installed 
The system tells me (in the admin tools backup) i should install a new version 
when i go to Update - check the new one is not shown. 
I now Can install manually a newer Admin tools - But which one? a 6.X version? or the 7.X for Joomla 4!? 

Admin tools seems to run perfectly. 
FOF anf FEF - just don´t touch it?

nicholas
Akeeba Staff
Manager

You need to install Admin Tools 7, the native Joomla 4 version.

AFTER upgrading Admin Tools make sure that Akeeba Backup 8 is no longer installed.

THEN you can remove FOF and FEF.

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!

FlorianWachter

Ah - okay. I installed admin tools 7.X now. 
I get the hint: 

Admin Tools detected that your server configuration file (ie .htaccess, nginx.conf or web.config) has been modified. We strongly suggest you to put any manual edit inside the Custom rules fields, so you won't lose them if you ever regenerate the file using Admin Tools

    I did not change anything in -htaccess - so this is  a standard message? Or will i have to Regenerate? 
Akeeba Backup 8 is unsinstalled (no longer installed under sites component menu)


nicholas
Akeeba Staff
Manager

Admin Tools generates the text for the .htaccess file as it would be generated if you were to click Save & Create .htaccess in the .htaccess Maker. It then compares it with your current .htaccess file. If the two files differ it displays this message.

If you do not want to use the .htaccess Maker you can ignore the message.

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!

FlorianWachter

Hi Niholas - 

thanks for your reply. 
As it was the last time... when i click "regenerate" -htaccess i drop into a "service unavailable" when i try to open the frontend and a "

Not Found


After a Re- Quick Setup Wizzard - i could reach the backend as it was. But my Frontend ist still a 503 - unavailable... 
When opening the editor - i can see the website. 


nicholas
Akeeba Staff
Manager

Did you try the documentation instructions for finding which set of .htaccess Maker settings works on your site?

Have you configured the .htaccess Maker with the domain name and path of your site?

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!

FlorianWachter

Hello Nicholas: 

"Did you try the documentation instructions for finding which set of .htaccess Maker settings works on your site" - Sorry... don´t understand... I get the "will the -htaccess maker work with my server - panel ... and it says most likely YES
The box below says "remove -htaccess - and try to disable some features. - so.. to be clear... we talk about .htacces of root folder? just delete it - activate any features (may be you have an idea which ones) - and click: Save and create htaccess??

In the htacdess maker is the temp path written... yes. (i will have to change, when we go "live"? )

that is the setup of htaccess maker. [edited by nicholas: removed link; the .htaccess Maker configuration contains sensitive information, do not share it in public links please]

nicholas
Akeeba Staff
Manager

All right. So, you have NOT read the documentation at all. Start by reading https://www.akeeba.com/documentation/admin-tools-joomla/htaccess-maker.html to understand what it does.

Then, the passage I was referring to in my question is this:

Please bear in mind that depending on your web server settings, some of these options may be incompatible with your site. In this case you will get a blank page or an Internal Server Error 500 error page when trying to access any part of your site. If this happens, you have to remove the .htaccess file from your site's root directory using an FTP application or the File Manager feature of your hosting control panel. Your old .htaccess file is saved as .htaccess.admintools. You can rename that file back to .htaccess to revert to the last known good state. If you are unsure how this works, please consult your host before trying to create a new .htaccess file using this tool.

[...]

If this is the first time you are using the .htaccess Maker we recommend that you begin by setting all options to No and then enable them one by one, creating a new .htaccess file after you have enabled each one of them. If you bump into a blank or error page you will know that the last option you tried is incompatible with your host. In that case, remove the .htaccess file, set the option to No and continue with the next one. Unfortunately, there is no other way than trial and error to deduce which options may be incompatible with your server.

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!

FlorianWachter

Hi NIcholas - okay - that helps me ... Thank you man! I will give it a try, as recommended and get back to you if i stuck. 
Thanks man

nicholas
Akeeba Staff
Manager

You're welcome!

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!

FlorianWachter

Hi Nicholas, 

i am so sorry, but i need your advice once more. 

The website is running, as i want it to. But only in the sub domain where i created it to configure it. 
I now wanted to use the real domain for showing the site. 

When entering subdomain j4.website.de everything is fine - when just opening website.de i get an error 400 
 
I  would think this is caused through 

System configuration Host name for HTTPS requests (without https://) *   there is the subdomain thing listed with the temp account. Can i add there more domains? just adding a commata behind the first host, or can i leave it blank, or how can i get it managed, that different domains will work?         Detail: Actually i can open it with temp url: 

j4.website.de.randomstuff.host.com

Directory is j4.website.de

other-website.de as "real" domain points into the folder j4.website.de

if we get that running, also another domain will point into that folder. 


FlorianWachter

forget it - i am an idiot.... sorry... had to add it to Web Application Firewall... my fault. 

nicholas
Akeeba Staff
Manager

No worries :)

For anyone who stumbles across this public ticket, we are talking about the Allowed Domains option and the need to add all domain names the site can be accessed from into it.

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!

FlorianWachter

yes... sorry.... you are right. i should have said this. 

btw  - as this is a public ticket - can you please anonymize the urls?

 

Have a great weekend and thanks so much for your awesome work and support, nicholas. 

tanke care

nicholas
Akeeba Staff
Manager

Sure thing! I made all the URLs generic without having anything to do with your real site ;)

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!