Automatic migration should call the upgrades in a cocoon env to avoid
2022-04-27 08:46:17,086 ERROR [org.ametys.core.observation.ObservationManager] (main;) The synchronous observer 'org.ametys.plugins.odfweb.observation.InvalidateCacheOnContentValidationOrUnpublishingObserver' failed to observe event[id: content.validated, issuer: null, args: [content.id = defaultSharedContent://454dd44f-f716-4450-aac6-f45dc4df304a, content = '/ametys-internal:sites/..../ametys-internal:contents/.....-shared' (defaultSharedContent://454dd44f-f716-4450-aac6-f45dc4df304a)]] org.apache.avalon.framework.CascadingRuntimeException: Unable to get the request object from the context.