When setting Backdrop online and then checking the status of maintenance_mode works correctly:
docker@cli:/var/www/docroot/modules$ brush sset maintenance_mode 1
State key "maintenance_mode" has been succesfully updated.
docker@cli:/var/www/docroot/modules$ brush sget maintenance_mode
+------------------+-------+
| State key | Value |
+------------------+-------+
| maintenance_mode | 1 |
+------------------+-------+
However, while setting the website offline works as expected, checking the status of maintenance_mode gives error, apparently because of 0 as a state key:
docker@cli:/var/www/docroot/modules$ brush sset maintenance_mode 0
State key "maintenance_mode" has been succesfully updated.
docker@cli:/var/www/docroot/modules$ brush sget maintenance_mode
No state key found for maintenance_mode [error]
When setting Backdrop online and then checking the status of
maintenance_mode
works correctly:However, while setting the website offline works as expected, checking the status of
maintenance_mode
gives error, apparently because of0
as a state key: