Navigation Menu

Skip to content
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

Internal Server Error while creating tables during installation #17411

Closed
jonaskohl opened this issue Mar 30, 2021 · 3 comments
Closed

Internal Server Error while creating tables during installation #17411

jonaskohl opened this issue Mar 30, 2021 · 3 comments
Labels
answered For when a question was asked and we referred to forum or answered it. Likely a server config issue Indicates that the issue is not in Matomo and a fix likely requires a server configuration change.

Comments

@jonaskohl
Copy link

jonaskohl commented Mar 30, 2021

Expected Behavior

Installation should function as intended without any errors

Current Behavior

After filling in the database details and clicking continue, the script errors out after about two minutes with the following error page

More info

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at [REDACTED] to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.

The only thing that appears in my error log is the following:

End of script output before headers: index.php

Possible Solution

Steps to Reproduce (for Bugs)

  1. Try to install Matomo

Context

Your Environment

  • Matomo Version: 4.2.1
  • PHP Version: 7.4.16
  • Server Operating System: Linux (Shared hosting)
  • Additionally installed plugins: None
  • Browser: Edge 89
  • Operating System: Windows 10 Home 20H2 64-Bit
@jonaskohl jonaskohl added the Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. label Mar 30, 2021
@diosmosis
Copy link
Member

Hi @jonaskohl, do you have your PHP max_execution_time (or some other timeout) set to something low? It looks like the step to setup the database is just taking too long and gets cut off. Or possibly there's some other error causing the database queries like CREATE TABLE to just hang...

@jonaskohl
Copy link
Author

jonaskohl commented Mar 30, 2021

The tables (or at least some of them) do get created. I think it's a problem with max_execution_time. I've already contacted my hosting provider because changing the value inside a script or php.ini does not seem to have an effect. So the problem probably lies with my hosting provider, not with Matomo.

@diosmosis
Copy link
Member

👍 good to know, I'll close this for now. If you discover anything else that could point to a bug feel free to comment or reopen the issue.

@diosmosis diosmosis added Likely a server config issue Indicates that the issue is not in Matomo and a fix likely requires a server configuration change. and removed Potential Bug Something that might be a bug, but needs validation and confirmation it can be reproduced. labels Mar 30, 2021
@mattab mattab added the answered For when a question was asked and we referred to forum or answered it. label May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
answered For when a question was asked and we referred to forum or answered it. Likely a server config issue Indicates that the issue is not in Matomo and a fix likely requires a server configuration change.
Projects
None yet
Development

No branches or pull requests

3 participants