[OPEN-ILS-GENERAL] Failing to install 2.1 with separate database

Joseph Haig josephhaig at gmail.com
Mon Oct 24 16:39:59 EDT 2011


A couple of months ago I started playing with the then release
candidate of Evergreen 2.1 with Evergreen running on one server and
the database on a separate server. When the final release came out I
tried to upgrade but I get the following errors when attempting to set
up the database:

psql:Open-ILS/src/support-scripts/../sql/Pg/create_database.sql:24:
/usr/share/postgresql/9.1/contrib/tablefunc.sql: No such file or
directory
psql:Open-ILS/src/support-scripts/../sql/Pg/create_database.sql:26:
/usr/share/postgresql/9.1/contrib/tsearch2.sql: No such file or
directory
psql:Open-ILS/src/support-scripts/../sql/Pg/create_database.sql:28:
/usr/share/postgresql/9.1/contrib/pgxml.sql: No such file or directory
psql:Open-ILS/src/support-scripts/../sql/Pg/create_database.sql:30:
/usr/share/postgresql/9.1/contrib/hstore.sql: No such file or
directory

First of all, I am using Postgres 9.0 but this is besides the point.
/usr/share/postgresql/9.*/contrib does not exist on the local machine
because the database is remote. This file create_database.sql does not
exist in RC2 (the last release candidate I tried) so I am wondering
where it has come from. Also, "diff -y
Evergreen-ILS-2.1.0a/Open-ILS/src/support-scripts/eg_db_config.pl
Evergreen-ILS-2.1-RC2/Open-ILS/src/support-scripts/eg_db_config.pl"
shows that the eg_db_config.pl script has been modified since the
release candidate to run this extra sql script.

Can someone suggest a work-around so that I can get back to the
behaviour that was in the release candidate. Thanks.

Regards,

Joe


More information about the Open-ils-general mailing list