@tassoman opened this Issue on July 6th 2022 Contributor

Expected Behavior

I wanted to enable TagManager plugin by issuing console command:
php console plugin:activate TagManager
Activation didn't outputted any error message, logging didn't traced any error.

Current Behavior

After activation, website frontend dies with error 500.
Also console command tagmanager:regenerate-released-containers died:

bash-4.2$ php console tagmanager:regenerate-released-containers
ERROR [2022-07-06 11:06:07] 2290  There was an error while regenerating container releases: /var/www/html/matomo_4-9-1/libs/Zend/Db/Statement/Pdo.php(236): SQLSTATE[42S02]: Base table or view not found: 1146 Table 'piwik.piwik_tagmanager_container' doesn't exist [Query: , CLI mode: 1]
Error: error or warning logs detected, exit 1

Same error while browsing web ui.

After installation, there isn't any table named *_tagmanager_*

Steps to Reproduce (for Bugs)

Probably it's working on a fresh installation, but our installation was upgraded to 4.9.1 since Matomo was Piwik 2.x.x



Your Environment

  • Matomo Version: 4.9.1
  • PHP Version: 7.3
  • Server Operating System: Centos7
@sgiehl commented on July 6th 2022 Member

@tassoman You can try the following steps to fix this:

  • Deactivate TagManager plugin using:
    ./console plugin:deactivate TagManager
  • Then remove the plugin from the list of installed plugin in the config.ini.php file under the [PluginsInstalled] header and remove the line that contains:
    PluginsInstalled[] = "TagManager"
  • Then run the core:update command:
    ./console core:update
  • Then reactivating the TagManager plugin:
    ./console plugin:activate TagManager
@tassoman commented on July 7th 2022 Contributor

I managed to get it working! Such a cheat! 🤣

@MatomoForumNotifications commented on August 11th 2022

This issue has been mentioned on Matomo forums. There might be relevant details there:


This Issue was closed on July 7th 2022
Powered by GitHub Issue Mirror