User Tools

Site Tools


upgrading:evergreen:1.6.0.6_to_1.6.0.7

Upgrading Evergreen 1.6.0.6 to 1.6.0.7

  • If you are currently on a version before 1.6.0.6, make sure you follow the upgrade instructions for all previous releases up to 1.6.0.6.
  1. Stop Apache.
  2. Stop all Evergreen and OpenSRF services. As the opensrf user:
    osrf_ctl.sh -l -a stop_all
    1. NOTE: You may skip this step if OpenSRF 1.2.2 was previously installed.
  3. Download and build Evergreen:
    1. As the opensrf user, download and extract the latest version of Evergreen (http://open-ils.org/downloads/Evergreen-ILS-1.6.0.7.tar.gz):
      wget http://evergreen-ils.org/downloads/Evergreen-ILS-1.6.0.7.tar.gz
      tar xzf Evergreen-ILS-1.6.0.7.tar.gz
    2. As the root user, install the prerequisites. Replace <distribution> below with one of these values for your actual distribution:
      • debian-etch for Debian Etch (4.0)
      • debian-lenny for Debian Lenny
      • ubuntu-hardy for Ubuntu Hardy Heron (8.04)
      • ubuntu-karmic for Ubuntu Karmic Koala (9.10)
        cd /home/opensrf/Evergreen-ILS-1.6.0.7
        make -f Open-ILS/src/extras/Makefile.install <distribution>
    3. As the opensrf user, configure and compile Evergreen:
      cd /home/opensrf/Evergreen-ILS-1.6.0.7
      ./configure --prefix=/openils --sysconfdir=/openils/conf
      make
    4. As the root user, install Evergreen:
      make STAFF_CLIENT_BUILD_ID=rel_1_6_0_7 install
    5. As the root user, change all files to be owned by the opensrf user/group:
      sudo chown -R opensrf:opensrf /openils
    6. As the opensrf user, update configuration files:
      cd /home/opensrf/Evergreen-ILS-1.6.0.7
      # Build live-db-setup.pl for the cgi-bin bootstrapping scripts
      # and offline-config.pl for the offline staff client data uploader
      perl Open-ILS/src/support-scripts/eg_db_config.pl \
        --create-bootstrap --create-offline --user evergreen --password evergreen \
        --hostname localhost --port 5432 --database evergreen
    7. As the opensrf user, update server symlink in /openils/var/web/xul/:
      cd /openils/var/web/xul/
      rm server
      ln -s rel_1_6_0_7/server
  4. Upgrade the database:
    1. NOTE: it is recommended that you back up your Evergreen database in order to restore your data if anything goes wrong
    2. cd /home/opensrf/Evergreen-ILS-1.6.0.7
      psql -U evergreen -h localhost -f Open-ILS/src/sql/Pg/1.6.0.6-1.6.0.7-upgrade-db.sql evergreen
  5. As the opensrf user, copy /openils/conf/oils_web.xml.example to /openils/conf/oils_web.xml (needed for acquisitions templates)
  6. Start all Evergreen and OpenSRF services. As the opensrf user:
    osrf_ctl.sh -l -a start_all
  7. Start Apache.
  8. As the opensrf user, run autogen to refresh the static organizational data files:
    cd /openils/bin
    ./autogen.sh -c /openils/conf/opensrf_core.xml -u
  9. Troubleshooting:

If you run into errors, see: Troubleshooting: Checking for Errors for help finding errors in the log files. You may also ask the evergreen community using the mailing lists. Including error information from the logs will be extremely helpful when seeking assistance.


In some cases, you may upgrade OpenSRF to version 1.2 instead of installing from scratch. To upgrade:

  1. Go to the instructions for installing OpenSRF 1.2 and complete steps 2, 3, (4 I, II, III b) and 5
  2. Restart OpenSRF and test connections using srfsh.
upgrading/evergreen/1.6.0.6_to_1.6.0.7.txt · Last modified: 2010/07/28 17:53 by aatre

© 2008-2014 GPLS and others. Evergreen is open source software, freely licensed under GNU GPLv2 or later.
The Evergreen Project is a member of Software Freedom Conservancy.