Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Requested licenses are not properly dispatched on all nodes #84

Open
surli opened this issue Aug 14, 2020 · 2 comments
Open

Requested licenses are not properly dispatched on all nodes #84

surli opened this issue Aug 14, 2020 · 2 comments

Comments

@surli
Copy link

surli commented Aug 14, 2020

Apparently licenses are not properly installed on all nodes in case of a XWiki install with multiples nodes like xwiki.org.

It just happened on xwiki.org when trying to install Poll App with a trial license: the license has been properly installed on one node only, making the app unusable on the other node. Requesting the license on both nodes solved the issue.

@tmortagne
Copy link
Member

I would suggest that the license module start producing serializable events (so that they are automatically sent to the other cluster members) when a license is validated on one node. Then have a listener listening to this event and registering the license when the event is remote (using RemoteObservationManagerContext#isRemoteState()).

@mflorea
Copy link
Contributor

mflorea commented Aug 17, 2020

ATM the workaround is to:

  • get the license from one of the cluster nodes (this generates the license on the XWiki Store)
  • use the Check for Updates button on the rest of the cluster nodes to download and apply the license that was generated in the previous step.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants