Personal tools
You are here: Home Documentation FAQs How do I put Plone into read-only mode?
Support

Get Help

Join our chat rooms or support forums if you have more specific questions.

Plone Training
Learn how to design, build, and deploy a website in Plone through one of the numerous Plone training sessions around the world.
Find Plone training…
 
Document Actions

How do I put Plone into read-only mode?

Up to Table of Contents

This FAQ applies to: Any version.

When performing certain tasks (upgrades, for instance), it might make sense to put the production site into read-only mode to make sure no content is added while upgrade/migration is performed on a parallel instance, and then overwrite the old database file with the new version.

To set Zope into read-only mode, do the following:

  • In your etc/zope.conf, add:
    • enable-product-installation off
    • read-only-database on
  • If you are running a ZEO setup, make sure the above settings are in all clients, and that the server has the following in 'zeo.conf':
    • read-only true
  • Restart the Zope instance (remember to restart both the clients and the server if you are running a ZEO setup)

Your Plone setup should now be fully functional, but you can't add any content or change any settings while you are in read-only mode, obviously.

by Alexander Limi last modified May 28, 2007 - 21:48
Contributors: Reinout van Rees
All content is copyright Plone Foundation and the individual contributors.

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by