BACK EVERYTHING UP! Seriously.
This is incomplete! YMMV!
A far superior version is available as draft documentation here:
http://docs.evergreen-ils.org/2.0/draft/html/upgradingevergreen-upgrading_from_1.6_to_2.0.html
osrf_ctl.sh -l -a stop_all
wget http://evergreen-ils.org/downloads/Evergreen-ILS-2.0.9.tar.gz tar xzf Evergreen-ILS-2.0.9.tar.gz
debian-sqeeze
for Debian Squeezeubuntu-lucid
for Ubuntu Lucid Lynx (10.04)cd /home/opensrf/Evergreen-ILS-2.0.9 make -f Open-ILS/src/extras/Makefile.install <distribution>
cd /home/opensrf/Evergreen-ILS-2.0.9 ./configure --prefix=/openils --sysconfdir=/openils/conf make
make STAFF_CLIENT_BUILD_ID=rel_2_0_9 install
sudo chown -R opensrf:opensrf /openils
cd /openils/var/web/xul/ rm server ln -s rel_2_0_9/server server
cd /home/opensrf/Evergreen-ILS-2.0.9 # and offline-config.pl for the offline staff client data uploader perl Open-ILS/src/support-scripts/eg_db_config.pl \ --create-offline --user evergreen --password evergreen \ --hostname localhost --port 5432 --database evergreen
cd /home/opensrf/Evergreen-ILS-2.0.9 psql -U evergreen -h localhost -f Open-ILS/src/sql/Pg/1.6.1-2.0-upgrade-db.sql evergreen psql -U evergreen -h localhost -f Open-ILS/src/sql/Pg/2.0.0-2.0.1-upgrade-db.sql evergreen psql -U evergreen -h localhost -f Open-ILS/src/sql/Pg/2.0.1-2.0.2-upgrade-db.sql evergreen psql -U evergreen -h localhost -f Open-ILS/src/sql/Pg/2.0.2-2.0.3-upgrade-db.sql evergreen psql -U evergreen -h localhost -f Open-ILS/src/sql/Pg/2.0.3-2.0.4-upgrade-db.sql evergreen psql -U evergreen -h localhost -f Open-ILS/src/sql/Pg/2.0.4-2.0.5-upgrade-db.sql evergreen psql -U evergreen -h localhost -f Open-ILS/src/sql/Pg/2.0.5-2.0.6-upgrade-db.sql evergreen psql -U evergreen -h localhost -f Open-ILS/src/sql/Pg/2.0.6-2.0.7-upgrade-db.sql evergreen psql -U evergreen -h localhost -f Open-ILS/src/sql/Pg/2.0.7-2.0.8-upgrade-db.sql evergreen psql -U evergreen -h localhost -f Open-ILS/src/sql/Pg/2.0.8-2.0.9-upgrade-db.sql evergreen
cd /home/opensrf/Evergreen-ILS-2.0.9 perl Open-ILS/src/sql/Pg/reingest-1.6-2.0.pl --config /openils/conf/opensrf_core.xml --chunk_size 10000 psql -U evergreen -h localhost -f reingest-1.6-2.0.sql evergreen
metabib.real_full_rec
) required for sorting by title, etc:BEGIN; DELETE FROM metabib.real_full_rec WHERE tag = 'tnf'; INSERT INTO metabib.real_full_rec (record, tag, subfield, VALUE) SELECT record, 'tnf', 'a', SUBSTRING(VALUE, COALESCE(NULLIF(REGEXP_REPLACE(ind2,'[^0-9]','','g'),''),'0')::INT + 1) FROM metabib.real_full_rec WHERE tag = '245' AND subfield = 'a'; COMMIT;
osrf_ctl.sh -l -a start_all
cd /openils/bin ./autogen.sh -c /openils/conf/opensrf_core.xml -u
If you run into errors, see: Troubleshooting: Checking for Errors for help finding errors in the log files. You may also ask the evergreen community using the mailing lists. Including error information from the logs will be extremely helpful when seeking assistance.