You are here

Running Alfresco in read-only mode

You may want to run Alfresco in read-only mode, for example, if you are using Alfresco for Solr to track in order to maintain indexes.
To set Alfresco to read-only mode, use one of the following methods:
  • Using the file
  • Using a JMX client, such as JConsole

Using the file

The server.allowWrite property specifies that the repository will allow write operations. If set to false, the repository is in read-only mode.
  1. Open the file.
  2. Add the following property:
  3. Save the file.
  4. Restart the Alfresco server.

Using a JMX client, such as JConsole

  1. Login to JConsole.
  2. Using the MBean tab, go to JMX MBeans > Alfresco > Configuration > sysAdmin > Attributes.
  3. Set the value of the server.allowWrite=false attribute to read-only.
  4. Click Refresh.
Follow these steps to check if Alfresco is set to read-only mode or not:
  1. Go to the Alfresco Admin Console.
  2. Under General, click System Settings.
  3. Under Alfresco Content Services Repository Settings, check the value of Server Allow Writes.

Sending feedback to the Alfresco documentation team

You don't appear to have JavaScript enabled in your browser. With JavaScript enabled, you can provide feedback to us using our simple form. Here are some instructions on how to enable JavaScript in your web browser.