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
Installing Matomo using ExtraTools plugin #16741
Comments
Hi @nrenault The de-/activation is still managed in the config file. But whenever a plugin is de-/activated we store a timestamp in the options table to know when the plugin was last de-/activated. I haven't used the |
Hi @sgiehl thank you for details ! I use ExtraTools to install Matomo, but for working, the plugin needs to be activated and after install Matomo. So if add/edit datas in the database is mandatory to activate/desactivate a plugin, it's not possible anymore to use it for install Matomo. |
I created a PR in https://github.com/matomo-org/matomo/pull/16744/files not sure if these changes change anything though? |
Hi @tsteur I will wait to test it to confirm you, but it's sounds good and I think it will solve my issue with ExtraTools. Thanks for you reactivity ! |
Hello, I checked this morning with RC6 version. If I have a config file with database credentials, I have an error (both if database exist or not)
If I remove the config file:
It's seems to work without config file, but I still have some errors. |
@nrenault maybe the plugin author (@mikkeschiren) is able to help you here. I'm not sure what requirements the plugin have and if it is supposed to work without any configuration or database 🤷 |
@sgiehl maybe I'm not clear in my feedback but the problem is not from the plugin or the database. I have the same error when I try to activate another plugin (ex: LoginLdap) before Matomo installation.
If I just ignore this error, I can use ExtraTools to install Matomo, and everything works. I dowload Matomo and I activate ExtraTools (php console plugin:activate ExtraTools). Nothing more. For my usage, if I ignore errors, I can use ExtraTools like before and install Matomo with this plugin. So you solved my problem. |
@nrenault I think it is a problem with that plugin as i think it was never supposed to work like this in the first place. It should not be possible to install any plugin before Matomo is not fully installed. What you maybe want to look at is the config Can you try to add to your
Then you might be able to use ExtraTools command line without needing to activate the ExtraTools plugin. I'm otherwise not sure how that plugin works. |
Hi @tsteur ! Your advice works, thanks ! It's works (with RC7) too when I activate the plugin, but I have errors. Thanks again for your answers, your reactivity and your help ! |
I'm using ExtraTools plugin to install Matomo.
Everything is working with the last stable version of Matomo (3.14.1).
Today I try to install Matomo 4.0.0-rc4 but I have an error when I want to activate ExtraTools (before installing Matomo):
[PDOException] SQLSTATE[42S02]: Base table or view not found: 1146 Table 'db_matomo.option' doesn't exist
When I look the config file, activated plugins seems not here anymore.
If I understand, with Matomo 4, plugins (activation/desactivation) are now managed in database instead of the config file, is it true ?
There is any way to be able to use ExtraTools to install Matomo anymore ? (or something else to be able to make a full automatic installation of matomo)
Thanks !
The text was updated successfully, but these errors were encountered: