Support

Akeeba Ticket System

#34714 Error when uninstalling Akeeba Backup

Posted in ‘Akeeba Ticket System 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 Ticket System version
n/a

Latest post by weeblr on Friday, 05 March 2021 02:42 CST

weeblr

Hi

Earlier today, I checked updates and saw that Akeeba Backup Core 7.5.3 which I had installed temporarily had an update (to 8.x).

As I don't actually use it, I decided to uninstall it.

This resulted in this:

weeblr-2021-03-03-17.07.40.png

 

which appeared as if the uninstall was stopped because other extensions (ATS in my case) required shared libraries.

 

However this also resulted in all ATS pages on the frontend displaying "This app has stopped responding, contact administrator..." (I don't have an actual screenshot).

 

Best regards

 

Yannick

 

 

 

 

 

nicholas
Akeeba Staff
Manager

It looks like FEF is being uninstalled even though it should have been marked as a dependency for ATS. Installing ATS without uninstalling it before should work.

Otherwise you can install FEF again on your site, without uninstalling it. Since you're on an old version of ATS you need to install FEF 1. Use the older versions link in our downloads page to find it.

FOF showing it's not being uninstalled is a good thing. It shouldn't because ATS depends on 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!

weeblr

Hi

Installing ATS without uninstalling it before should work.

As a fix for the problem you mean? I could of course enver uninstall ATS in any case.

 

For now, I fixed it by installing the exact same AKeebaBackup that was there before. The ugrade from 3.5 to 4.0 that you published only yesterday is not something happening instantly, I expect stuff to break in the process so I can only do that on staging or a local copy before rolling out.

 

nicholas
Akeeba Staff
Manager

As a fix for the problem you mean?

Correct.

For now, I fixed it by installing the exact same AKeebaBackup that was there before. The ugrade from 3.5 to 4.0 that you published only yesterday is not something happening instantly, I expect stuff to break in the process so I can only do that on staging or a local copy before rolling out.

Very accurate. You definitely need to go through all your template overrides. Things have changed a lot.

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!

weeblr

Hi

 

Template overrides is not so much of a problem, I learned to use them as little as possible and currently only have one left. It's the CSS that requires much time and effort.

 

nicholas
Akeeba Staff
Manager

I have done very little changes to the frontend CSS. The only major change is the ticket display — the page we are in right now. The structure of the message and user panes has changed, the latter being before the former so we can use CSS Grid to make it responsive, a major problem with mobile display in previous versions.

Moreover, the elements displayed in the user pane have changed a bit, namely the username / flag and the Akeeba Subscriptions integration. 

Since the flag requires Akeeba Subscriptions to display and so does the Akeeba Subscriptions integration but you do not use Akeeba Subscriptions you shouldn't have any problems there.

Everything else is structurally identical. The Blade templates which render each part have changed but the output remains the same. I didn't feel like reinventing the wheel, just polish the pages that most people get to see (tickets display).

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!

weeblr

Hi

 

Thanks, I'll look into in the coming days, hopefully.

 

Any idea as to why this happened in the first place? that is why FEF or something, was uninstalled while it should not have been? I think I'll try to redo the uninstall on staging to see if it happens again after re-installing Akeeba Backup as I did to fix the issue initally.

 

 

nicholas
Akeeba Staff
Manager

I am not entirely sure why this would happen. When we install ATS we mark it as dependent on FEF. This is JSON data stored in the #__akeeba_common table. If for any reason the installation failed to complete, or the table was deleted for some reason then this dependency wouldn't be marked. FEF manifest script's uninstall() would not see a dependency and return true, letting the uninstallation go through.

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!

weeblr

Hi

Here is the content of #__akeeba_common at the moment, after re-installing akeeba backup:

weeblr-2021-03-04-10.04.35.png

 

nicholas
Akeeba Staff
Manager

See the record with key = file_fef. It only has com_akeeba in it. If you change that value to ["com_akeeba", "com_ats"] it will prevent the uninstallation of Akeeba Backup to uninstall 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!

weeblr

Hi

 

So this is a matter of ATS not registering itself properly at some point, during an update? Have you identified a possible cause (there never was a failed, partial update on that site).

Best regards

Yannick Gaultier

weeblr.com / @weeblr

 

nicholas
Akeeba Staff
Manager

I have never seen that before. The code used to register the dependency is the one we've been using in all of our software since 2015. I honestly don't know how you'd end up without the dependency recorded.

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!

weeblr

 

OK then, I'll just fix it then, we can close this now.

 

Yannick

 

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!