Alpine 3.14 Linux
Nginx 1.20.1
php7.4.23/php7.4-fpm/Mariadb
At least dependencies shown in technical-requirements installed, including those of PHP additional modules.
https://serveraddress//installation/index.php
shows:
https://docs.joomla.org/J4.x:FatalError#/media/File:Joomla-j4-fatal.png
Sorry, there was a problem we could not recover from.
The server returned a "500 - Whoops, looks like something went wrong."
../installation/configutaion.php: $debug = true;
yet nothing happens.
Nginx access logs shows the access, no errors logged.
Labels |
Removed:
?
|
Labels |
Added:
No Code Attached Yet
|
You need to append some custom code to get debug of installation. Just google debug joomla installation and you will find it
Using Redis?
Mariadb 10.6.4
All php db plugins loaded. Mysqli pdo pgsql redis...
Strange thing is the 500 on joomla, which is not a real nginx 500.
Also nginx makes no error log, despite being set on highest verbosity.
In same environment, other php (phpinfo) applications run with no issues, phpmyadmin ...
I think the installation page should be kept minimum to catch up with such exceptions, rather going to full modus of pre loading bunch of includes, libraries, classes!
I think this can be closed as #35471 (comment) says:
One issue is the include ../ In my case it rendered the server root incorrectly, so those included couldn't locate the files. Somehow i managed to fix the document root by multiple nginx and php-fpm configuration.
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-09-04 17:40:11 |
Closed_By | ⇒ | chmst |
thanks
For anyone coming back here in the future, the documentation for installing Joomla on Nginx based servers is here https://docs.joomla.org/Nginx
Issue persists.
Thanks to @PhilETaylor and this hint:
35471
/installation/includes/framework.php and set const JDEBUG = true; on line 16
I finally got some verbosity, rather the general 500 page.
The php simplexml was missing:
After fixing that, it tries to connect to local host mysql. As in this case DB is remote, I am stuck in the next step.
I thought, mysql stuff (including address to connect) will be fetched in coming steps, rather the immediate presumption that it must be localhost!
How to proceed from here?
Remove the configuration.php you created when debugging.
After fixing that, it tries to connect to local host mysql. As in this case DB is remote, I am stuck in the next step.
I thought, mysql stuff (including address to connect) will be fetched in coming steps, rather the immediate presumption that it must be localhost!
How to proceed from here?
@kamzar1 Check if there is a configuration.php file in your Joomla root and if so, remove it. Close your browser to get rid of old session cookie. Then try again. The installation procedure should start from beginning. When coming to the page to enter database server and so on, make sure to use the right (remote) host name, database name and a database user who has the full privileges for that database (normally that should not be root but a dedicated user for that database). Because your database is on a remote host, the installation will not be started. Scroll up and you will see information about a text file in the installation folder which you have to remove to proof you have access to the webserver. Follow the instructions and then just click again the button to continue at the bottom. Then the installation will connect to the database and all should work.
Wonderful
Thanks @richard67 & @PhilETaylor
Installation page is now alive and kicking!
Indeed, previously I had made a real configuration.php out of config-dist in order to get some debug info.
Should I close this issue or @PhilETaylor decides?
@kamzar1 Which version of MariaDB?