Leonhard Maylein
unread,Oct 8, 2015, 4:01:57 AM10/8/15Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
  to dataverse...@googlegroups.com
Hello!
We just have done an upgrade from v4.1 to v4.2 on our test server.
On that occasion we noticed that we do not know the password
for the database user dvnapp. Does the installation script
automatically generate a password?
The deployment of dataverse-4.2.war shows a lot of warnings/
database errors:
asadmin deploy /tmp/dataverse-4.2.war
PER01003: Deployment encountered SQL Exceptions:
         PER01000: Got SQLException executing statement "CREATE TABLE 
VARIABLECATEGORY (ID  SERIAL NOT NULL, CATORDER INTEGER, FREQUENCY 
FLOAT, LABEL VARCHAR(255), MISSING BOOLEAN, VALUE VARCHAR(255), 
DATAVARIABLE_ID BIGINT NOT NULL, PRIMARY KEY (ID))": 
org.postgresql.util.PSQLException: ERROR: relation "variablecategory" 
already exists
         PER01000: Got SQLException executing statement "CREATE INDEX 
INDEX_VARIABLECATEGORY_datavariable_id ON VARIABLECATEGORY 
(datavariable_id)": org.postgresql.util.PSQLException: ERROR: relation 
"index_variablecategory_datavariable_id" already exists
...
         PER01000: Got SQLException executing statement "CREATE TABLE 
SEQUENCE (SEQ_NAME VARCHAR(50) NOT NULL, SEQ_COUNT DECIMAL(38), PRIMARY 
KEY (SEQ_NAME))": org.postgresql.util.PSQLException: ERROR: relation 
"sequence" already exists
         PER01000: Got SQLException executing statement "INSERT INTO 
SEQUENCE(SEQ_NAME, SEQ_COUNT) values ('SEQ_GEN', 0)": 
org.postgresql.util.PSQLException: ERROR: duplicate key value violates 
unique constraint "sequence_pkey"
   Detail: Key (seq_name)=(SEQ_GEN) already exists.
Command deploy completed with warnings.
Am I right in assuming that we can ignore these warnings?
Leonhard Maylein
University library of Heidelberg