Error After Update To 1.1.1

Hello, after updating my system via

Code:
php /var/www/html/mautic2/app/console mautic:update:find -e prod php /var/www/html/mautic2/app/console mautic:update:apply -e prod

the system throws the following exception:
Code:
InvalidArgumentException: Unable to load class "Twig_Environment"

in /var/www/html/mautic2/vendor/symfony/class-loader/Symfony/Component/ClassLoader/ClassCollectionLoader.php line 259
at ClassCollectionLoader::getOrderedClasses(array(‘DoctrineBundleDoctrineBundleRegistry’, ‘DoctrineCommonAnnotationsDocLexer’, ‘DoctrineCommonAnnotationsFileCacheReader’, ‘DoctrineCommonAnnotationsPhpParser’, ‘DoctrineCommonAnnotationsReader’, ‘DoctrineCommonLexer’, ‘DoctrineCommonPersistenceConnectionRegistry’, ‘DoctrineCommonPersistenceProxy’, ‘DoctrineCommonUtilClassUtils’, ‘MonologFormatterFormatterInterface’, ‘MonologFormatterLineFormatter’, ‘MonologHandlerAbstractHandler’, ‘MonologHandlerAbstractProcessingHandler’, ‘MonologHandlerFilterHandler’, ‘MonologHandlerFingersCrossedHandler’, ‘MonologHandlerFingersCrossedActivationStrategyInterface’, ‘MonologHandlerFingersCrossedErrorLevelActivationStrategy’, ‘MonologHandlerHandlerInterface’, ‘MonologHandlerStreamHandler’, ‘MonologHandlerTestHandler’, ‘MonologLogger’, ‘SensioBundleFrameworkExtraBundleConfigurationConfigurationAnnotation’, ‘SensioBundleFrameworkExtraBundleEventListenerControllerListener’, ‘SensioBundleFrameworkExtraBundleEventListenerHttpCacheListener’, ‘SensioBundleFrameworkExtraBundleEventListenerParamConverterListener’, ‘SensioBundleFrameworkExtraBundleEventListenerSecurityListener’, ‘SensioBundleFrameworkExtraBundleEventListenerTemplateListener’, ‘SensioBundleFrameworkExtraBundleRequestParamConverterDateTimeParamConverter’, ‘SensioBundleFrameworkExtraBundleRequestParamConverterDoctrineParamConverter’, ‘SensioBundleFrameworkExtraBundleRequestParamConverterParamConverterInterface’, ‘SensioBundleFrameworkExtraBundleRequestParamConverterParamConverterManager’, ‘SymfonyBridgeMonologHandlerDebugHandler’, ‘SymfonyBridgeMonologLogger’, ‘SymfonyBundleFrameworkBundleControllerControllerNameParser’, ‘SymfonyBundleFrameworkBundleControllerControllerResolver’, ‘SymfonyBundleFrameworkBundleEventListenerSessionListener’, ‘SymfonyBundleFrameworkBundleRoutingRedirectableUrlMatcher’, ‘SymfonyBundleFrameworkBundleRoutingRouter’, ‘SymfonyBundleFrameworkBundleTemplatingGlobalVariables’, ‘SymfonyBundleFrameworkBundleTemplatingLoaderFilesystemLoader’, ‘SymfonyBundleFrameworkBundleTemplatingLoaderTemplateLocator’, ‘SymfonyBundleFrameworkBundleTemplatingPhpEngine’, ‘SymfonyBundleFrameworkBundleTemplatingTemplateNameParser’, ‘SymfonyBundleFrameworkBundleTemplatingTemplateReference’, ‘SymfonyBundleSecurityBundleSecurityFirewallContext’, ‘SymfonyBundleSecurityBundleSecurityFirewallMap’, ‘SymfonyComponentConfigFileLocator’, ‘SymfonyComponentEventDispatcherContainerAwareEventDispatcher’, ‘SymfonyComponentEventDispatcherEvent’, ‘SymfonyComponentHttpFoundationRequestMatcher’, ‘SymfonyComponentHttpFoundationSessionSession’, ‘SymfonyComponentHttpFoundationSessionStorageHandlerNativeFileSessionHandler’, ‘SymfonyComponentHttpFoundationSessionStorageNativeSessionStorage’, ‘SymfonyComponentHttpFoundationSessionStoragePhpBridgeSessionStorage’, ‘SymfonyComponentHttpFoundationSessionStorageProxyAbstractProxy’, ‘SymfonyComponentHttpFoundationSessionStorageProxySessionHandlerProxy’, ‘SymfonyComponentHttpKernelConfigFileLocator’, ‘SymfonyComponentHttpKernelControllerControllerResolver’, ‘SymfonyComponentHttpKernelEventListenerResponseListener’, ‘SymfonyComponentHttpKernelEventListenerRouterListener’, ‘SymfonyComponentHttpKernelEventFilterControllerEvent’, ‘SymfonyComponentHttpKernelEventFilterResponseEvent’, ‘SymfonyComponentHttpKernelEventGetResponseEvent’, ‘SymfonyComponentHttpKernelEventGetResponseForControllerResultEvent’, ‘SymfonyComponentHttpKernelEventGetResponseForExceptionEvent’, ‘SymfonyComponentHttpKernelEventKernelEvent’, ‘SymfonyComponentHttpKernelKernelEvents’, ‘SymfonyComponentRoutingGeneratorUrlGenerator’, ‘SymfonyComponentRoutingRequestContext’, ‘SymfonyComponentRoutingRouter’, ‘SymfonyComponentSecurityCoreAuthenticationAuthenticationProviderManager’, ‘SymfonyComponentSecurityCoreAuthorizationAccessDecisionManager’, ‘SymfonyComponentSecurityCoreAuthorizationVoterVoterInterface’, ‘SymfonyComponentSecurityCoreSecurityContext’, ‘SymfonyComponentSecurityCoreUserUserProviderInterface’, ‘SymfonyComponentSecurityHttpAccessMap’, ‘SymfonyComponentSecurityHttpFirewall’, ‘SymfonyComponentTemplatingStorageFileStorage’, ‘Twig_Environment’, ‘Twig_Extension’, ‘Twig_Extension_Core’, ‘Twig_Extension_Escaper’, ‘Twig_Extension_Optimizer’, ‘Twig_LoaderInterface’, ‘Twig_Markup’, ‘Twig_Template’)) in /var/www/html/mautic2/vendor/symfony/class-loader/Symfony/Component/ClassLoader/ClassCollectionLoader.php line 98


...

Hello, after updating my system via

php /var/www/html/mautic2/app/console mautic:update:find -e prod php /var/www/html/mautic2/app/console mautic:update:apply -e prod

the system throws the following exception:

[code]InvalidArgumentException: Unable to load class “Twig_Environment”

in /var/www/html/mautic2/vendor/symfony/class-loader/Symfony/Component/ClassLoader/ClassCollectionLoader.php line 259
at ClassCollectionLoader::getOrderedClasses(array(‘DoctrineBundleDoctrineBundleRegistry’, ‘DoctrineCommonAnnotationsDocLexer’, ‘DoctrineCommonAnnotationsFileCacheReader’, ‘DoctrineCommonAnnotationsPhpParser’, ‘DoctrineCommonAnnotationsReader’, ‘DoctrineCommonLexer’, ‘DoctrineCommonPersistenceConnectionRegistry’, ‘DoctrineCommonPersistenceProxy’, ‘DoctrineCommonUtilClassUtils’, ‘MonologFormatterFormatterInterface’, ‘MonologFormatterLineFormatter’, ‘MonologHandlerAbstractHandler’, ‘MonologHandlerAbstractProcessingHandler’, ‘MonologHandlerFilterHandler’, ‘MonologHandlerFingersCrossedHandler’, ‘MonologHandlerFingersCrossedActivationStrategyInterface’, ‘MonologHandlerFingersCrossedErrorLevelActivationStrategy’, ‘MonologHandlerHandlerInterface’, ‘MonologHandlerStreamHandler’, ‘MonologHandlerTestHandler’, ‘MonologLogger’, ‘SensioBundleFrameworkExtraBundleConfigurationConfigurationAnnotation’, ‘SensioBundleFrameworkExtraBundleEventListenerControllerListener’, ‘SensioBundleFrameworkExtraBundleEventListenerHttpCacheListener’, ‘SensioBundleFrameworkExtraBundleEventListenerParamConverterListener’, ‘SensioBundleFrameworkExtraBundleEventListenerSecurityListener’, ‘SensioBundleFrameworkExtraBundleEventListenerTemplateListener’, ‘SensioBundleFrameworkExtraBundleRequestParamConverterDateTimeParamConverter’, ‘SensioBundleFrameworkExtraBundleRequestParamConverterDoctrineParamConverter’, ‘SensioBundleFrameworkExtraBundleRequestParamConverterParamConverterInterface’, ‘SensioBundleFrameworkExtraBundleRequestParamConverterParamConverterManager’, ‘SymfonyBridgeMonologHandlerDebugHandler’, ‘SymfonyBridgeMonologLogger’, ‘SymfonyBundleFrameworkBundleControllerControllerNameParser’, ‘SymfonyBundleFrameworkBundleControllerControllerResolver’, ‘SymfonyBundleFrameworkBundleEventListenerSessionListener’, ‘SymfonyBundleFrameworkBundleRoutingRedirectableUrlMatcher’, ‘SymfonyBundleFrameworkBundleRoutingRouter’, ‘SymfonyBundleFrameworkBundleTemplatingGlobalVariables’, ‘SymfonyBundleFrameworkBundleTemplatingLoaderFilesystemLoader’, ‘SymfonyBundleFrameworkBundleTemplatingLoaderTemplateLocator’, ‘SymfonyBundleFrameworkBundleTemplatingPhpEngine’, ‘SymfonyBundleFrameworkBundleTemplatingTemplateNameParser’, ‘SymfonyBundleFrameworkBundleTemplatingTemplateReference’, ‘SymfonyBundleSecurityBundleSecurityFirewallContext’, ‘SymfonyBundleSecurityBundleSecurityFirewallMap’, ‘SymfonyComponentConfigFileLocator’, ‘SymfonyComponentEventDispatcherContainerAwareEventDispatcher’, ‘SymfonyComponentEventDispatcherEvent’, ‘SymfonyComponentHttpFoundationRequestMatcher’, ‘SymfonyComponentHttpFoundationSessionSession’, ‘SymfonyComponentHttpFoundationSessionStorageHandlerNativeFileSessionHandler’, ‘SymfonyComponentHttpFoundationSessionStorageNativeSessionStorage’, ‘SymfonyComponentHttpFoundationSessionStoragePhpBridgeSessionStorage’, ‘SymfonyComponentHttpFoundationSessionStorageProxyAbstractProxy’, ‘SymfonyComponentHttpFoundationSessionStorageProxySessionHandlerProxy’, ‘SymfonyComponentHttpKernelConfigFileLocator’, ‘SymfonyComponentHttpKernelControllerControllerResolver’, ‘SymfonyComponentHttpKernelEventListenerResponseListener’, ‘SymfonyComponentHttpKernelEventListenerRouterListener’, ‘SymfonyComponentHttpKernelEventFilterControllerEvent’, ‘SymfonyComponentHttpKernelEventFilterResponseEvent’, ‘SymfonyComponentHttpKernelEventGetResponseEvent’, ‘SymfonyComponentHttpKernelEventGetResponseForControllerResultEvent’, ‘SymfonyComponentHttpKernelEventGetResponseForExceptionEvent’, ‘SymfonyComponentHttpKernelEventKernelEvent’, ‘SymfonyComponentHttpKernelKernelEvents’, ‘SymfonyComponentRoutingGeneratorUrlGenerator’, ‘SymfonyComponentRoutingRequestContext’, ‘SymfonyComponentRoutingRouter’, ‘SymfonyComponentSecurityCoreAuthenticationAuthenticationProviderManager’, ‘SymfonyComponentSecurityCoreAuthorizationAccessDecisionManager’, ‘SymfonyComponentSecurityCoreAuthorizationVoterVoterInterface’, ‘SymfonyComponentSecurityCoreSecurityContext’, ‘SymfonyComponentSecurityCoreUserUserProviderInterface’, ‘SymfonyComponentSecurityHttpAccessMap’, ‘SymfonyComponentSecurityHttpFirewall’, ‘SymfonyComponentTemplatingStorageFileStorage’, ‘Twig_Environment’, ‘Twig_Extension’, ‘Twig_Extension_Core’, ‘Twig_Extension_Escaper’, ‘Twig_Extension_Optimizer’, ‘Twig_LoaderInterface’, ‘Twig_Markup’, ‘Twig_Template’)) in /var/www/html/mautic2/vendor/symfony/class-loader/Symfony/Component/ClassLoader/ClassCollectionLoader.php line 98
[/code]

at ClassCollectionLoader::load(array('SymfonyBundleFrameworkBundleEventListenerSessionListener', 'SymfonyComponentHttpFoundationSessionStorageNativeSessionStorage', 'SymfonyComponentHttpFoundationSessionStoragePhpBridgeSessionStorage', 'SymfonyComponentHttpFoundationSessionStorageHandlerNativeFileSessionHandler', 'SymfonyComponentHttpFoundationSessionStorageProxyAbstractProxy', 'SymfonyComponentHttpFoundationSessionStorageProxySessionHandlerProxy', 'SymfonyComponentHttpFoundationSessionSession', 'SymfonyBundleFrameworkBundleTemplatingGlobalVariables', 'SymfonyBundleFrameworkBundleTemplatingTemplateReference', 'SymfonyBundleFrameworkBundleTemplatingTemplateNameParser', 'SymfonyBundleFrameworkBundleTemplatingLoaderTemplateLocator', 'SymfonyComponentTemplatingStorageFileStorage', 'SymfonyBundleFrameworkBundleTemplatingPhpEngine', 'SymfonyBundleFrameworkBundleTemplatingLoaderFilesystemLoader', 'SymfonyComponentRoutingGeneratorUrlGenerator', 'SymfonyComponentRoutingRequestContext', 'SymfonyComponentRoutingRouter', 'SymfonyBundleFrameworkBundleRoutingRedirectableUrlMatcher', 'SymfonyBundleFrameworkBundleRoutingRouter', 'SymfonyComponentConfigFileLocator', 'SymfonyComponentEventDispatcherEvent', 'SymfonyComponentEventDispatcherContainerAwareEventDispatcher', 'SymfonyComponentHttpKernelEventListenerResponseListener', 'SymfonyComponentHttpKernelEventListenerRouterListener', 'SymfonyComponentHttpKernelControllerControllerResolver', 'SymfonyComponentHttpKernelEventKernelEvent', 'SymfonyComponentHttpKernelEventFilterControllerEvent', 'SymfonyComponentHttpKernelEventFilterResponseEvent', 'SymfonyComponentHttpKernelEventGetResponseEvent', 'SymfonyComponentHttpKernelEventGetResponseForControllerResultEvent', 'SymfonyComponentHttpKernelEventGetResponseForExceptionEvent', 'SymfonyComponentHttpKernelKernelEvents', 'SymfonyComponentHttpKernelConfigFileLocator', 'SymfonyBundleFrameworkBundleControllerControllerNameParser', 'SymfonyBundleFrameworkBundleControllerControllerResolver', 'SymfonyComponentSecurityHttpAccessMap', 'SymfonyComponentSecurityHttpFirewall', 'SymfonyComponentSecurityCoreSecurityContext', 'SymfonyComponentSecurityCoreUserUserProviderInterface', 'SymfonyComponentSecurityCoreAuthenticationAuthenticationProviderManager', 'SymfonyComponentSecurityCoreAuthorizationAccessDecisionManager', 'SymfonyComponentSecurityCoreAuthorizationVoterVoterInterface', 'SymfonyBundleSecurityBundleSecurityFirewallMap', 'SymfonyBundleSecurityBundleSecurityFirewallContext', 'SymfonyComponentHttpFoundationRequestMatcher', 'MonologFormatterFormatterInterface', 'MonologFormatterLineFormatter', 'MonologHandlerHandlerInterface', 'MonologHandlerAbstractHandler', 'MonologHandlerAbstractProcessingHandler', 'MonologHandlerStreamHandler', 'MonologHandlerFingersCrossedHandler', 'MonologHandlerFilterHandler', 'MonologHandlerTestHandler', 'MonologLogger', 'SymfonyBridgeMonologLogger', 'SymfonyBridgeMonologHandlerDebugHandler', 'MonologHandlerFingersCrossedActivationStrategyInterface', 'MonologHandlerFingersCrossedErrorLevelActivationStrategy', 'DoctrineCommonAnnotationsDocLexer', 'DoctrineCommonAnnotationsFileCacheReader', 'DoctrineCommonAnnotationsPhpParser', 'DoctrineCommonAnnotationsReader', 'DoctrineCommonLexer', 'DoctrineCommonPersistenceConnectionRegistry', 'DoctrineCommonPersistenceProxy', 'DoctrineCommonUtilClassUtils', 'DoctrineBundleDoctrineBundleRegistry', 'SensioBundleFrameworkExtraBundleEventListenerControllerListener', 'SensioBundleFrameworkExtraBundleEventListenerParamConverterListener', 'SensioBundleFrameworkExtraBundleRequestParamConverterDateTimeParamConverter', 'SensioBundleFrameworkExtraBundleRequestParamConverterDoctrineParamConverter', 'SensioBundleFrameworkExtraBundleRequestParamConverterParamConverterInterface', 'SensioBundleFrameworkExtraBundleRequestParamConverterParamConverterManager', 'SensioBundleFrameworkExtraBundleEventListenerTemplateListener', 'SensioBundleFrameworkExtraBundleEventListenerHttpCacheListener', 'SensioBundleFrameworkExtraBundleEventListenerSecurityListener', 'SensioBundleFrameworkExtraBundleConfigurationConfigurationAnnotation', 'Twig_Environment', 'Twig_Extension', 'Twig_Extension_Core', 'Twig_Extension_Escaper', 'Twig_Extension_Optimizer', 'Twig_LoaderInterface', 'Twig_Markup', 'Twig_Template'), '/var/www/html/mautic2/app/cache/dev', 'classes', true, false, '.php') in /var/www/html/mautic2/app/bootstrap.php.cache line 2489 at Kernel->doLoadClassCache('classes', '.php') in /var/www/html/mautic2/app/AppKernel.php line 208 at AppKernel->boot() in /var/www/html/mautic2/app/AppKernel.php line 74 at AppKernel->handle(object(Request)) in /var/www/html/mautic2/index_dev.php line 38

Any ideas?

Peter

I restored my system and tried the updater from the notification tray. How long is the Moving Package Contents step intended to take? I started the update 10 minutes ago and there is still a “spinning wheel” for this step.

Peter

I have another update!

I am pretty sure, the failed update has something to to with file and folder permissions. I - for testing purposes - changed all permissions to 777. After that I was able to update the application via the update GUI.

BUT: When I reset the permissions to the standard values (755 for directories, 644 for files, 777 for logs and cache and asset directories), the application does not work as expected, e.g. when I tried to create a new form, I was not able to choose between campaign and standalone - clicking the button did not cause any action, the dialog just stayed there.

Any ideas?

Peter