@jsassm wrote:
Hi,
our archive cronjob fails, when the preview/debug mode for the tagmanager-plugin is enabled. Should this behaviour be expected or is this a bug?[root@piwik ~]# /var/www/html/console core:archive --url=https://web.xxxxx.local/piwik/ >> /var/log/piwik-archive/piwik-archive.log ERROR [2019-07-09 07:33:33] 18350 There was an error while regenerating container releases: Entry "Piwik\Auth" cannot be resolved: the class is not instantiable Full definition: Object ( class = #NOT INSTANTIABLE# Piwik\Auth scope = singleton lazy = false )#0 /var/www/html/vendor/php-di/php-di/src/DI/Definition/Resolver/ObjectCreator.php(243): DI\Definition\Exception\DefinitionException::create(Object(DI\Definition\ObjectDefinition), 'Entry "Piwik\\Au...') #1 /var/www/html/vendor/php-di/php-di/src/DI/Definition/Resolver/ObjectCreator.php(126): DI\Definition\Resolver\ObjectCreator->assertClassIsInstantiable(Object(DI\Definition\ObjectDefinition)) #2 /var/www/html/vendor/php-di/php-di/src/DI/Definition/Resolver/ObjectCreator.php(70): DI\Definition\Resolver\ObjectCreator->createInstance(Object(DI\Definition\ObjectDefinition), Array) #3 /var/www/html/vendor/php-di/php-di/src/DI/Definition/Resolver/ResolverDispatcher.php(58): DI\Definition\Resolver\ObjectCreator->resolve(Object(DI\Definition\ObjectDefinition), Array) #4 /var/www/html/vendor/php-di/php-di/src/DI/Container.php(303): DI\Definition\Resolver\ResolverDispatcher->resolve(Object(DI\Definition\ObjectDefinition), Array) #5 /var/www/html/vendor/php-di/php-di/src/DI/Container.php(131): DI\Container->resolveDefinition(Object(DI\Definition\ObjectDefinition)) #6 /var/www/html/core/Container/StaticContainer.php(80): DI\Container->get('Piwik\\Auth') #7 /var/www/html/core/Piwik.php(567): Piwik\Container\StaticContainer::get('Piwik\\Auth') #8 /var/www/html/plugins/CoreHome/Menu.php(32): Piwik\Piwik::getLoginPluginName() #9 /var/www/html/plugins/CoreHome/Menu.php(20): Piwik\Plugins\CoreHome\Menu->getLoginModule() #10 /var/www/html/core/Menu/MenuTop.php(57): Piwik\Plugins\CoreHome\Menu->configureTopMenu(Object(Piwik\Menu\MenuTop)) #11 /var/www/html/plugins/TagManager/Controller.php(207): Piwik\Menu\MenuTop->getMenu() #12 /var/www/html/plugins/TagManager/Controller.php(53): Piwik\Plugins\TagManager\Controller->renderTemplate('@TagManager/deb...') #13 [internal function]: Piwik\Plugins\TagManager\Controller->debug() #14 /var/www/html/core/FrontController.php(589): call_user_func_array(Array, Array) #15 /var/www/html/core/FrontController.php(165): Piwik\FrontController->doDispatch('TagManager', 'debug', Array) #16 /var/www/html/plugins/TagManager/Context/WebContext/JavaScriptTagManagerLoader.php(72): Piwik\FrontController->dispatch('TagManager', 'debug') #17 /var/www/html/plugins/TagManager/Context/WebContext.php(166): Piwik\Plugins\TagManager\Context\WebContext\JavaScriptTagManagerLoader->getPreviewJsContent() #18 /var/www/html/plugins/TagManager/Context/WebContext.php(152): Piwik\Plugins\TagManager\Context\WebContext->addPreviewCode('/*!!\n * Matomo ...', true, true, Array) #19 /var/www/html/plugins/TagManager/Model/Container.php(123): Piwik\Plugins\TagManager\Context\WebContext->generate(Array) #20 /var/www/html/plugins/TagManager/TagManager.php(253): Piwik\Plugins\TagManager\Model\Container->generateContainer(1, 'X00uHgoK') #21 /var/www/html/core/Access.php(628): Piwik\Plugins\TagManager\TagManager->Piwik\Plugins\TagManager\{closure}() #22 /var/www/html/core/Piwik.php(840): Piwik\Access::doAsSuperUser(Object(Closure)) #23 /var/www/html/plugins/TagManager/TagManager.php(261): Piwik\Piwik::doAsSuperUser(Object(Closure)) #24 [internal function]: Piwik\Plugins\TagManager\TagManager->regenerateReleasedContainers(Object(Piwik\CronArchive)) #25 /var/www/html/core/EventDispatcher.php(141): call_user_func_array(Array, Array) #26 /var/www/html/core/Piwik.php(780): Piwik\EventDispatcher->postEvent('CronArchive.end', Array, false, Array) #27 /var/www/html/core/CronArchive.php(555): Piwik\Piwik::postEvent('CronArchive.end', Array) #28 /var/www/html/core/CronArchive.php(318): Piwik\CronArchive->end() #29 /var/www/html/core/Access.php(628): Piwik\CronArchive->Piwik\{closure}() #30 /var/www/html/core/CronArchive.php(319): Piwik\Access::doAsSuperUser(Object(Closure)) #31 /var/www/html/plugins/CoreConsole/Commands/CoreArchiver.php(27): Piwik\CronArchive->main() #32 /var/www/html/vendor/symfony/console/Symfony/Component/Console/Command/Command.php(257): Piwik\Plugins\CoreConsole\Commands\CoreArchiver->execute(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #33 /var/www/html/vendor/symfony/console/Symfony/Component/Console/Application.php(874): Symfony\Component\Console\Command\Command->run(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #34 /var/www/html/vendor/symfony/console/Symfony/Component/Console/Application.php(195): Symfony\Component\Console\Application->doRunCommand(Object(Piwik\Plugins\CoreConsole\Commands\CoreArchiver), Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #35 [internal function]: Symfony\Component\Console\Application->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #36 /var/www/html/core/Console.php(98): call_user_func(Array, Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #37 /var/www/html/core/Access.php(628): Piwik\Console->Piwik\{closure}() #38 /var/www/html/core/Console.php(99): Piwik\Access::doAsSuperUser(Object(Closure)) #39 /var/www/html/vendor/symfony/console/Symfony/Component/Console/Application.php(126): Piwik\Console->doRun(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput)) #40 /var/www/html/console(27): Symfony\Component\Console\Application->run() #41 {main}
Posts: 1
Participants: 1