+
[source, bash]
-----------------------------------------------
-wget http://evergreen-ils.org/downloads/Evergreen-ILS-2.9.3.tar.gz
-tar xzf Evergreen-ILS-2.9.3.tar.gz
+wget http://evergreen-ils.org/downloads/Evergreen-ILS-2.9.4.tar.gz
+tar xzf Evergreen-ILS-2.9.4.tar.gz
-----------------------------------------------
+
[NOTE]
+
[source, bash]
---------------------------------------------
-cd /home/opensrf/Evergreen-ILS-2.9.3
+cd /home/opensrf/Evergreen-ILS-2.9.4
---------------------------------------------
+
On the next command, replace `[distribution]` with one of these values for your
+
[source, bash]
------------------------------------------------------------
-cd /home/opensrf/Evergreen-ILS-2.9.3
+cd /home/opensrf/Evergreen-ILS-2.9.4
PATH=/openils/bin:$PATH ./configure --prefix=/openils --sysconfdir=/openils/conf
make
------------------------------------------------------------
+
[source, bash]
------------------------------------------------------------
-cd /home/opensrf/Evergreen-ILS-2.9.3
-make STAFF_CLIENT_STAMP_ID=rel_2_9_3 install
+cd /home/opensrf/Evergreen-ILS-2.9.4
+make STAFF_CLIENT_STAMP_ID=rel_2_9_4 install
------------------------------------------------------------
+
. As the *root* user, change all files to be owned by the opensrf user and group:
-----------------------------------------------------------
cd /openils/var/web/xul/
rm server
-ln -sf rel_2_9_3/server server
+ln -sf rel_2_9_4/server server
----------------------------------------------------------
+
. As the *opensrf* user, update opensrf_core.xml and opensrf.xml by copying the
+
[source, bash]
-------------------------------------------------------------------------
-cd /home/opensrf/Evergreen-ILS-2.9.3
+cd /home/opensrf/Evergreen-ILS-2.9.4
perl Open-ILS/src/support-scripts/eg_db_config --update-config --service all \
--create-offline --database evergreen --host localhost --user evergreen --password evergreen
-------------------------------------------------------------------------
+
[source, bash]
----------------------------------------------------------
-cp /home/opensrf/Evergreen-ILS-2.9.3/Open-ILS/examples/apache/eg_startup /etc/apache2/eg_startup
+cp /home/opensrf/Evergreen-ILS-2.9.4/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.9.3/Open-ILS/examples/apache/eg_vhost.conf /etc/apache2/eg_vhost.conf
+cp /home/opensrf/Evergreen-ILS-2.9.4/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.9.3/Open-ILS/examples/apache/eg.conf /etc/apache2/sites-available/eg.conf
+cp /home/opensrf/Evergreen-ILS-2.9.4/Open-ILS/examples/apache/eg.conf /etc/apache2/sites-available/eg.conf
----------------------------------------------------------
Upgrade the Evergreen database schema
=============
Evergreen provides incremental upgrade scripts that allow you to upgrade
from one minor version to the next until you have the current version of
-the schema. For example, if you want to upgrade from 2.5.1 to 2.9.3, you
+the schema. For example, if you want to upgrade from 2.5.1 to 2.9.4, you
would run the following upgrade scripts:
- 2.5.1-2.5.2-upgrade-db.sql
- 2.9.0-2.9.1-upgrade-db.sql
- 2.9.1-2.9.2-upgrade-db.sql
- 2.9.2-2.9.3-upgrade-db.sql
+- 2.9.3-2.9.4-upgrade-db.sql
Note that you do *not* want to run additional 2.5 scripts to upgrade to the
newest version of 2.5, since currently there is no automated way to upgrade
from 2.5.4+ to 2.6. Only upgrade as far as necessary to reach the major
version upgrade script (in this example, as far as 2.5.3).
-To upgrade across multiple major versions (e.g. from 2.3.0 to 2.9.3), use
+To upgrade across multiple major versions (e.g. from 2.3.0 to 2.9.4), use
the same logic to utilize the provided major version upgrade scripts. For
example:
- 2.7.4-2.8.0-upgrade-db.sql
- (run all incremental scripts from 2.8.0 to 2.8.4)
- 2.8.4-2.9.0-upgrade-db.sql
-- (run all incremental scripts from 2.9.0 to 2.9.3)
+- (run all incremental scripts from 2.9.0 to 2.9.4)
=============
[CAUTION]
[source, bash]
----------------------------------------------------------
-cd /home/opensrf/Evergreen-ILS-2.9.3/Open-ILS/src/sql/Pg
-psql -U evergreen -h localhost -f version-upgrade/2.9.2-2.9.3-upgrade-db.sql evergreen
+cd /home/opensrf/Evergreen-ILS-2.9.4/Open-ILS/src/sql/Pg
+psql -U evergreen -h localhost -f version-upgrade/2.9.3-2.9.4-upgrade-db.sql evergreen
----------------------------------------------------------
[TIP]