running an older version of these distributions, you may want to upgrade
before upgrading Evergreen. For instructions on upgrading these
distributions, visit the Debian or Ubuntu websites.
- * **OpenSRF**: The minimum supported version of OpenSRF is 2.2.0.
+ * **OpenSRF**: The minimum supported version of OpenSRF is 2.2.1.
In the following instructions, you are asked to perform certain steps as either the root or opensrf user.
.. Back up the /openils directory.
. Upgrade OpenSRF. Download and install the latest version of OpenSRF from
the http://evergreen-ils.org/opensrf-downloads/[OpenSRF download page].
-. As the opensrf user, download and extract Evergreen 2.4:
+. As the opensrf user, download and extract Evergreen 2.5:
+
[source, bash]
-----------------------------------------------
-wget http://evergreen-ils.org/downloads/previews/Evergreen-ILS-2.5-beta1.tar.gz
-tar xzf Evergreen-ILS-2.5-beta1.tar.gz
+wget http://evergreen-ils.org/downloads/previews/Evergreen-ILS-2.5.0.tar.gz
+tar xzf Evergreen-ILS-2.5.0.tar.gz
-----------------------------------------------
+
[NOTE]
+
[source, bash]
---------------------------------------------
-cd /home/opensrf/Evergreen-ILS-2.5-beta1
+cd /home/opensrf/Evergreen-ILS-2.5.0
---------------------------------------------
+
On the next command, replace `[distribution]` with one of these values for your
+
[source, bash]
------------------------------------------------------------
-cd /home/opensrf/Evergreen-ILS-2.5.beta1
+cd /home/opensrf/Evergreen-ILS-2.5.0
./configure --prefix=/openils --sysconfdir=/openils/conf
make
------------------------------------------------------------
+
[source, bash]
------------------------------------------------------------
-cd /home/opensrf/Evergreen-ILS-2.5-beta1
-make STAFF_CLIENT_STAMP_ID=rel_2_5_beta1 install
+cd /home/opensrf/Evergreen-ILS-2.5.0
+make STAFF_CLIENT_STAMP_ID=rel_2_5_0 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_5_beta1/server server
+ln -sf rel_2_5_0/server server
----------------------------------------------------------
+
. As the opensrf user, update opensrf_core.xml and opensrf.xml by copying the
+
[source, bash]
-------------------------------------------------------------------------
-cd /home/opensrf/Evergreen-ILS-2.5-beta1
+cd /home/opensrf/Evergreen-ILS-2.5.0
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.5-beta1/Open-ILS/examples/apache/eg_startup /etc/apache2/eg_startup
+cp /home/opensrf/Evergreen-ILS-2.5.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-2.5-beta1/Open-ILS/examples/apache/eg_vhost.conf /etc/apache2/eg_vhost.conf
+cp /home/opensrf/Evergreen-ILS-2.5.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-2.5-beta1/Open-ILS/examples/apache/eg.conf /etc/apache2/sites-available/eg.conf
+cp /home/opensrf/Evergreen-ILS-2.5.0/Open-ILS/examples/apache/eg.conf /etc/apache2/sites-available/eg.conf
----------------------------------------------------------
Upgrade the Evergreen database schema
[source, bash]
----------------------------------------------------------
-cd /home/opensrf/Evergreen-ILS-2.4.0/Open-ILS/src/sql/Pg
-psql -U evergreen -h localhost -f version-upgrade/2.4.2-2.5-beta1-upgrade-db.sql evergreen
+cd /home/opensrf/Evergreen-ILS-2.5.0/Open-ILS/src/sql/Pg
+psql -U evergreen -h localhost -f version-upgrade/2.4.3-2.5.0-upgrade-db.sql evergreen
----------------------------------------------------------
Restart Evergreen and Test