I went over these instructions several times, and in several attempts could not get DVN to install after GlassFish, ...
http://thedata.harvard.edu/guides/dataverse-installer-main.htmlhttp://thedata.harvard.edu/guides/dataverse-installer-main.html#glassfish-configuration-template... until I replaced the original contents of /var/lib/pgsql/data/pg_hba.conf:
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all ident
# IPv4 local connections:
host all all
127.0.0.1/32 ident
# IPv6 local connections:
host all all ::1/128 ident
with:
# TYPE DATABASE USER CIDR-ADDRESS METHOD
# "local" is for Unix domain socket connections only
local all all trust
# IPv4 local connections:
host all all
127.0.0.1/32 password
# IPv6 local connections:
host all all ::1/128 ident
The timing in which to do the switch is not clean, and the quick install script will not do that for us.
Maybe those instructions could be improved to make it more obvious for the next guy.
I wasted many hours(days!) uninstalling GlassFish, dropping dvn DB and user from postgresql and restarting the process until I got this thing going.
Maybe the install script could also be improved to detect that the user&database has already been created on a previous attempt, GlassFish has been installed, configured and is working properly, etc, and pickup the slack from where it failed or got stuck, even if some input is required from the person installing, to by-pass some of those steps.
Thanks
Jaime