cancel
Showing results for 
Search instead for 
Did you mean: 

Why do I get "Invalid username or password" after upgrading Postgresql?

ben-Nabiy_Derus
Star Contributor
Star Contributor

I am currently running Nuxeo 5.5 on a Debian 7.2 install (tomcat). I just upgraded Debian from 6.0 to 7.2, and tested the server afterwards to make sure nuxeo still worked. It did.

Then I manually installed postgresql-9.1 and postgresql-client-9.1 and did a drop of the default 9.1 main cluster, and then ran pg_upgradecluster 8.4 main and it successfully upgraded the main cluster.

When I check webmin and look at the database, everything is there. When I try to log into nuxeo, I cannot. What happened?

1 ACCEPTED ANSWER

ben-Nabiy_Derus
Star Contributor
Star Contributor

It appears that the issue was with the pg_hba.conf file not being repopulated with the values from the old install. Errors were logging about pg_hba.conf not containing an entry for 127.0.0.1 for nuxeo...

Solution is to make sure that you have an entry like:

# IPv4 local connections:
host    all         all         127.0.0.1/32          md5

and not just the default local (which applies to Unix domain socket connections only)

local all postgres ident

View answer in original post

1 REPLY 1

ben-Nabiy_Derus
Star Contributor
Star Contributor

It appears that the issue was with the pg_hba.conf file not being repopulated with the values from the old install. Errors were logging about pg_hba.conf not containing an entry for 127.0.0.1 for nuxeo...

Solution is to make sure that you have an entry like:

# IPv4 local connections:
host    all         all         127.0.0.1/32          md5

and not just the default local (which applies to Unix domain socket connections only)

local all postgres ident
Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.