I used to use the LoginOIDC plugin in the long past (probably under Matomo 2 or the early 3.x versions).
For reasons unrelated to the plugin, I ended up uninstalling it and reverted to Matomo’s built-in login.
Upgrading to Matomo 4.1, I reinstalled this plugin and attempted to enable it. Unfortunately this produced the following error:
SQLSTATE[HY000]: General error: 3780 Referencing column 'user' and referenced column 'login' in foreign key constraint 'piwik_loginoidc_provider_ibfk_1' are incompatible.
Neither of the suggestions shown on the screenshot helped.
Any thoughts? Am reluctant to touch the database without guidance.
I used to use the LoginOIDC plugin in the long past (probably under Matomo 2 or the early 3.x versions).
For reasons unrelated to the plugin, I ended up uninstalling it and reverted to Matomo’s built-in login.
Upgrading to Matomo 4.1, I reinstalled this plugin and attempted to enable it. Unfortunately this produced the following error:
SQLSTATE[HY000]: General error: 3780 Referencing column 'user' and referenced column 'login' in foreign key constraint 'piwik_loginoidc_provider_ibfk_1' are incompatible.
Neither of the suggestions shown on the screenshot helped.
Any thoughts? Am reluctant to touch the database without guidance.
Thank you.