Error 500 after SQLSTATE errors missing a matomo.matomo_logtmpsegment table #19908
Labels
answered
For when a question was asked and we referred to forum or answered it.
Milestone
We are seeing a 500 application error in logs right after this kind of SQLSTATE event in logs
[Tue Oct 25 10:17:38.542583 2022] [php:notice] [pid 65] [client XXXX] [XXXX] Error in Matomo: SQLSTATE[42S02]: Base table or view not found: 1146 Table 'matomo.matomo_logtmpsegmentc2345b9867f0aa5d2556f6b8339d1f31' doesn't exist - in plugin Goals., referer: https://XXXX/index.php?module=CoreHome&action=index&idSite=1&period=day&date=yesterday
This has happened after a db migration to another cluster, and the db user didn't have the right permissions to create temporary tables. We added that permissions and restarted the application but still seeing the errors above.
Expected Behavior
Application should work normally, since the tables look to be temporary.
Current Behavior
Application is not usable after this error.
Steps to Reproduce (for Bugs)
Your Environment
The text was updated successfully, but these errors were encountered: