Maintenance guide

Enabling maintenance

SSH into your ZenHub Enterprise Instance using: ssh admin@your_zhe_instance

To enable Maintenance Mode:

sudo zhe-maintenance enable

Once enabled you will see the following output from the command line:

admin@zhe-10-3-zenhub-io:~$ sudo zhe-maintenance enable
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
* Reloading nginx nginx
[ OK ]
ZenHub Enterprise Maintenance Mode has been Enabled!
admin@zhe-10-3-zenhub-io:~$

When you access the settings page you will see the system is in maintenance mode.

Disabling maintenance

SSH into your ZenHub Enterprise Instance using: ssh admin@your_zhe_instance

To disable maintenance mode:

sudo zhe-maintenance disable

Once disabled, you’ll see the following output from the command line:

admin@zhe-10-3-zenhub-io:~$ sudo zhe-maintenance disable
nginx: the configuration file /etc/nginx/nginx.conf syntax is ok
nginx: configuration file /etc/nginx/nginx.conf test is successful
* Reloading nginx configuration nginx
[ OK ]
ZenHub Enterprise Maintenance Mode has been Disabled!
admin@zhe-10-3-zenhub-io:~$

The settings page will be usable again.

Need any help enabling or disabling maintenance mode? Get in touch with us at enterprise@zenhub.com