Skip to content
This repository has been archived by the owner on Nov 18, 2020. It is now read-only.

Read Only Mode

cam156 edited this page May 17, 2018 · 2 revisions

ScholarSphere Read Only Mode

You may want to upgrade the backend, or something may be slightly wrong. All you know is that you want to make sure nothing gets deposited for a time.

Set the system into read only mode.

  1. Edit the /config/application.yml and set the read_only flag to true:

    read_only: true

  2. Restart the web server(s) (this will need to be run on any load balanced web servers)

    touch tmp/restart.txt

  3. Check the system to make sure click on Share Your Work gives you a read only message

Set the system back to normal operation

  1. Edit the /config/application.yml and set the read_only flag to false:

    read_only: false

  2. Restart the web server(s) (this will need to be run on any load balanced web servers)

    touch tmp/restart.txt

  3. Check the system to make sure click on Share Your Work gives you an edit form

Clone this wiki locally