Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-31792

Daily Summary Mail: chrome-template was either missing or disabled

    • Icon: Bug Bug
    • Resolution: Resolved Locally
    • Icon: Medium Medium
    • None
    • 5.3.4
    • None
    • Standalone
      Apache Tomcat/6.0.35
      Java 1.7.0_15

      since upgrading Confluence to 5.3.4 we get the following exception while confluence tries to send out the daily summary mail:

      2013-11-29 00:00:00,658 ERROR [scheduler_Worker-2] [confluence.mail.jobs.DefaultDailyReportManager] queueDailyReportEmail Failed to create daily report for user test
      com.atlassian.confluence.renderer.template.TemplateRenderingException: Unable to compile Soy template in plugin module: com.atlassian.confluence.plugins.confluence-daily-summary-email:chrome-template
      at com.atlassian.confluence.plugins.soy.ConfluenceSoyTemplateRenderer.renderTo(ConfluenceSoyTemplateRenderer.java:42)
      at com.atlassian.confluence.renderer.template.DelegatingTemplateRenderer.renderTo(DelegatingTemplateRenderer.java:44)
      at com.atlassian.confluence.renderer.template.DelegatingTemplateRenderer.renderTo(DelegatingTemplateRenderer.java:25)
      at com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem.renderTemplate(AbstractMailNotificationQueueItem.java:310)
      at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.access$201(PreRenderedMailNotificationQueueItem.java:47)
      at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$2.call(PreRenderedMailNotificationQueueItem.java:337)
      at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$2.call(PreRenderedMailNotificationQueueItem.java:333)
      at com.atlassian.confluence.user.AuthenticatedUserImpersonator$2.call(AuthenticatedUserImpersonator.java:134)
      at com.atlassian.confluence.user.AuthenticatedUserImpersonator$1.call(AuthenticatedUserImpersonator.java:113)
      at com.atlassian.confluence.user.AuthenticatedUserImpersonator.asUser(AuthenticatedUserImpersonator.java:89)
      at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.renderTemplateForRecipient(PreRenderedMailNotificationQueueItem.java:332)
      at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem.renderTemplate(PreRenderedMailNotificationQueueItem.java:287)
      at com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem.renderLegacyTemplate(AbstractMailNotificationQueueItem.java:303)
      at com.atlassian.confluence.mail.template.AbstractMailNotificationQueueItem.preRenderBody(AbstractMailNotificationQueueItem.java:223)
      at com.atlassian.confluence.mail.template.PreRenderedMailNotificationQueueItem$Builder.render(PreRenderedMailNotificationQueueItem.java:498)
      at com.atlassian.confluence.mail.jobs.DefaultDailyReportManager.queueDailyReportEmail(DefaultDailyReportManager.java:134)
      at com.atlassian.confluence.mail.jobs.DefaultDailyReportManager.generateDailyReports(DefaultDailyReportManager.java:92)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
      at com.atlassian.spring.interceptors.SpringProfilingInterceptor.invoke(SpringProfilingInterceptor.java:16)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at com.sun.proxy.$Proxy92.generateDailyReports(Unknown Source)
      at com.atlassian.confluence.mail.jobs.DailyReportJob.doExecute(DailyReportJob.java:29)
      at com.atlassian.quartz.jobs.AbstractJob.executeInternal(AbstractJob.java:88)
      at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
      at com.atlassian.confluence.setup.quartz.DelegatingClusterAwareQuartzJobBean.executeJob(DelegatingClusterAwareQuartzJobBean.java:16)
      at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.surroundJobExecutionWithLogging(AbstractClusterAwareQuartzJobBean.java:64)
      at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.executeInternal(AbstractClusterAwareQuartzJobBean.java:46)
      at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:199)
      at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool$1.run(ConfluenceQuartzThreadPool.java:20)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549)
      Caused by: com.atlassian.soy.renderer.SoyException: Unable to compile Soy template in plugin module: com.atlassian.confluence.plugins.confluence-daily-summary-email:chrome-template
      at com.atlassian.soy.impl.DefaultSoyManager.render(DefaultSoyManager.java:123)
      at com.atlassian.soy.impl.SoyTemplateRendererImpl.render(SoyTemplateRendererImpl.java:40)
      at sun.reflect.GeneratedMethodAccessor703.invoke(Unknown Source)
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
      at java.lang.reflect.Method.invoke(Unknown Source)
      at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
      at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:58)
      at org.springframework.osgi.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:62)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:56)
      at org.springframework.osgi.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:39)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at org.springframework.osgi.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:59)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:131)
      at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:119)
      at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
      at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
      at com.sun.proxy.$Proxy796.render(Unknown Source)
      at com.atlassian.confluence.plugins.soy.ConfluenceSoyTemplateRenderer.renderTo(ConfluenceSoyTemplateRenderer.java:38)
      ... 39 more
      Caused by: com.google.common.util.concurrent.UncheckedExecutionException: java.lang.IllegalStateException: Required plugin module com.atlassian.confluence.plugins.confluence-daily-summary-email:chrome-template was either missing or disabled
      at com.google.common.cache.CustomConcurrentHashMap$ComputedUncheckedException.get(CustomConcurrentHashMap.java:3305)
      at com.google.common.cache.CustomConcurrentHashMap$ComputingValueReference.compute(CustomConcurrentHashMap.java:3441)
      at com.google.common.cache.CustomConcurrentHashMap$Segment.compute(CustomConcurrentHashMap.java:2322)
      at com.google.common.cache.CustomConcurrentHashMap$Segment.getOrCompute(CustomConcurrentHashMap.java:2291)
      at com.google.common.cache.CustomConcurrentHashMap.getOrCompute(CustomConcurrentHashMap.java:3802)
      at com.google.common.cache.ComputingCache.get(ComputingCache.java:46)
      at com.google.common.cache.AbstractCache.getUnchecked(AbstractCache.java:49)
      at com.atlassian.soy.impl.TemplateSetFactory.get(TemplateSetFactory.java:63)
      at com.atlassian.soy.impl.DefaultSoyManager.strainTofu(DefaultSoyManager.java:209)
      at com.atlassian.soy.impl.DefaultSoyManager.access$100(DefaultSoyManager.java:36)
      at com.atlassian.soy.impl.DefaultSoyManager$1.load(DefaultSoyManager.java:68)
      at com.atlassian.soy.impl.DefaultSoyManager$1.load(DefaultSoyManager.java:64)
      at com.google.common.cache.CustomConcurrentHashMap$ComputingValueReference.compute(CustomConcurrentHashMap.java:3426)
      at com.google.common.cache.CustomConcurrentHashMap$Segment.compute(CustomConcurrentHashMap.java:2322)
      at com.google.common.cache.CustomConcurrentHashMap$Segment.getOrCompute(CustomConcurrentHashMap.java:2291)
      at com.google.common.cache.CustomConcurrentHashMap.getOrCompute(CustomConcurrentHashMap.java:3802)
      at com.google.common.cache.ComputingCache.get(ComputingCache.java:46)
      at com.google.common.cache.AbstractCache.getUnchecked(AbstractCache.java:49)
      at com.atlassian.soy.impl.DefaultSoyManager.render(DefaultSoyManager.java:104)
      ... 61 more
      Caused by: java.lang.IllegalStateException: Required plugin module com.atlassian.confluence.plugins.confluence-daily-summary-email:chrome-template was either missing or disabled
      at com.atlassian.soy.impl.TemplateSetFactory$TemplateSetBuilder.addTemplatesForTree(TemplateSetFactory.java:99)
      at com.atlassian.soy.impl.TemplateSetFactory$TemplateSetBuilder.access$200(TemplateSetFactory.java:82)
      at com.atlassian.soy.impl.TemplateSetFactory.findRequiredTemplates(TemplateSetFactory.java:76)
      at com.atlassian.soy.impl.TemplateSetFactory.access$000(TemplateSetFactory.java:25)
      at com.atlassian.soy.impl.TemplateSetFactory$1.load(TemplateSetFactory.java:47)
      at com.atlassian.soy.impl.TemplateSetFactory$1.load(TemplateSetFactory.java:43)
      at com.google.common.cache.CustomConcurrentHashMap$ComputingValueReference.compute(CustomConcurrentHashMap.java:3426)
      ... 78 more

            [CONFSERVER-31792] Daily Summary Mail: chrome-template was either missing or disabled

            Chii (Inactive) added a comment - - edited

            korbinian: if you visit https://your_confluence_instance/admin/dailysummary/admin.action and uncheck the 'send by default' check box, does the mail stop?

            Chii (Inactive) added a comment - - edited korbinian : if you visit https://your_confluence_instance/admin/dailysummary/admin.action and uncheck the 'send by default' check box, does the mail stop?

            Korbinian Stoemmer added a comment - - edited

            is there a way to disable the "Confluence daily summary email' (aka recommanded update emails) and still provide daily change emails to the users? We do not want to send recommended updates to our users, but some users rely on the daily changes...

            (Confluence 5.6.6)

            Korbinian Stoemmer added a comment - - edited is there a way to disable the "Confluence daily summary email' (aka recommanded update emails) and still provide daily change emails to the users? We do not want to send recommended updates to our users, but some users rely on the daily changes... (Confluence 5.6.6)

            I have the same issue however I want the daily emails to be disabled what I don't want is my logs to be filled with ERRORs. Given that having the plugin disabled is a valid option, should the log message be a INFO or WARNING message only?

            Dean Macaulay added a comment - I have the same issue however I want the daily emails to be disabled what I don't want is my logs to be filled with ERRORs. Given that having the plugin disabled is a valid option, should the log message be a INFO or WARNING message only?

            Hi Marco

            Glad to hear that everything is work again for you.

            Regards
            Steve Haffenden
            Confluence Bugmaster
            Atlassian

            Steve Haffenden (Inactive) added a comment - Hi Marco Glad to hear that everything is work again for you. Regards Steve Haffenden Confluence Bugmaster Atlassian

            your hint checking the plugins was perfect. the "Confluence Email Resources" Plugin was enabled, but "Confluence daily summary email" was disabled which is wired because we didn't disable this one for sure. must have been been disabled by the upgrade process to 5.3.4. enabling the plugin solved the issue with daily update email. Thanks

            Marco Bumbacher added a comment - your hint checking the plugins was perfect. the "Confluence Email Resources" Plugin was enabled, but "Confluence daily summary email" was disabled which is wired because we didn't disable this one for sure. must have been been disabled by the upgrade process to 5.3.4. enabling the plugin solved the issue with daily update email. Thanks

            marco.bumbacher: can you check if your plugin named 'Confluence Email Resources' is enabled? Go to the admin page, click on the 'Manage Add-ons' menu item on the left, and in the page, find the drop-down on the page, and select 'All add-ons'. Search for the 'Confluence Email Resources' plugin, and see if it's been disabled.

            If it is disabled, re-enable it, and see if you get the daily mail back. Otherwise, you will need to raise a support ticket, and upload your logs from when you did the upgrade (hopefully, it is still around) for further diagnostics.

            Chii (Inactive) added a comment - marco.bumbacher : can you check if your plugin named 'Confluence Email Resources' is enabled? Go to the admin page, click on the 'Manage Add-ons' menu item on the left, and in the page, find the drop-down on the page, and select 'All add-ons'. Search for the 'Confluence Email Resources' plugin, and see if it's been disabled. If it is disabled, re-enable it, and see if you get the daily mail back. Otherwise, you will need to raise a support ticket , and upload your logs from when you did the upgrade (hopefully, it is still around) for further diagnostics.

            any progress on this ticket?

            Marco Bumbacher added a comment - any progress on this ticket?

              shaffenden Steve Haffenden (Inactive)
              b9397c4897f4 Marco Bumbacher
              Affected customers:
              0 This affects my team
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: