Warning: You are browsing the documentation from version 4 to 10 of Pimcore. Please visit https://pimcore.com/docs/platform/ for the latest versions of Pimcore.
Version:

Maintenance Mode

Pimcore offers a maintenance mode, which restricts access to the admin user interface to the user that enabled the maintenance mode. It is session based and no other user will be able to access the website or the admin interface.

All other users get a default "Temporary not available" page displayed.

Moreover, maintenance scripts and headless executions of Pimcore will be prevented.
The Maintenance Mode is also activated by Pimcore during Pimcore Update.

Customize Maintenance Page

Overwrite the service Pimcore\Bundle\CoreBundle\EventListener\MaintenancePageListener in your app/config/services.yml.

Pimcore\Bundle\CoreBundle\EventListener\MaintenancePageListener:
    calls:
        - [loadTemplateFromResource, ['@@AppBundle/Resources/misc/maintenance.html']]
    tags:
        - { name: kernel.event_listener, event: kernel.request, method: onKernelRequest, priority: 620 }