Skip to main content
Skip table of contents

Maintenance mode (TAO Core)

Sometimes it is necessary to take your TAO installation off-line and you can make it unavailable to users by placing it into Maintenance Mode.

Important: The features described in this section are deprecated.

To set TAO into maintenance mode, you will need to run the following command in the directory where you installed TAO:

For Ubuntu:

CODE
sudo -u www-data php index.php 'oat\tao\scripts\tools\maintenance\Disable'

For CentOS:

CODE
sudo -u apache php index.php 'oat\tao\scripts\tools\maintenance\Disable'

To take your TAO out of maintenance mode, you will need to run the following command in the directory where you installed TAO:

For Ubuntu:

CODE
sudo -u www-data php index.php 'oat\tao\scripts\tools\maintenance\Enable'

For CentOS:

CODE
sudo -u apache php index.php 'oat\tao\scripts\tools\maintenance\Enable'
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.