From c48fd50647b9ce44757e23c47bc6fca6c5cc7bce Mon Sep 17 00:00:00 2001 From: Dan Wells Date: Tue, 20 Nov 2018 15:29:13 -0500 Subject: [PATCH] Update upgrade docs for 3.2.2 release Signed-off-by: Dan Wells --- docs/installation/server_upgrade.adoc | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/docs/installation/server_upgrade.adoc b/docs/installation/server_upgrade.adoc index 1983804ca3..5ef5d272b0 100644 --- a/docs/installation/server_upgrade.adoc +++ b/docs/installation/server_upgrade.adoc @@ -7,7 +7,7 @@ Software Prerequisites ~~~~~~~~~~~~~~~~~~~~~~ * **PostgreSQL**: The minimum supported version is 9.4. - * **Linux**: Evergreen 2.12.0 has been tested on Debian Stretch (9.0), + * **Linux**: Evergreen 3.2.2 has been tested on Debian Stretch (9.0), Debian Jessie (8.0), Ubuntu Xenial Xerus (16.04),and Ubuntu Trusty Tahr (14.04). If you are running an older version of these distributions, you may want to upgrade before upgrading Evergreen. For instructions on upgrading these @@ -42,12 +42,12 @@ osrf_control --localhost --stop-all .. Back up the /openils directory. . Upgrade OpenSRF. Download and install the latest version of OpenSRF from the https://evergreen-ils.org/opensrf-downloads/[OpenSRF download page]. -. As the *opensrf* user, download and extract Evergreen 2.12.0: +. As the *opensrf* user, download and extract Evergreen 3.2.2: + [source, bash] ----------------------------------------------- -wget https://evergreen-ils.org/downloads/Evergreen-ILS-2.12.0.tar.gz -tar xzf Evergreen-ILS-2.12.0.tar.gz +wget https://evergreen-ils.org/downloads/Evergreen-ILS-3.2.2.tar.gz +tar xzf Evergreen-ILS-3.2.2.tar.gz ----------------------------------------------- + [NOTE] @@ -57,7 +57,7 @@ For the latest edition of Evergreen, check the https://evergreen-ils.org/egdownl + [source, bash] --------------------------------------------- -cd /home/opensrf/Evergreen-ILS-2.12.0 +cd /home/opensrf/Evergreen-ILS-3.2.2 --------------------------------------------- + On the next command, replace `[distribution]` with one of these values for your @@ -81,7 +81,7 @@ make -f Open-ILS/src/extras/Makefile.install [distribution] + [source, bash] ------------------------------------------------------------ -cd /home/opensrf/Evergreen-ILS-2.12.0 +cd /home/opensrf/Evergreen-ILS-3.2.2 PATH=/openils/bin:$PATH ./configure --prefix=/openils --sysconfdir=/openils/conf make ------------------------------------------------------------ @@ -92,7 +92,7 @@ These instructions assume that you have also installed OpenSRF under /openils/. + [source, bash] ------------------------------------------------------------ -cd /home/opensrf/Evergreen-ILS-2.12.0 +cd /home/opensrf/Evergreen-ILS-3.2.2 make install ------------------------------------------------------------ + @@ -103,8 +103,8 @@ can supply `STAFF_CLIENT_STAMP` during the `make install` step like this: + [source, bash] ------------------------------------------------------------ -cd /home/opensrf/Evergreen-ILS-2.12.0 -make STAFF_CLIENT_STAMP_ID=rel_2_12_rc install +cd /home/opensrf/Evergreen-ILS-3.2.2 +make STAFF_CLIENT_STAMP_ID=rel_3_2_2 install ------------------------------------------------------------ + . As the *root* user, change all files to be owned by the opensrf user and group: @@ -121,7 +121,7 @@ chown -R opensrf:opensrf /openils ----------------------------------------------------------- cd /openils/var/web/xul/ rm server -ln -sf rel_2_12_rc/server server +ln -sf rel_3_2_2/server server ---------------------------------------------------------- + . As the *opensrf* user, update opensrf_core.xml and opensrf.xml by copying the @@ -141,7 +141,7 @@ Copying these configuration files will remove any customizations you have made t + [source, bash] ------------------------------------------------------------------------- -cd /home/opensrf/Evergreen-ILS-2.12.0 +cd /home/opensrf/Evergreen-ILS-3.2.2 perl Open-ILS/src/support-scripts/eg_db_config --update-config --service all \ --create-offline --database evergreen --host localhost --user evergreen --password evergreen ------------------------------------------------------------------------- @@ -165,21 +165,21 @@ The diff command can be used to show the differences between the distribution ve + [source, bash] ---------------------------------------------------------- -cp /home/opensrf/Evergreen-ILS-2.12.0/Open-ILS/examples/apache/eg_startup /etc/apache2/eg_startup +cp /home/opensrf/Evergreen-ILS-3.2.2/Open-ILS/examples/apache/eg_startup /etc/apache2/eg_startup ---------------------------------------------------------- + .. Update /etc/apache2/eg_vhost.conf by copying the example from Open-ILS/examples/apache/eg_vhost.conf. + [source, bash] ---------------------------------------------------------- -cp /home/opensrf/Evergreen-ILS-2.12.0/Open-ILS/examples/apache/eg_vhost.conf /etc/apache2/eg_vhost.conf +cp /home/opensrf/Evergreen-ILS-3.2.2/Open-ILS/examples/apache/eg_vhost.conf /etc/apache2/eg_vhost.conf ---------------------------------------------------------- + .. Update /etc/apache2/sites-available/eg.conf by copying the example from Open-ILS/examples/apache/eg.conf. + [source, bash] ---------------------------------------------------------- -cp /home/opensrf/Evergreen-ILS-2.12.0/Open-ILS/examples/apache/eg.conf /etc/apache2/sites-available/eg.conf +cp /home/opensrf/Evergreen-ILS-3.2.2/Open-ILS/examples/apache/eg.conf /etc/apache2/sites-available/eg.conf ---------------------------------------------------------- Upgrade the Evergreen database schema @@ -278,8 +278,8 @@ as a user with the ability to connect to the database server. [source, bash] ---------------------------------------------------------- -cd /home/opensrf/Evergreen-ILS-2.12.0/Open-ILS/src/sql/Pg -psql -U evergreen -h localhost -f version-upgrade/2.11.3-2.12.0-upgrade-db.sql evergreen +cd /home/opensrf/Evergreen-ILS-3.2.2/Open-ILS/src/sql/Pg +psql -U evergreen -h localhost -f version-upgrade/3.2.1-3.2.2-upgrade-db.sql evergreen ---------------------------------------------------------- [TIP] -- 2.11.0