From: Jason Boyer Date: Mon, 22 May 2023 20:14:34 +0000 (-0400) Subject: Update Server Upgrade docs X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=3f00ef309bbeb8c27570a1f66bdabb9556a382de;p=Evergreen.git Update Server Upgrade docs Signed-off-by: Jason Boyer --- diff --git a/docs/modules/installation/pages/server_upgrade.adoc b/docs/modules/installation/pages/server_upgrade.adoc index 29077ce32d..92230fcdc7 100644 --- a/docs/modules/installation/pages/server_upgrade.adoc +++ b/docs/modules/installation/pages/server_upgrade.adoc @@ -7,7 +7,7 @@ All of the steps in this chapter are to be completed from the command line. == Software Prerequisites == * **PostgreSQL**: The minimum supported version is 10. - * **Linux**: Evergreen 3.X.X has been tested on Debian Buster + * **Linux**: Evergreen 3.11.0 has been tested on Debian Buster (10.0), Debian Bullseye (11.0), Ubuntu Focal Fossa (20.04), and Ubuntu Jammy Jellyfish (22.04). If you are running an older version of these distributions, you may want to upgrade before @@ -43,12 +43,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 3.X.X: +. As the *opensrf* user, download and extract Evergreen 3.11.0: + [source, bash] ----------------------------------------------- -wget https://evergreen-ils.org/downloads/Evergreen-ILS-3.X.X.tar.gz -tar xzf Evergreen-ILS-3.X.X.tar.gz +wget https://evergreen-ils.org/downloads/Evergreen-ILS-3.11.0.tar.gz +tar xzf Evergreen-ILS-3.11.0.tar.gz ----------------------------------------------- + [NOTE] @@ -58,7 +58,7 @@ For the latest edition of Evergreen, check the https://evergreen-ils.org/egdownl + [source, bash] --------------------------------------------- -cd /home/opensrf/Evergreen-ILS-3.X.X +cd /home/opensrf/Evergreen-ILS-3.11.0 --------------------------------------------- + On the next command, replace `[distribution]` with one of these values for your @@ -82,7 +82,7 @@ make -f Open-ILS/src/extras/Makefile.install [distribution] + [source, bash] ------------------------------------------------------------ -cd /home/opensrf/Evergreen-ILS-3.X.X +cd /home/opensrf/Evergreen-ILS-3.11.0 PATH=/openils/bin:$PATH ./configure --prefix=/openils --sysconfdir=/openils/conf make ------------------------------------------------------------ @@ -93,7 +93,7 @@ These instructions assume that you have also installed OpenSRF under /openils/. + [source, bash] ------------------------------------------------------------ -cd /home/opensrf/Evergreen-ILS-3.X.X +cd /home/opensrf/Evergreen-ILS-3.11.0 make install ------------------------------------------------------------ + @@ -104,8 +104,8 @@ can supply `STAFF_CLIENT_STAMP` during the `make install` step like this: + [source, bash] ------------------------------------------------------------ -cd /home/opensrf/Evergreen-ILS-3.X.X -make STAFF_CLIENT_STAMP_ID=rel_3_x_x install +cd /home/opensrf/Evergreen-ILS-3.11.0 +make STAFF_CLIENT_STAMP_ID=rel_3_11_0 install ------------------------------------------------------------ + . As the *root* user, change all files to be owned by the opensrf user and group: @@ -122,7 +122,7 @@ chown -R opensrf:opensrf /openils ------------------------------------------------------------ cd /openils/var/web/xul/ rm server -ln -sf rel_3_x_x/server server +ln -sf rel_3_11_0/server server ------------------------------------------------------------ + . As the *opensrf* user, update opensrf_core.xml and opensrf.xml by copying the @@ -142,7 +142,7 @@ Copying these configuration files will remove any customizations you have made t + [source, bash] ------------------------------------------------------------------------- -cd /home/opensrf/Evergreen-ILS-3.X.X +cd /home/opensrf/Evergreen-ILS-3.11.0 perl Open-ILS/src/support-scripts/eg_db_config --update-config --service all \ --create-offline --database evergreen --host localhost --user evergreen --password evergreen ------------------------------------------------------------------------- @@ -166,21 +166,21 @@ The diff command can be used to show the differences between the distribution ve + [source, bash] ---------------------------------------------------------- -cp /home/opensrf/Evergreen-ILS-3.X.X/Open-ILS/examples/apache/eg_startup /etc/apache2/eg_startup +cp /home/opensrf/Evergreen-ILS-3.11.0/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-3.X.X/Open-ILS/examples/apache/eg_vhost.conf /etc/apache2/eg_vhost.conf +cp /home/opensrf/Evergreen-ILS-3.11.0/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-3.X.X/Open-ILS/examples/apache/eg.conf /etc/apache2/sites-available/eg.conf +cp /home/opensrf/Evergreen-ILS-3.11.0/Open-ILS/examples/apache/eg.conf /etc/apache2/sites-available/eg.conf ---------------------------------------------------------- == Upgrade the Evergreen database schema == @@ -236,8 +236,8 @@ as a user with the ability to connect to the database server. [source, bash] ---------------------------------------------------------- -cd /home/opensrf/Evergreen-ILS-3.X.X/Open-ILS/src/sql/Pg -psql -U evergreen -h localhost -f version-upgrade/3.X.W-3.X.X-upgrade-db.sql evergreen +cd /home/opensrf/Evergreen-ILS-3.11.0/Open-ILS/src/sql/Pg +psql -U evergreen -h localhost -f version-upgrade/3.10.2-3.11.0-upgrade-db.sql evergreen ---------------------------------------------------------- [TIP]