Open diosmosis opened 3 years ago
fyi I believe we may have this check in Matomo for WordPress already if I remember correctly. Not 100% sure though. Before working on this we could check what's there and potentially reuse ( or move it to core)
There is a check prior the installation here:
But if the permissions are changed after Matomo was set up, I guess that would not automatically be detected somewhere.
Summary
Matomo does not report if the database user does not have enough privileges to perform installation and update logic. One would expect that there would be an error thrown in this case, but it seems possible for this to fail silently. In this case, a diagnostic that checked for required privileges before installing would be helpful.
Refs https://github.com/matomo-org/matomo/issues/17420#issuecomment-814625793