Hi all
After the deafening silence from my last question, I'll try and rephrase
it and break it down.
Firstly, perhaps I'm too ambitious but I'm more or less trying to do two
upgrades at once:
i) upgrade from PostGreSQL 7.4.19 to 8.1.11. I'm actually moving the
whole setup to a new machine - the old one has 7.4.19 and the new one
has 8.1.11, so it is not strictly a db "upgrade".
ii) upgrade from DSpace 1.4.1 to 1.5 (involving database updates)
Assistance with either would be very much appreciated. I tried dumping
the database from 7.4 into 8.1.11 and it all looked good apart from one
error:
SET
SET
SET
ERROR: must be owner of schema public
SET
CREATE FUNCTION
ALTER FUNCTION
SET
SET
CREATE TABLE
ALTER TABLE
CREATE SEQUENCE
ALTER TABLE
setval
--------
1435
(1 row)
after the first few SET statements. Not sure what to do about that or if
it is even important. But all the data moved across ok.
Is there anything special I need to do to the data before attempting the
DSpace upgrade other than running the database_schema_14-15.sql script?
I did this and received the errors outlined in
exception-update-14-15.txt (attached), but I'm not sure about whether I
need to run update-sequences.sql? I tried doing this after running the
database_schema_14-15.sql script which caused the errors outlined in
exception-update-sequences.txt (attached).
The browsing index tables appear to be primarily affected (browsing by
author, title etc doesn't work after [dspace]/bin/index-init).
To begin with, if anyone could help with pointers for issue i), the PG
upgrade from 7.4.19 I think that would go a long way to sorting things
out. Also, I'm not sure of the proper order of running
database_schema_14-15.sql and update-sequences.sql. Also, I notice in
the database_schema_14-15.sql there is a line near the top of the file
which reads:
-- SQL commands to upgrade the database schema of a live DSpace 1.3 or
1.3.x
-- to the DSpace 1.4 database schema
I presume this is a cut-and-paste typo and the script is actually meant
to upgrade from 1.4.x to 1.5?
Thanks very much
Gary
Gary Browne
Development Programmer
Library IT Services
University of Sydney
ph: 9351-5946
ALTER TABLE
UPDATE 524
ALTER TABLE
ALTER TABLE
ALTER TABLE
ERROR: relation "collection_item_count" already exists
ERROR: relation "community_item_count" already exists
DROP SEQUENCE
DROP SEQUENCE
DROP SEQUENCE
DROP SEQUENCE
DROP SEQUENCE
NOTICE: drop cascades to rule _RETURN on view communityitemsbyauthor
NOTICE: drop cascades to view communityitemsbyauthor
NOTICE: drop cascades to rule _RETURN on view collectionitemsbyauthor
NOTICE: drop cascades to view collectionitemsbyauthor
DROP TABLE
NOTICE: drop cascades to rule _RETURN on view communityitemsbytitle
NOTICE: drop cascades to view communityitemsbytitle
NOTICE: drop cascades to rule _RETURN on view collectionitemsbytitle
NOTICE: drop cascades to view collectionitemsbytitle
DROP TABLE
NOTICE: drop cascades to rule _RETURN on view communityitemsbydate
NOTICE: drop cascades to view communityitemsbydate
NOTICE: drop cascades to rule _RETURN on view collectionitemsbydate
NOTICE: drop cascades to view collectionitemsbydate
DROP TABLE
NOTICE: drop cascades to rule _RETURN on view communityitemsbydateaccession
NOTICE: drop cascades to view communityitemsbydateaccession
NOTICE: drop cascades to rule _RETURN on view collectionitemsbydateaccession
NOTICE: drop cascades to view collectionitemsbydateaccession
DROP TABLE
NOTICE: drop cascades to rule _RETURN on view communityitemsbysubject
NOTICE: drop cascades to view communityitemsbysubject
NOTICE: drop cascades to rule _RETURN on view collectionitemsbysubject
NOTICE: drop cascades to view collectionitemsbysubject
DROP TABLE
DROP TABLE
DROP TABLE
ERROR: relation "fe_bitstream_fk_idx" already exists
ERROR: relation "bit_bitstream_fk_idx" already exists
ERROR: relation "g2g_parent_fk_idx" already exists
ERROR: relation "g2g_child_fk_idx" already exists
ERROR: relation "g2gc_parent_fk_idx" already exists
ERROR: relation "g2gc_child_fk_idx" already exists
ERROR: relation "item_submitter_fk_idx" already exists
ERROR: relation "bundle_primary_fk_idx" already exists
ERROR: relation "item2bundle_bundle_fk_idx" already exists
ERROR: relation "bundle2bitstream_bitstream_fk_idx" already exists
ERROR: relation "metadatavalue_field_fk_idx" already exists
ERROR: relation "community_logo_fk_idx" already exists
ERROR: relation "collection_logo_fk_idx" already exists
ERROR: relation "collection_template_fk_idx" already exists
ERROR: relation "collection_workflow1_fk_idx" already exists
ERROR: relation "collection_workflow2_fk_idx" already exists
ERROR: relation "collection_workflow3_fk_idx" already exists
ERROR: relation "collection_submitter_fk_idx" already exists
ERROR: relation "collection_admin_fk_idx" already exists
ERROR: relation "com2com_parent_fk_idx" already exists
ERROR: relation "com2com_child_fk_idx" already exists
ERROR: relation "rp_eperson_fk_idx" already exists
ERROR: relation "rp_epersongroup_fk_idx" already exists
ERROR: relation "epg2ep_eperson_fk_idx" already exists
ERROR: relation "workspace_item_fk_idx" already exists
ERROR: relation "workspace_coll_fk_idx" already exists
ERROR: relation "workflow_item_fk_idx" already exists
ERROR: relation "workflow_coll_fk_idx" already exists
ERROR: relation "workflow_owner_fk_idx" already exists
ERROR: relation "tasklist_eperson_fk_idx" already exists
ERROR: relation "tasklist_workflow_fk_idx" already exists
ERROR: relation "subs_eperson_fk_idx" already exists
ERROR: relation "subs_collection_fk_idx" already exists
ERROR: relation "epg2wi_group_fk_idx" already exists
ERROR: relation "epg2wi_workspace_fk_idx" already exists
ERROR: relation "comm2item_community_fk_idx" already exists
ERROR: relation "mrc_result_fk_idx" already exists
ERROR: relation "ch_result_fk_idx" already exists
setval
--------
36
(1 row)
setval
--------
64
(1 row)
setval
--------
10192
(1 row)
setval
--------
560
(1 row)
setval
--------
388
(1 row)
setval
--------
(1 row)
setval
--------
(1 row)
setval
--------
2938
(1 row)
setval
--------
5062
(1 row)
setval
--------
5062
(1 row)
setval
--------
10072
(1 row)
ERROR: relation "dctyperegistry" does not exist
setval
--------
149320
(1 row)
setval
--------
71
(1 row)
setval
--------
43
(1 row)
setval
--------
128
(1 row)
setval
--------
128
(1 row)
setval
--------
2113
(1 row)
setval
--------
132194
(1 row)
setval
--------
1297
(1 row)
setval
--------
2300
(1 row)
setval
--------
2934
(1 row)
setval
--------
1580
(1 row)
setval
--------
4403
(1 row)
setval
--------
661
(1 row)
setval
--------
110
(1 row)
ERROR: relation "history" does not exist
ERROR: relation "historystate" does not exist
setval
---------
1006042
(1 row)
ERROR: relation "itemsbyauthor" does not exist
ERROR: relation "itemsbytitle" does not exist
ERROR: relation "itemsbydate" does not exist
ERROR: relation "itemsbydateaccessioned" does not exist
setval
--------
(1 row)
setval
--------
138
(1 row)
setval
--------
149320
(1 row)
setval
--------
2
(1 row)
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
DSpace-tech mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/dspace-tech