Thanks to the very well Attachment-Documentation we were able to increase the attachment size really easily. As mentioned here we changed the attachment size within the XWikiPreferences-Object.
Unfortunately, the notifications no longer work since the time of this change. No user of the wiki is receiving the Mail-Notifications anymore. I first assumed that when I saved this preferences page, something related to the email notifications was overwritten, but I haven’t found a suitable property, which confirms my theory.
I tested several things:
-
If I share Pages via E-Mail, it works absolutely fine. That means, that the Mail-Traffic is configured well.
-
The most common problem: Wrong Blog-Notification-Settings in the Administration. Even though all seems correct here, I turned the sliders off and on again, hoping that this would reset the values internally. Unfortunately, this did not lead to success.
-
I checked my notification settings. Seems all good here too.
-
We are now in the Scheduler-Application. I ran different jobs, for example Notifications daily email and Notifications weekly email. No notifications were received. I can imagine that the problem occurs because of something is wrong with the Scheduler or the Jobs.
Afterwards, I set some of the Loggers on TRACE:
- com . xpn . xwiki . plugin . scheduler
- com . xpn . xwiki . plugin . scheduler . internal
- com . xpn . xwiki . plugin . scheduler . SchedulerPlugin
- org . quartz . impl . StdSchedulerFactory
- org . xwiki . mail
- com . xpn . xwiki . plugin . mailsender
When I trigger the Job manually, no E-Mail action is taking place.
Catalina.out after triggering:
2020-06-10 22:28:31,319 [exampleDOTcom/xwiki/bin/view/Scheduler/?do=trigger&which=Scheduler.NotificationEmailWeeklySender] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of getter [com.xpn.xwiki.api.Context.getLanguage] in 2518:/skins/flamingo/view.vm@9,43
2020-06-10 22:28:31,367 [DefaultQuartzScheduler_Worker-3] INFO c.x.x.p.s.i.StatusListener - Task [DEFAULT.xwiki:Scheduler.NotificationEmailWeeklySender_0] is about to be executed
2020-06-10 22:28:31,368 [exampleDOTcom/xwiki/bin/view/Scheduler/?do=trigger&which=Scheduler.NotificationEmailWeeklySender] INFO c.x.x.p.s.i.StatusListener - Task [DEFAULT.MT_1agse75iipb7e] scheduled
2020-06-10 22:28:31,368 [exampleDOTcom/xwiki/bin/view/Scheduler/?do=trigger&which=Scheduler.NotificationEmailWeeklySender] DEBUG c.x.x.p.s.SchedulerPluginApi - Trigger Job: [Notifications weekly email]
2020-06-10 22:28:31,493 [DefaultQuartzScheduler_Worker-3] INFO c.x.x.p.s.i.StatusListener - Task [DEFAULT.xwiki:Scheduler.NotificationEmailWeeklySender_0] executed:
2020-06-10 22:28:31,537 [exampleDOTcom/xwiki/bin/view/Scheduler/?do=trigger&which=Scheduler.NotificationEmailWeeklySender] WARN o.x.v.i.DefaultVelocityEngine - Deprecated usage of method [com.xpn.xwiki.web.XWikiMessageTool.get] in 2518:xwiki:Panels.QuickLinks@29,10
2020-06-10 22:28:32,001 [exampleDOTcom/xwiki/rest/notifications/count?media=json&userId=xwiki%3AXWiki.Admin&useUserPreferences=true¤tWiki=xwiki&async=true&_=1591820911901] TRACE i.DefaultNotificationsResource - Resource org.xwiki.notifications.rest.internal.DefaultNotificationsResource initialized. Serving user: ‘XWiki.Admin’2020-06-10 22:28:32,001 [exampleDOTcom/xwiki/rest/notifications/count?media=json&userId=xwiki%3AXWiki.Admin&useUserPreferences=true¤tWiki=xwiki&async=true&=1591820911901] DEBUG .r.i.NotificationEventExecutor - Added [Notification event executor: 1256 : count : [4true/20xwiki:XWiki.Admin///////21//////5xwiki/true]] in the queue
2020-06-10 22:28:32,001 [Notification pool thread] DEBUG .r.i.NotificationEventExecutor - Starting execution [Notification event executor: 1256 : count : [4true/20xwiki:XWiki.Admin///////21//////5xwiki/true]]
2020-06-10 22:28:32,009 [Notification event executor: 1256 : count : [4true/20xwiki:XWiki.Admin///////21//////5xwiki/true]] DEBUG .r.i.NotificationEventExecutor - Finishing execution [Notification event executor: 1256 : count : [4true/20xwiki:XWiki.Admin///////21//////5xwiki/true]]
2020-06-10 22:28:32,010 [Notification event executor: 1256 : count : [4true/20xwiki:XWiki.Admin///////21//////5xwiki/true]] DEBUG .r.i.NotificationEventExecutor - Removed [Notification event executor: 1256 : count : [4true/20xwiki:XWiki.Admin///////21//////5xwiki/true]] from the queue
2020-06-10 22:28:33,097 [exampleDOTcom/xwiki/rest/notifications/count?media=json&userId=xwiki%3AXWiki.Admin&useUserPreferences=true¤tWiki=xwiki&async=true&asyncId=1256&=1591820911902] TRACE i.DefaultNotificationsResource - Resource org.xwiki.notifications.rest.internal.DefaultNotificationsResource initialized. Serving user: ‘XWiki.Admin’
(I changed our real URL afterwards)
Do you have any idea what I could do to solve this problem? Maybe I missed something important?
Thanks in advance. Stay well!