From 1b76957bcc7b7561b3126d06cd2bd836a9b773f2 Mon Sep 17 00:00:00 2001 From: rsoulliere Date: Wed, 8 Jun 2011 10:53:00 -0400 Subject: [PATCH] Update Opensrf upgrade instructions based on: http://evergreen-ils.org/dokuwiki/doku.php?id=opensrf:upgrading. Also adjust to latest 2.0.0 version of OpenSRF. --- 2.0/admin/Upgrading-Evergreen-2.0.xml | 52 ++++++++++++++++++++++++++++------- 1 file changed, 42 insertions(+), 10 deletions(-) diff --git a/2.0/admin/Upgrading-Evergreen-2.0.xml b/2.0/admin/Upgrading-Evergreen-2.0.xml index af6c4998d7..793476e98c 100644 --- a/2.0/admin/Upgrading-Evergreen-2.0.xml +++ b/2.0/admin/Upgrading-Evergreen-2.0.xml @@ -52,16 +52,16 @@
- Upgrading OpenSRF to 1.6.3OpenSRF + Upgrading OpenSRF to 2.0OpenSRF As the opensrf user, download and extract the source files for OpenSRF - 1.6.3: + 2.0: -wget http://open-ils.org/downloads/opensrf-1.6.3.tar.gz +wget http://open-ils.org/downloads/opensrf-2.0.0.tar.gz tar xzf opensrf-1.6.3.tar.gz - A new directory opensrf-1.6.3 is created. + A new directory opensrf-2.0.0 is created. For the latest edition of OpenSRF, check the Evergreen download page at . @@ -71,7 +71,7 @@ tar xzf opensrf-1.6.3.tar.gz prerequisite installer. aptitude install make -cd /home/opensrf/opensrf-1.6.3 +cd /home/opensrf/opensrf-2.0.0 Replace below with the following value for your distribution: @@ -98,7 +98,6 @@ cd /home/opensrf/opensrf-1.6.3 -cd /path/to/OpenSRF make -f src/extras/Makefile.install [distribution] This will install a number of packages required by OpenSRF on your system, @@ -114,7 +113,7 @@ make -f src/extras/Makefile.install [distribution] you want to include support for PythonPython and Java Java, respectively. -cd /home/opensrf/opensrf-1.6.3 +cd /home/opensrf/opensrf-2.0.0 ./configure --prefix=/openils --sysconfdir=/openils/conf make @@ -123,7 +122,7 @@ make As the root user, return to your OpenSRF build directory and install OpenSRF: -cd /home/opensrf/opensrf-1.6.3 +cd /home/opensrf/opensrf-2.0.0 make install @@ -131,6 +130,32 @@ make install As the root user, change the ownership of the installed files to the opensrf user: chown -R opensrf:opensrf /openils + + + Jot down the usernames/passwords of the two Jabber users created when OpenSRF was previously installed these users will correspond to + entries in opensrf_core.xml. + + + Important: Backup your current opensrf.xml and opensrf_core.xml configuration files. + +cp -p /openils/conf/opensrf.xml /openils/conf/opensrf.xml.backup +cp -p /openils/conf/opensrf_core.xml /openils/conf/opensrf_core.xml.backup + + + + As the opensrf user, copy the /openils/conf/opensrf_core.xml and + /openils/conf/opensrf.xml configuration files from the example templates: + +cp /openils/conf/opensrf.xml.example /openils/conf/opensrf.xml +cp /openils/conf/opensrf_core.xml.example /openils/conf/opensrf_core.xml + + Edit /openils/conf/opensrf_core.xml to change the Jabber usernames and passwords you jotted down earlier. + + + As the root user, Run the following command: + +ldconfig + Restart and Test OpenSRF @@ -150,8 +175,15 @@ Request Time in seconds: 0.007519 srfsh# - If test completed successfully move onto the next section. - Otherwise, refer to the troubleshooting chapter + + + If test completed successful restore your Evergreen configuration files: + +cp /openils/conf/opensrf.xml.backup /openils/conf/opensrf.xml +cp /openils/conf/opensrf_core.xml.backup /openils/conf/opensrf_core.xml + + + and move on to the next section to upgrade Evergreen. Otherwise, refer to the troubleshooting chapter of this documentation. -- 2.11.0