503 error on administrator login Topic is solved

General questions relating to Joomla! 4.x.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting.
Forum Post Assistant - If you are serious about wanting help, you should use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10
harriebo
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Sun Dec 26, 2021 3:01 pm

503 error on administrator login

Post by harriebo » Sun Dec 26, 2021 3:17 pm

Hello,
I have a new Joomla install and it only ran for a day. The second day I tried to login it always gives a 503 error. The site works, also there I can login as a user, but I can't login in the administrator part.
After login it offers me to download index.php and it contains:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>503 Service Unavailable</title>
</head><body>
<h1>Service Unavailable</h1>
<p>The server is temporarily unable to service your
request due to maintenance downtime or capacity
problems. Please try again later.</p>
</body></html>

I enabled maximum logging and log everything and all I got is:

#Date: 2021-12-26 14:48:01 UTC
#Software: Joomla! 4.0.5 Stable [ Furaha ] 11-December-2021 20:52 GMT

#Fields: datetime priority clientip category message
2021-12-26T14:48:01+00:00 CRITICAL 95.168.118.30 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Page not found". Stack trace: #0 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/libraries/src/Application/CMSApplication.php(1066): Joomla\CMS\Router\Router->parse()
#1 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/libraries/src/Application/SiteApplication.php(822): Joomla\CMS\Application\CMSApplication->route()
#2 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/libraries/src/Application/SiteApplication.php(230): Joomla\CMS\Application\SiteApplication->route()
#3 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/libraries/src/Application/CMSApplication.php(278): Joomla\CMS\Application\SiteApplication->doExecute()
#4 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/includes/app.php(63): Joomla\CMS\Application\CMSApplication->execute()
#5 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/index.php(32): require_once('/mnt/web509/c1/...')
#6 {main}
2021-12-26T14:48:02+00:00 CRITICAL 95.168.118.30 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Page not found". Stack trace: #0 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/libraries/src/Application/CMSApplication.php(1066): Joomla\CMS\Router\Router->parse()
#1 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/libraries/src/Application/SiteApplication.php(822): Joomla\CMS\Application\CMSApplication->route()
#2 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/libraries/src/Application/SiteApplication.php(230): Joomla\CMS\Application\SiteApplication->route()
#3 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/libraries/src/Application/CMSApplication.php(278): Joomla\CMS\Application\SiteApplication->doExecute()
#4 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/includes/app.php(63): Joomla\CMS\Application\CMSApplication->execute()
#5 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/index.php(32): require_once('/mnt/web509/c1/...')
#6 {main}
2021-12-26T14:48:04+00:00 WARNING 95.168.118.30 assets No asset found for com_modules.module.90, falling back to com_modules
2021-12-26T14:48:04+00:00 WARNING 95.168.118.30 assets No asset found for com_modules.module.90, falling back to com_modules
2021-12-26T14:48:21+00:00 CRITICAL 95.168.118.30 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Page not found". Stack trace: #0 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/libraries/src/Application/CMSApplication.php(1066): Joomla\CMS\Router\Router->parse()
#1 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/libraries/src/Application/SiteApplication.php(822): Joomla\CMS\Application\CMSApplication->route()
#2 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/libraries/src/Application/SiteApplication.php(230): Joomla\CMS\Application\SiteApplication->route()
#3 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/libraries/src/Application/CMSApplication.php(278): Joomla\CMS\Application\SiteApplication->doExecute()
#4 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/includes/app.php(63): Joomla\CMS\Application\CMSApplication->execute()
#5 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/index.php(32): require_once('/mnt/web509/c1/...')
#6 {main}
2021-12-26T14:51:21+00:00 WARNING 95.168.118.30 assets No asset found for com_modules.module.90, falling back to com_modules
2021-12-26T14:51:21+00:00 WARNING 95.168.118.30 assets No asset found for com_modules.module.90, falling back to com_modules
2021-12-26T14:52:23+00:00 CRITICAL 95.168.118.30 error Uncaught Throwable of type Joomla\CMS\Router\Exception\RouteNotFoundException thrown with message "Page not found". Stack trace: #0 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/libraries/src/Application/CMSApplication.php(1066): Joomla\CMS\Router\Router->parse()
#1 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/libraries/src/Application/SiteApplication.php(822): Joomla\CMS\Application\CMSApplication->route()
#2 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/libraries/src/Application/SiteApplication.php(230): Joomla\CMS\Application\SiteApplication->route()
#3 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/libraries/src/Application/CMSApplication.php(278): Joomla\CMS\Application\SiteApplication->doExecute()
#4 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/includes/app.php(63): Joomla\CMS\Application\CMSApplication->execute()
#5 /mnt/web509/c1/53/53749953/htdocs/STRATO-apps/joomla_01/app/index.php(32): require_once('/mnt/web509/c1/...')
#6 {main}


I run Joomla! - 4.0.5 on a preinstalled webhosting package.
What can cause this sudden failure and to resolve it?
I also can not find any errors in the php logs.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 41279
Joined: Sat Apr 05, 2008 9:58 pm

Re: 503 error on administrator login

Post by Webdongle » Sun Dec 26, 2021 7:42 pm

1. Ask the authors of the non official install what changes they made to the install. (if it's gddy then you will have trouble getting a fix).
2. Did you install 4.0.5 or a lower version then update with the Joomla update package?
3. https://forumpostassistant.github.io/docs/ please
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

harriebo
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Sun Dec 26, 2021 3:01 pm

Re: 503 error on administrator login

Post by harriebo » Sun Jan 09, 2022 4:12 pm

It's just default official install, there is nothing custom about it.
Also everything worked perfectly fine for the first day, and how should I install an update when I can not login in to the administrator console?
I really would like to know how to debug this issue in Joomla and get control back over my site.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 41279
Joined: Sat Apr 05, 2008 9:58 pm

Re: 503 error on administrator login

Post by Webdongle » Sun Jan 09, 2022 4:47 pm

harriebo wrote:
Sun Jan 09, 2022 4:12 pm
It's just default official install, there is nothing custom about it....
But you said
harriebo wrote:
Sun Dec 26, 2021 3:17 pm
...

I run Joomla! - 4.0.5 on a preinstalled webhosting package.
...
Do you mean the Joomla that's on https://launch.joomla.org/ ?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12474
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: 503 error on administrator login

Post by brian » Sun Jan 09, 2022 7:28 pm

[ redacted ]

@harriebo The 503 message you are seeing is from your web host and not from Joomla. Please contact your host and they will be able to help you. It may be something as simple as "out of disk space" or "database space"
Last edited by toivo on Sun Jan 09, 2022 8:31 pm, edited 1 time in total.
Reason: mod note: unnecessary commentary removed
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

harriebo
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Sun Dec 26, 2021 3:01 pm

Re: 503 error on administrator login

Post by harriebo » Wed Jan 12, 2022 11:01 pm

yes, I can choose to install different default packages on my hosting, joomla, wordpress, and so on, but they just generate a default install for those packages, there is nothing custom about it. Also I have more then 20GB free on my hosting space and space for another 3 databases. Also the joomla website shows, and the admin interface to login shows, its only when I hit the login button for admin that joomla returns the 503 on the /administrator/index.php page. Also signing in on the user part of the site gives no issue at all and I can even change and add settings, so the database is working fine also.

harriebo
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Sun Dec 26, 2021 3:01 pm

Re: 503 error on administrator login

Post by harriebo » Wed Jan 12, 2022 11:03 pm

Isn't there a way to get more info back or get logs? The php logs show nothing interesting and I cant find nothing in the database. I could access the server by ssh but there is just nothing telling me what is wrong. It really seems like one of the modules or something has updated and causing errors.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 41279
Joined: Sat Apr 05, 2008 9:58 pm

Re: 503 error on administrator login

Post by Webdongle » Wed Jan 12, 2022 11:11 pm

What were the last things you did when you were logged in?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

harriebo
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Sun Dec 26, 2021 3:01 pm

Re: 503 error on administrator login

Post by harriebo » Thu Jan 13, 2022 3:29 pm

Update the metadata headers with pictures and descriptions for facebook and twitter. This is done with the TAGZ plugin.

harriebo
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Sun Dec 26, 2021 3:01 pm

Re: 503 error on administrator login

Post by harriebo » Thu Jan 13, 2022 3:37 pm

If it helps, I am familiar with all kinds of programming languages, databases and complex IT environments. I have full access to the database and you can ask difficult questions and so on. I am just completely stuck on how to debug Joomla when it gets stuck in a state like this. I was thinking maybe it helps to disable all the plug-ins from the database some how? But I could not really find how to do that. As long as I can get back into the admin interface.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 41279
Joined: Sat Apr 05, 2008 9:58 pm

Re: 503 error on administrator login

Post by Webdongle » Thu Jan 13, 2022 4:53 pm

Joomla backend System >>> Manage Extensions ... sort ID descending ... 3rd party extensions are then first. Depending on how many 3rd party extensions you have you can select all and disable or edit number shown per page and select all and disable.
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

User avatar
AMurray
Joomla! Exemplar
Joomla! Exemplar
Posts: 7656
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: 503 error on administrator login

Post by AMurray » Thu Jan 13, 2022 10:05 pm

yes, I can choose to install different default packages on my hosting, joomla, wordpress, and so on, but they just generate a default install for those packages, there is nothing custom about it.
I run Joomla! - 4.0.5 on a preinstalled webhosting package.
What can cause this sudden failure and to resolve it?
I also can not find any errors in the php logs.
Many members of this forum would likely tell you that installing Joomla by any method other than its own installation routine presents potential problems.

Can you try installing Joomla a second time, separate sub-folder and clean database and install it by the method as documented here: https://docs.joomla.org/J4.x:Installing_Joomla ?

If it still fails, this could point to wider problems with your hosting service.

Can you post the FPA results as earlier requested by @webdongle? https://forumpostassistant.github.io/docs/
Regards - A Murray

harriebo
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Sun Dec 26, 2021 3:01 pm

Re: 503 error on administrator login

Post by harriebo » Fri Jan 14, 2022 9:10 am

But then ill loose the whole site and all data I worked on.... if this is the best support option ill get, delete everything, turn it off and on again, im going back to wordpress. I want to extend this in the end to a eco campsite management platform... and then when this [censored] happens I need to delete all? I dont think Joomla is very good platform if it can be debuged or solve issues like these.

gws
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4633
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: 503 error on administrator login

Post by gws » Fri Jan 14, 2022 9:54 am

Your problem is using softaculous or similar to install joomla,there are hundreds of reports of these installs failing,they are a pain... In your cpanel on the server make a DB backup so you wont loose your data. Delete everything and install joomla properly,then it will work properly. Don't blame joomla. When the site is running properly extract the data from the db backup and start installing it.

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12474
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: 503 error on administrator login

Post by brian » Fri Jan 14, 2022 10:28 am

Sorry but I dont believe that using softaculous has anything to do with the issue here. If you wish to give me access to your site I will be happy to check it out for you.

It is completely wrong for anyone on this forum to blame any installation on not using the zip downloaded from here. It is just an excuse to blame the user for the problem - we must never do this.
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12474
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: 503 error on administrator login

Post by brian » Fri Jan 14, 2022 10:33 am

For example at least one of the errors in the initial report stack trace has already been identified and fixed on github for the next release. Just because you have not seen an issue yourself there is no need to blame the installer
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12474
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: 503 error on administrator login

Post by brian » Fri Jan 14, 2022 10:48 am

And if there are any issues with softaculous they are very responsive to addressing them so as with every bug we should always report them and not just say dont use xxxxxx
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 41279
Joined: Sat Apr 05, 2008 9:58 pm

Re: 503 error on administrator login

Post by Webdongle » Fri Jan 14, 2022 11:18 am

If you can't access admin you can disable 3rd party extensions just change the relevant field from 1 to 0 (zero). Last installed has highest number ID
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

harriebo
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Sun Dec 26, 2021 3:01 pm

Re: 503 error on administrator login

Post by harriebo » Sun Jan 16, 2022 10:38 am

Hello,
thank you for the more extensive reply / discussion. I am away for the weekend, I can try both options. But gws, please explain my how do I make a backup from the cpanel when the administrator login is broken? I can make a db backup through PhpMyAdmin, and restore that after install, but i am not sure that will make any difference and is what you mean. Also I do not believe they provide custom installers, to be clear, this is my hosting providers Joomla install: https://www.strato.nl/faq/hosting/hoe-i ... ij-strato/ and its used across multiple country's for many customers.
@Brian, I can give you access sins the site does not contain any private content jet. But I think you need a database account sins the admin login is broken. And this seems not possible, I think I can only access the phpmyadmin interface using my hosting account which contains all my private and billing information and other hostings. So I can try things, and i will update about disabling the plugins, but giving database access seems a bit of a problem. I can give you my admin joomla account doh if you think you can do something with that.

gws
Joomla! Virtuoso
Joomla! Virtuoso
Posts: 4633
Joined: Tue Aug 23, 2005 1:56 pm
Location: South coast, UK
Contact:

Re: 503 error on administrator login

Post by gws » Sun Jan 16, 2022 11:25 am

You back up your DB in the cpanel of your host,not joomla. If @Brian has offered to help you I will leave it to him as he appears to have different opinions about auto installers than I have.Good luck.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 41279
Joined: Sat Apr 05, 2008 9:58 pm

Re: 503 error on administrator login

Post by Webdongle » Sun Jan 16, 2022 2:54 pm

gws wrote:
Sun Jan 16, 2022 11:25 am
... If @Brian has offered to help you I will leave it to him as he appears to have different opinions about auto installers than I have.Good luck.
Yes good luck
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".

harriebo
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Sun Dec 26, 2021 3:01 pm

Re: 503 error on administrator login

Post by harriebo » Mon Jan 17, 2022 10:50 am

So I tried removing the whole installation, but as soon as I restore the database the login error on the admin console returns... also when I disable all extensions the login error stays. So there seems to be something wrong with Joomla it self in the data set.

harriebo
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Sun Dec 26, 2021 3:01 pm

Re: 503 error on administrator login

Post by harriebo » Mon Jan 17, 2022 10:53 am

The dataset is still really small, only 65k for the back up which I could send.

User avatar
brian
Joomla! Master
Joomla! Master
Posts: 12474
Joined: Fri Aug 12, 2005 7:19 am
Location: Leeds, UK
Contact:

Re: 503 error on administrator login

Post by brian » Mon Jan 17, 2022 11:12 am

Without the files it will be impossible to debug
"Exploited yesterday... Hacked tomorrow"
Blog http://brian.teeman.net/
Joomla Hidden Secrets http://hiddenjoomlasecrets.com/

harriebo
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Sun Dec 26, 2021 3:01 pm

Re: 503 error on administrator login

Post by harriebo » Mon Jan 17, 2022 11:23 am

It already breaks against a clean joomla 4.0.5 install. Do I need to package mine from the webhost? And how shall I send the files?

harriebo
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Sun Dec 26, 2021 3:01 pm

Re: 503 error on administrator login

Post by harriebo » Mon Jan 17, 2022 12:02 pm

So I wiped the whole env after making backups, and reinstalled everything and now it directly breaks on a clean install. I have send a second support request to my provider to ask what is going on on their side. Ill keep you updated.

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 14610
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: 503 error on administrator login

Post by toivo » Mon Jan 17, 2022 10:26 pm

If a clean install breaks straightaway, something odd is going on in the server.

Please post the results from the Forum Post Assistant (FPA) by following the instructions at https://forumpostassistant.github.io/docs so that the configuration can be reviewed.
Toivo Talikka, Global Moderator

User avatar
toivo
Joomla! Master
Joomla! Master
Posts: 14610
Joined: Thu Feb 15, 2007 5:48 am
Location: Sydney, Australia

Re: 503 error on administrator login

Post by toivo » Sun Jan 23, 2022 10:28 am

brian wrote:
Fri Jan 14, 2022 10:28 am
It is completely wrong for anyone on this forum to blame any installation on not using the zip downloaded from here. It is just an excuse to blame the user for the problem - we must never do this.
Agreed, we must never blame the user for the problem.

However, many of our volunteers have seen cases where the issue is clearly in the court of the host or the provider of a pre-installed Joomla or a quickstart package. Here are two such reports from the past week alone:

Automatically make logged-in user a "Registered User"
MySQL database with 3.10.4 installation
Toivo Talikka, Global Moderator

harriebo
Joomla! Apprentice
Joomla! Apprentice
Posts: 15
Joined: Sun Dec 26, 2021 3:01 pm

Re: 503 error on administrator login

Post by harriebo » Sun Jan 23, 2022 11:04 am

So, it took them like 2 weeks to reply. And the "fixed" it... they did not tell what they did or changed, but suddenly it working, but it breaks when I restore my backup so I will have to start over. It seems my provider does not have its stuff in order. Sorry for the bother. I will reconsider the situation and make up my mind first if I want to continue with this party for the future.

User avatar
Webdongle
Joomla! Master
Joomla! Master
Posts: 41279
Joined: Sat Apr 05, 2008 9:58 pm

Re: 503 error on administrator login

Post by Webdongle » Sun Jan 23, 2022 11:29 am

harriebo wrote:
Sun Jan 23, 2022 11:04 am
... but it breaks when I restore my backup so I will have to start over. It seems my provider does not have its stuff in order. ...
Wonder if there are any other problems that will show up down the line when a Joomla update is applied to the site built with their modified install. Perhaps consider using the Joomla FULL installation package?
http://www.weblinksonline.co.uk/
https://www.weblinksonline.co.uk/updating-joomla.html
"When I'm right no one remembers but when I'm wrong no one forgets".


Post Reply

Return to “General Questions/New to Joomla! 4.x”