10.8.1 to 10.9 Notifications macro doesn't work

I doubt it was deleted, if it was you would get a link to restore it when you go to the page.

Looks more like something prevent this page from being saved in your setup (as suggested by the failing restore), did you look at the application server log for more details ?

unfortunately, I don’t save logs (i don’t mount a docker volume to save them)

I have just a few logs --> A recurrent warning about encoding on some pages, it should prevent the macro page installation?

org.apache.catalina.connector.Response.setCharacterEncoding The encoding [] is not recognised by the JRE

Definitely not.

@gdelhumeau suggest me to download and to import xwiki-platform-notifications-macro-ui-10.9.xar, before delete his post.

Could it fix my problem?

I don’t know what can i explore.

Thanks

@gdelhumeau suggest me to download and to import xwiki-platform-notifications-macro-ui-10.9.xar, before delete his post.

I finally try this trick and it fixed my problem.

Thanks to everybody for your help, thanks for your time.

Regards.

Yes, we didn’t want you to do this because we knew it would fix the problem but it doesn’t help understanding why you got in this situation in the first place which means it may happen for other users too (unless you did something bad on your side, like delete the page yourself, etc). :slight_smile:

So I guess we’ll see with the next user having the problem now!

:slight_smile: I understand.

Below, I resume what I have done

  1. Run container MySql
  2. Run container xWiki 10.8.1, i added some extensions like Ldap authenticator.
  3. I imported some of pagse from a few xar files.
    At this point, notifications worked well
  4. Stop container 10.8.1, Run a new one 10.9 (use same configuration files, volume was mounted)
  5. When I opened xwiki, it suggested to me to install the 10.9 flavor extension. I did it… I think i was logged as a user (not admin) from LDAP with admin rights (user inside XWikiAdminGroup). Dashboard application disapear from my applications list.
  6. Connected as admin, I could upgrade flavor extension to 10.9 from extension menu. I did it. Dashbord application reappear, but macro doesn’t work, After that, I have wrote this topic.

I Hope, it will help you.

Thanks for giving the detailed steps you did. That will help. When/if I get some time, I’ll try to do that, skipping the LDAP part and the part about importing XAR files.

I am having a similar problem. I have Standard Wiki Flavor installed (and am running v10.10 of XWiki). When I go to the Notification Macro page ( i.e. http:///bin/view/XWiki/Notifications/Code/Macro/NotificationsMacro), I get the message:

“…The requested page could not be found…”

If I compute the differences for the Standard Flavor install, I did find the following messages related to Notification, i.e. seems like NotificationMacro was deleted:

"

Computing differences for [Notifications Application 10.10] on namespace [Home]
Computing differences for document [Home » XWiki » Notifications » MailTemplate]
The document [Home » XWiki » Notifications » MailTemplate] has no changes
Computing differences for document [Home » XWiki » Notifications » Code » Translations]
The document [Home » XWiki » Notifications » Code » Translations] has no changes
Computing differences for document [Home » XWiki » Notifications » Code » XWikiUserNotificationsSheet]
The document [Home » XWiki » Notifications » Code » XWikiUserNotificationsSheet] has no changes
Computing differences for document [Home » XWiki » Notifications » Code » NotificationsApplicationsPreferencesMacro]
The document [Home » XWiki » Notifications » Code » NotificationsApplicationsPreferencesMacro] has no changes
Computing differences for document [Home » XWiki » Notifications » Code » NotificationsPreferencesMacros]
The document [Home » XWiki » Notifications » Code » NotificationsPreferencesMacros] has no changes
Computing differences for document [Home » XWiki » Notifications » Code » NotificationAdministration]
The document [Home » XWiki » Notifications » Code » NotificationAdministration] has no changes
Computing differences for document [Home » XWiki » Notifications » Code » Translations]
The document [Home » XWiki » Notifications » Code » Translations] has no changes
Computing differences for document [Home » XWiki » Notifications » Code » EmailJobClass]
The document [Home » XWiki » Notifications » Code » EmailJobClass] has no changes
Computing differences for document [Home » XWiki » Notifications » Code » WebHome]
The document [Home » XWiki » Notifications » Code » WebHome] has no changes
Computing differences for document [Home » XWiki » Notifications » Code » NotificationFilterPreferenceLivetableResults]
The document [Home » XWiki » Notifications » Code » NotificationFilterPreferenceLivetableResults] has no changes
Computing differences for document [Home » XWiki » Notifications » Code » Translations]
The document [Home » XWiki » Notifications » Code » Translations] has no changes
Computing differences for document [Home » XWiki » Notifications » WebHome]
The document [Home » XWiki » Notifications » WebHome] has no changes
Computing differences for document [Home » Scheduler » NotificationEmailDailySender]
The document [Home » Scheduler » NotificationEmailDailySender] has no changes
Computing differences for document [Home » Scheduler » NotificationEmailWeeklySender]
The document [Home » Scheduler » NotificationEmailWeeklySender] has no changes
Computing differences for document [Home » XWiki » Notifications » Code » NotificationsAutoWatchPreferencesMacro]
The document [Home » XWiki » Notifications » Code » NotificationsAutoWatchPreferencesMacro] has no changes
Computing differences for document [Home » XWiki » Notifications » Code » NotificationsDisplayerUIX]
The document [Home » XWiki » Notifications » Code » NotificationsDisplayerUIX] has no changes
Computing differences for document [Home » XWiki » Notifications » Code » NotificationRSSService]
The document [Home » XWiki » Notifications » Code » NotificationRSSService] has no changes
Computing differences for document [Home » XWiki » Notifications » Code » Translations]
The document [Home » XWiki » Notifications » Code » Translations] has no changes
Computing differences for document [Home » XWiki » Notifications » Code » NotificationsFiltersPreferencesMacro]
The document [Home » XWiki » Notifications » Code » NotificationsFiltersPreferencesMacro] has no changes
Computing differences for document [Home » XWiki » Notifications » Code » Translations]
The document [Home » XWiki » Notifications » Code » Translations] has been deleted
Computing differences for document [Home » Scheduler » NotificationEmailHourlySender]
The document [Home » Scheduler » NotificationEmailHourlySender] has [1] changes
Computing differences for document [Home » XWiki » Notifications » Code » NotificationsEmailPreferencesMacro]
The document [Home » XWiki » Notifications » Code » NotificationsEmailPreferencesMacro] has no changes
Computing differences for document [Home » XWiki » Notifications » Code » NotificationPreferenceService]
The document [Home » XWiki » Notifications » Code » NotificationPreferenceService] has no changes
Computing differences for [Notifications Macro 10.10] on namespace [Home]
Computing differences for document [Home » XWiki » Notifications » Code » Macro » Translations]
The document [Home » XWiki » Notifications » Code » Macro » Translations] has no changes
Computing differences for document [Home » XWiki » Notifications » Code » Macro » Translations]
The document [Home » XWiki » Notifications » Code » Macro » Translations] has been deleted
Computing differences for document [Home » XWiki » Notifications » Code » Macro » Translations]
The document [Home » XWiki » Notifications » Code » Macro » Translations] has no changes
Computing differences for document [Home » XWiki » Notifications » Code » Macro » Translations]
The document [Home » XWiki » Notifications » Code » Macro » Translations] has no changes
Computing differences for document [Home » XWiki » Notifications » Code » Macro » NotificationsMacro]
The document [Home » XWiki » Notifications » Code » Macro » NotificationsMacro] has been deleted
Computing differences for [XWiki Platform - Annotations - UI 10.10] on namespace [Home

"