Closed mbrodala closed 1 month ago
Interestingly the missing tables exist after the failing site:add
run
access
archive_invalidations
brute_force_log
changes
+custom_dimensions
goal
locks
log_action
log_conversion
log_conversion_item
log_link_visit_action
log_profiling
log_visit
logger_message
option
plugin_setting
+privacy_logdata_anonymizations
+report
+report_subscriptions
+segment
sequence
session
site
site_setting
site_url
tracking_failure
twofactor_recovery_code
user
+user_dashboard
+user_language
user_token_auth
And the site was added just fine.
Actually it seems like invoking any Matomo command triggers the creation of the missing tables, e.g. visits:get
with a bogus site ID.
When running
./console matomo:install --do-not-drop-db --force
in a Matomo build directory I end up with a bare minimum of DB tables:There is no
config/config.ini.php
by default but aconfig/common.config.ini.php
:The
config/config.ini.php
exists after thematomo:install
run with allPlugins
andPluginsInstalled
from theglobal.ini.php
and the additional entries from thecommon.config.ini.php
.Now invoking
./console site:add ...
fails however, since not all tables are present:Did I do something wrong or why are not all tables from all plugins created by
matomo:install
?