Closed michal-tobiasz-wttech closed 2 years ago
Is a simple AECU script like this working?
aecu.contentUpgradeBuilder() .forResources((String[])["/content"]) .printPath() .run()
Also, it looks like the message does not come from AECU. I miss e.g. an info message "AECU migration started" before. Maybe the script is executed directly by Groovy Console via its scheduler or external trigger?
Sorry I missed the message. These messages I can see in /apps/valtech/aecu/tools/history/details.html also In case of the info message "AECU migration started" I see in logs
25.05.2022 13:01:04.726 [cm-p29439-e93903-aem-author-586857fd96-fgb27] *INFO* [Apache Sling Repository Startup Thread #1] de.valtech.aecu.core.service.AecuCloudStartupService AECU migration started
Script Example:
aecu.contentUpgradeBuilder() .forResources((String[]) ['/content/test']) .printPath() .run()
getPage('/content/test')
Thanks, I will do some more experiments like changing the bundle start level and using a Sling startup listener.
We changed the startup level of the startup hook to 27 which should prevent this issue. You can retry with version 6.0.2 that will be published the next few days. Please reopen the issue if it is still a problem.
6.0.2 was released today.
I'm still facing an issue from this ticket https://github.com/valtech/aem-easy-content-upgrade/issues/184 It looks like it happens only on the Author instance.
groovy.lang.MissingPropertyException: No such property: aecu for class: Script1
or