OMERO 4.3 Upgrade Questions
Posted: Wed Jun 15, 2011 3:24 pm
Hi all,
I have a quick quesiton for OMERO 4.3 (NEW RELEASED VERSION) upgrade.
My current version of OMERO server is 4.2.2 , and I tried to upgrade it into 4.3 version.
So, I tried to follow instructions based on official omero site.
And, I tried to execute follows commands.
Once I executed the command for updating database,
it generated several error message like as follows.
So, I executed as follows.
But, it seems that it generated same error message even though I executed above command.
Can I keep going on next step like "executing cd /omero-dist/
bin omero admin start" ?
Or is there anyway I need to fix these errors ?
It would be great help to give me any advices.
Thanks,
Steve
I have a quick quesiton for OMERO 4.3 (NEW RELEASED VERSION) upgrade.
My current version of OMERO server is 4.2.2 , and I tried to upgrade it into 4.3 version.
So, I tried to follow instructions based on official omero site.
And, I tried to execute follows commands.
- Code: Select all
cd /omero_dist
bin/omero admin stop
cd ..
mv omero_dist omero_dist_old
tar jxvf omero-Beta4.3.0.tar.bz2
cp omero_dist_old/etc/grid/config.xml omero_dist/etc/grid
Update database
psql -h localhost -U omero omero < sql/psql/OMERO4.3__0/OMERO4.2__0.sql
Fixing metadata
psql -h localhost -U omero omero < sql/psql/OMERO4.3__0/omero-4.2-data-fix.sql
cd /omero-dist/
bin omero admin start
Once I executed the command for updating database,
it generated several error message like as follows.
- Code: Select all
[omerouser@europa omero_dist]$ psql -h localhost -U omero omero < sql/psql/OMERO4.3__0/OMERO4.2__0.sql
BEGIN
Timing is on.
CREATE FUNCTION
Time: 2.423 ms
ERROR: too many parameters specified for RAISE
CONTEXT: PL/pgSQL function "omero_43_check_pg_advisory_lock" line 15 at raise
ERROR: current transaction is aborted, commands ignored until end of transaction block
ERROR: current transaction is aborted, commands ignored until end of transaction block
..........................................................................................................................
ERROR: current transaction is aborted, commands ignored until end of transaction block
ERROR: syntax error at or near "EXISTS" at character 17
LINE 1: DROP TRIGGER IF EXISTS annotation_trigger ON annotation;
^
ERROR: current transaction is aborted, commands ignored until end of transaction block
ERROR: current transaction is aborted, commands ignored until end of transaction block
ERROR: syntax error at or near "EXISTS" at character 17
LINE 1: DROP TRIGGER IF EXISTS dataset_annotation_link_event_trigger...
^
................................................................................................................
^
ERROR: current transaction is aborted, commands ignored until end of transaction block
ERROR: syntax error at or near "EXISTS" at character 17
LINE 1: DROP TRIGGER IF EXISTS experimenter_annotation_link_event_tr...
^
ERROR: current transaction is aborted, commands ignored until end of transaction block
ERROR: current transaction is aborted, commands ignored until end of transaction block
ERROR: current transaction is aborted, commands ignored until end of transaction block
ROLLBACK
So, I executed as follows.
- Code: Select all
[omerouser@europa omero_dist]$ psql -h localhost -U omero omero < sql/psql/OMERO4.3__0/omero-4.2-data-fix.sql
BEGIN
UPDATE 0
UPDATE 0
UPDATE 0
COMMIT
But, it seems that it generated same error message even though I executed above command.
Can I keep going on next step like "executing cd /omero-dist/
bin omero admin start" ?
Or is there anyway I need to fix these errors ?
It would be great help to give me any advices.
Thanks,
Steve