Matomo Modules failover

The latest dev branch its simply broken for some reason after installing the latest 4.x-dev branch, I get this:

An error occurred
Package “sentry/sentry” is not installed

the worst outcome of this, is that will render unusable the entire Matomo, they should have a better failsafe in place, or sorry is not possible one module will kill entire app. Thats a very poor application baseline for failsafe.

cosmic@trace:/var/www/html/matomo$ php console plugin:activate SentryLogger

ERROR [2021-01-26 23:49:04] 27870  Uncaught exception: /var/www/html/matomo/vendor/composer/InstalledVersions.php(584): Package "sentry/sentry" is not installed
Package "sentry/sentry" is not installed
                                            
  [OutOfBoundsException]                    
  Package "sentry/sentry" is not installed  
                                            
plugin:activate [plugin1] ... [pluginN]
cosmic@trace:/var/www/html/matomo$ php console plugin:uninstall SentryLogger
ERROR [2021-01-26 23:49:07] 27884  Uncaught exception: /var/www/html/matomo/vendor/composer/InstalledVersions.php(584): Package "sentry/sentry" is not installed
Package "sentry/sentry" is not installed
                                            
  [OutOfBoundsException]                    
  Package "sentry/sentry" is not installed  
                                            
plugin:uninstall [plugin1] ... [pluginN]
cosmic@trace:/var/www/html/matomo$ 

I have already contacted the developer of the module. Why I present this here, well is simple. It is a bad failover system it seems in Matomo when an OLD or BAD module will not be checked before or after was uploaded for functionality. Thus a simple check of requirements would avoid situations like this, where just a simple TEST for a newer module release killed the whole Matomo instance.

I tried to do some CLI work on module side it did not helped. Can someone tell me how this can be solved?

The SentryLogger is not Active, and the state is visible above yet still renders whole instance broken

See

and

1 Like