-
Notifications
You must be signed in to change notification settings - Fork 38
Description
Describe the bug
On Amazon Linux 2 the process of promoting the author-standby as author-primary does not work properly. It failed at the stage to start the AEM Author service after it was previously stopped.
To Reproduce
Steps to reproduce the behavior:
- Run the Script /opt/shinesolutions/aem-tools/promote-author-standby-to-primary.sh on the author-standby
- Wait until script failed
Expected behavior
The Author-Standby promotion should have finished successfully.
Screenshots
Environment (please complete the following information if relevant):
- AEM OpenCloud possible all versions
- Amazon Linux 2
Additional context
it seems like that we should manage all service interactions in Amazon Linux 2 via the systemctl
command instead of using the service
command.
Trying to follow the process manually works
- systemctl stop aem-author
- Update config files
- systemctl start aem-author
As an alternative during the process of promoting the author-standby as author-primary, while the process waits for the login/welcome page to appear you can run the following commands in the following order to start AEM:
systemctl stop aem-author <- This will fail as the service is already stopped
systemctl start aem-author