New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installer does not show up and requires config.ini.php #14169
Comments
Have you tried to give the named user write access to the (And to the |
Yes, the user has write access to the folders. I just tested that |
It should definitely fire the installer in that case unless you are on CLI? I assume that's not the case as you say navigate to your browser. Maybe it thinks for some reasons that you are on CLI that would be pretty much the only explanation for me. In public static function isPhpCliMode()
{
return false;
} |
This at least caused the script to show the installer but now it complains (it shows a red warning) that my browser isn't able to load scripts and stylesheets. It just presents me with a plain html page. |
That might be some other server issue. I see you are using Nginx, maybe try this config here? https://github.com/matomo-org/matomo-nginx/ not sure if it helps. But for such server issues the forum be the best: https://forum.matomo.org and a google search for matomo and not loading scripts or stylesheet might help as well. In case you are familiar with PHP, could you check which of the two checks result in eg does it still show the installer when you do
and when doing this:
|
The third check failed due to an configuration error in nginx. My fastcgi.conf wasn't properly loaded which caused the third if to be true. Sorry. I never expierenced problems because of REMOTE_ADDR not being present. That's why I thought this was a bug. |
Maybe we should replace this with |
I don't actually know the difference, but in my case this was really just a misconfiguration. No header contained the remote ip at all: It seems that it is really important at which line you include fastcgi.conf and that was my problem.
|
Thanks. |
Description
If you try to install a fresh version of Piwik / Matomo the installer does not show up because PHP throws an exception about a missing config.ini.php:
Steps to reproduce the bug
Expected behaviour
Instead of complaining about the missing config.ini.php file the installer should be fired up to create one.
Environment
OS: Windows 10
DB: MariaDB
PHP: 7.0
Version: 3.8.1
Webserver: Nginx
The text was updated successfully, but these errors were encountered: