Support

Admin Tools

#39717 Problems after upgrading to Joomla 4.4.0

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.4.0
PHP version
n/a
Admin Tools version
7.4.3

Latest post by nicholas on Tuesday, 31 October 2023 03:18 CDT

LAMF

Hi,

I have updated 10+ sites to Joomla 4.4.0 and on all site it works just fine except from one.

I simply can't login after updating to J 4.4.0.

I have to go and rename the plugins/system/admintools/services/provider.php in order to regain access to backend again.

I ave tried several times but it doesn't seem to work.

I have a client on this site as well that needs to do updates to his weekly dinner menus and he has problemes every Sunday to login.

After I log in he seems to regain access to his backend again, I have given him SUper User credentials as that was the only option that 

seemed to work. But still every Sunday he calls me and can't login to backend.

What canI do in Admin Tools to get it working?

nicholas
Akeeba Staff
Manager

Nothing has changed in Joomla! 4.4.0 which could have that effect. Instead, go to Blocked Requests Log and check if there are blocked requests for that user. It is very likely that they trigger the protection either because they do not use the Administrator Secret URL Parameter or by entering their password wrong triggering Treat failed logins as a reason for blocking the request.

Beyond that, they might be triggering Monitor Super User accounts (disable, save, re-enable, save again to reset its internal list of Super User accounts) or Forbid frontend Super Administrator login (if you are using linked sessions in Global Configuration OR if something is stuck in Joomla's session —I have a site where this happened— you need to turn this off).

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!

LAMF

I have checked the Blocked requests Log and I found many attempts from him to login today which is no oddity as he has really tried many times.

As soon as I had logged in (without problems) from two different computers using both his and mine credentils, he could log in again.

So after that I made a Akeeba backup and then I installed the Joomla 4.4.0. After that I can't login as long as the provider.php is enabled = has its real name.

As soon as I rename it to whatever I can login again. This is still the status.

I have given him all instructions he need in order to login correct and still this happens. 

But right now I have the problem that Joomla 4.4.0 is locking me out as soon as I have Admin Tools provider.php enabled.

You second suggestion is somethin hI don't fully understand, sorry I don't understand what you mean.

nicholas
Akeeba Staff
Manager

and I found many attempts from him to login today which is no oddity as he has really tried many times.

You imply that the you are seeing a Reason of Login Failure. Ignoring this nonchalantly and claiming it's not a factor to this problem is wrong and tells me you have not read the documentation recently, or you didn't quite understand how Admin Tools work.

The reason of “Login Failure” means your client is entering the wrong username and/or password and you've configured Admin Tools to treat this failed login as a blocked request.

Because of this configuration a login failure counts as a blocked request, therefore it counts towards the IP Auto-ban count you have configured.

When your client fails to login as many times as the configured limit of blocked requests (“Block IP after this many blocked requests”) in the configured time period (“Time period”) his IP address is blocked for the configured amount of time (“Block duration”).

Moreover, if you've enabled the “Add persistent offenders to the IP Disallow List” feature and he got the same IP blocked more times that the configured amount (“Permanently disallow IP after this many automatic blocks”) his IP address would have been permanently blocked, which explains why he cannot access the site at all.

When an IP address is temporarily or permanently blocked you can always use the Unblock IP button in the Web Application Firewall page to unblock it. Disabling Admin Tools is not a valid solution. You also need to train the client not to enter the wrong username and password so many times, e.g. train them how to use their browser's password manager to store the correct username and password, and use said password manager to log into their site.

If you cannot train the client to enter the correct username and password consistently you can always go to Admin Tools, Web Application Firewall, Configure WAF, Hardening Options, and turn off “Treat failed logins as a reason for blocking the request” so that their continued failed attempts to log in do not count as blocked requests, therefore do not result in their IP address getting blocked. 

However, this would be the last resort if you ask me. Based on personal experience, you can train anyone to use a password manager, as long as you use terms that resonate with them. For instance, more people understand “your computer can remember how to get into your site, so you don't have to” far better than “we're going to use a password manager to auto-fill the login credentials”. Personification of technology is a valid teaching method for non-technical users.

You second suggestion is somethin hI don't fully understand, sorry I don't understand what you mean.

I just told you which Admin Tools, Web Application Firewall, Configure WAF options may be involved in your issue if you don't see a blocked request in the Blocked Requests Log. However, this is not the case, so that part does not apply to you.

If the Reason you saw in the Blocked Requests Log is not Login Failure but something else please tell me what the Reason is, and also what is the Target URL you see next to it so I can help you further.

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!

LAMF

Hi Nicolas,

Thank yopu for your reply.

I am NOT nonchalant I am just not even close to be an expert of security and therefore I need your support. You always use to be of superior help and fast support which is why I use your excellent services.

But I have not read the full documentation, sorry for that. I have only installed Admin Tools and I haven't done any extra configuration from setting the login url, I would never dare to do so as I know that is asking for problems. So what I was meaning to say is that I do not understand what your suggestion means, I don't have the knowledge to understand that. Sorry for this but I am not an expert like you guys are. 

I understand that his attempts to login has caused a block on him. I also think that he is not using a password manager like I always do and that can be a problem for sure. I keep asking him what he is doing that causes him not being able to login and he always say I have done the same procedure as always... sigh.

The thing I can think of is that when I added him as a user there were problems to add more users in the backend so I disenabled Admin Tools in order to add him as a user. As far as I understand this is not a way to go but I did so and I suppose that is what causing Admin Tools to block him. But how can I make a second user without disenabling Admin Tools? I want Admin Tools to protect and I understand that in order for it to fully protect it shouldn't allow backend user registration just like that so if I want to add a user and then engage Admin Tools to fully protect after how can I do so?

With this specific site there are also problems since I upgraded to Joomla 4.4.0, I can't simply login as long as Admin Tools is enabled. I always have to rename the .../services/provider.php to provider-blabla.php to disable it. And that is of course very bad. I don't know how to solve this and need help.

Sorry forgot to mention, I don't think this is so crucial but I upgraded to Joomla 5.0 as this works on other of my sites without hazzles and that admin Tools and Akeeba Backup supports that. But it didn't change the issues that the 4.4.0 upgrade caused with the login blocking.

LAMF

Hi again,

I tried to uninstall the Admin Tools package which worked fine. Then I reinstalled it and started to run the Quick set-up wizard.

I set up the Administrator secret URL parameter and the username and password. Tried to press Save but only got this after a couple of minutes of waiting:

504 Gateway Time-out

The server didn't respond in time.

nicholas
Akeeba Staff
Manager

Did you follow the troubleshooting documentation about the .htaccess file?

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!

LAMF

Yes I did, I didn't find any .htacces or .htpasswd in te administrator directory so I created two empty .htacces and .htpasswd and uploaded them to the administrator directory.

And then I tried again to run the Quick Setup Wizard but it still won't save the changes I do in the wizard. The only changes I do is to set up the Administrator secret URL parameter and Password-protect Administrator.

I have tried again to uninstall Admin Tools package and reinstall it but it seems to be impossible now.

nicholas
Akeeba Staff
Manager

That's not what I asked you. I asked you if you checked Locked out of my site after applying a .htaccess using Admin Tools' .htaccess Maker. 

Now you did something else which I am not sure exactly what it is and you maybe have a different problem for which you provide no further information or error message.

When you ask us to do support we have to ask a few troubleshooting questions to establish the ground truth and narrow down the problem and help you. This works by finding out what is the effect of each troubleshooting step we propose, so we can eliminate possibilities.

When you take random actions we have not asked you to carry out, and which drastically change the ground truth of the site, between replies it makes it impossible for us to do that. Essentially, you are asking us to start from scratch every time you send a reply.

Worse than that, you don't provide exact problem descriptions and error messages which makes even that impossible. If we ask for that information you will again do something random before replying, therefore the information we get is unusable by the time you send it to us, and off we start from scratch again.

We can't keep doing that. It's not a good use of your time or ours. It's unlikely we can help you with anything when we are not allowed to do effective support and are asked to guess the problem, with just the one chance to be right. That's impossible for any professional asked to operate in an information-poor environment.

I am closing this ticket now. If you have a concrete problem you want help with, and understand you need to stop doing random changes to your site while we're helping you, you may open a new ticket.

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!