Frappe Cloud Support Partners Foundation Frappe School

How to Deactivate and activate bench site

How to deactivate and activate sites temporarily (just like in using a bench command.

in site_config.json of the site set,

 "maintenance_mode": 1,
 "pause_scheduler": 1,

try this:

bench --site [] set-maintenance-mode on

I use it to stop sites that I need to work on all the time. If you do not have multiple multi-tenant sites then the command would look like this:

bench set-maintenance-mode on

(Likewise change β€œon” to β€œoff” to reactivate the site)


1 Like