System Administrator Jahia 7.3 Jahia 8
Different ways to activate maintenance mode
At the moment (January 2021, Jahia releases 22.214.171.124 and 126.96.36.199), the property maintenanceMode is not being handled by Jahia (cf https://jira.jahia.org/browse/QA-13569).
Consequently, how can we activate the maintenance mode?
There are 3 ways:
- Manually thanks to the tools: JAHIA_URL/modules/tools/maintenance.jsp
- Thanks to a curl command:
curl -s -u 'USER:PASSWORD' -XGET "JAHIA_URL/modules/tools/maintenance.jsp?maintenance=true"
- Thanks to a SSH command through the Karaf console:
ssh -p 8101 jahia@localhost -C "dx:maintenance on"