* **PostgreSQL**: Version 9.1 is recommended. The minimum supported version
is 9.1.
- * **Linux**: Evergreen 2.4 has been tested on Debian Squeeze (6.0),
+ * **Linux**: Evergreen 2.5 has been tested on Debian Wheezy (7.0) Debian Squeeze (6.0),
Ubuntu Lucid Lynx (10.04) and Ubuntu Precise Pangolin (12.04). If you are
running an older version of these distributions, you may want to upgrade
before upgrading Evergreen. For instructions on upgrading these
+
.. Back up the /openils directory.
. Upgrade OpenSRF. Download and install the latest version of OpenSRF from
-the http://evergreen-ils.org/opensrf.php[OpenSRF download page].
+the http://evergreen-ils.org/opensrf-downloads/[OpenSRF download page].
. As the opensrf user, download and extract Evergreen 2.4:
+
[source, bash]
-----------------------------------------------
-wget http://www.open-ils.org/downloads/Evergreen-ILS-2.4.0.tar.gz
-tar xzf Evergreen-ILS-2.4.0.tar.gz
+wget http://evergreen-ils.org/downloads/previews/Evergreen-ILS-2.5-beta1.tar.gz
+tar xzf http://evergreen-ils.org/downloads/previews/Evergreen-ILS-2.5-beta1.tar.gz
-----------------------------------------------
+
[NOTE]
+
[source, bash]
----------------------------------------------
-cd /home/opensrf/Evergreen-ILS-2.4.0
+cd /home/opensrf/Evergreen-ILS-2.5-beta1
---------------------------------------------
+
On the next command, replace `[distribution]` with one of these values for your
indexterm:[Linux, Ubuntu]
+ * `debian-wheezy` for Debian Wheezy (7.0)
* `debian-squeeze` for Debian Squeeze (6.0)
* `ubuntu-lucid` for Ubuntu Lucid Lynx (10.04)
* `ubuntu-precise` for Ubuntu Precise Pangolin (12.04)
+
[source, bash]
------------------------------------------------------------
-cd /home/opensrf/Evergreen-ILS-2.4.0
+cd /home/opensrf/Evergreen-ILS-2.5.beta1
./configure --prefix=/openils --sysconfdir=/openils/conf
make
------------------------------------------------------------
+
[source, bash]
------------------------------------------------------------
-cd /home/opensrf/Evergreen-ILS-2.4.0
-make STAFF_CLIENT_STAMP_ID=rel_2_4_0 install
+cd /home/opensrf/Evergreen-ILS-2.5-beta1
+make STAFF_CLIENT_STAMP_ID=rel_2_5_beta1 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_4_0/server server
+ln -sf rel_2_5_beta1/server server
----------------------------------------------------------
+
. As the opensrf user, update opensrf_core.xml and opensrf.xml by copying the
+
[source, bash]
-------------------------------------------------------------------------
-cd /home/opensrf/Evergreen-ILS-2.4.0
+cd /home/opensrf/Evergreen-ILS-2.5-beta1
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.4.0/Open-ILS/examples/apache/eg_startup /etc/apache2/eg_startup
+cp /home/opensrf/Evergreen-ILS-2.5-beta1/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.4.0/Open-ILS/examples/apache/eg_vhost.conf /etc/apache2/eg_vhost.conf
+cp /home/opensrf/Evergreen-ILS-2.5-beta1/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.4.0/Open-ILS/examples/apache/eg.conf /etc/apache2/sites-available/eg.conf
+cp /home/opensrf/Evergreen-ILS-2.5-beta1/Open-ILS/examples/apache/eg.conf /etc/apache2/sites-available/eg.conf
----------------------------------------------------------
Upgrade the Evergreen database schema
[CAUTION]
Pay attention to error output as you run the upgrade scripts. If you encounter errors
that you cannot resolve yourself through additional troubleshooting, please
-report the errors to the http://evergreen-ils.org/listserv.php[Evergreen
+report the errors to the http://evergreen-ils.org/communicate/mailing-lists/[Evergreen
Technical Discussion List].
Run the following steps as a user with the ability to connect to the
-database server. Please adjust the arguments to the `psql` command and
-the `PG*` environment variables for the `2.3-2.4-supplemental.sh` command
-to reflect your database server connection information. To supply the
-pasword, you can create a
-http://www.postgresql.org/docs/9.1/static/libpq-pgpass.html[PostgreSQL password file].
+database server.
[source, bash]
----------------------------------------------------------
cd /home/opensrf/Evergreen-ILS-2.4.0/Open-ILS/src/sql/Pg
-psql -U evergreen -h localhost -f version-upgrade/2.3-2.4.0-upgrade-db.sql evergreen
-PGDATABASE=evergreen PGUSER=evergreen PGHOST=localhost version-upgrade/2.3-2.4-supplemental.sh
+psql -U evergreen -h localhost -f version-upgrade/2.4.2-2.5-beta1-upgrade-db.sql evergreen
----------------------------------------------------------
Restart Evergreen and Test