Black Friday Black Friday SALE: 40% off every resource. ONE HOUR LEFT Shop the sale

Maintenance Mode for Paymenter

Install Maintenance Mode and close your site for the first time.

On this page

Requirements

  • Paymenter 1.x.
  • The Paymenter cron job, to start and stop scheduled windows.

1. Upload the extension

From the admin panel

  1. Go to Extensions → Available Extensions and click Upload Extension.
  2. Choose the zip you downloaded and upload it.
  3. Open the Ready to Install tab and click Install next to MaintenanceMode.

Over SFTP

  1. Extract the zip.

  2. Upload the MaintenanceMode folder to the extensions folder of Paymenter:

    /var/www/paymenter/extensions/Others/MaintenanceMode
    
  3. Give the web server user ownership of the files:

    chown -R www-data:www-data /var/www/paymenter/extensions/Others/MaintenanceMode
    
  4. Go to Extensions → Available Extensions, open the Ready to Install tab and click Install next to MaintenanceMode.

2. Enable the extension

  1. Go to Extensions → Extensions and edit MaintenanceMode.
  2. Turn on Enabled and save.

The extension creates its database tables and a random Secret bypass key when you enable it. Maintenance appears under Configuration in the admin menu.

3. Close the site

  1. Go to Configuration → Maintenance and click Add maintenance.
  2. Fill in a Name, for example Server move, and leave Rule on Close everything.
  3. Leave Starts at empty and save.
  4. Click Start now next to it in the list.

Visitors now see the maintenance page. As staff you keep full access. Open the site in a private window to see what customers see, or use Preview the page.

Click Stop now to open the site again.

Last updated

Still stuck? Open a ticket on the help page or ask in Discord. Mention your version and what you tried.