Uploaded image for project: 'Nuxeo ECM Build/Test Environment'
  1. Nuxeo ECM Build/Test Environment
  2. NXBT-327

Error if you change nuxeodm database password during initial configuration

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Not A Bug
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: Debian Packages
    • Environment:
      Ubuntu Linux Ubuntu 10.04.3 LTS

      Description

      Using Ubuntu Linux Ubuntu 10.04.3 LTS I installed nuxeo-dm using
      synaptic. This also installed Postgres.

      During the configuration screens, I saw a password for the postgres
      database user which I did not know (it was blanked out), so I changed
      the password for the nuxeodm user.

      I could then access the webpage http://localhost:8080

      But I could not login using the Administrator/Administrator name/password.

      Investigating with the help of http://forum.nuxeo.com/t/4433/ I saw
      that Nuxeo was failing to connect to the Postgres database.

      Trying

      psql -h localhost -p 5433 -U nuxeodm -W nuxeodm

      manually, I could login using the ORIGINAL nuxeodm password, but not
      with the new password that I had set.

      Looking in /etc/nuxeo-dm/nuxeo.conf I saw

      nuxeo.db.password=

      {original password}

      #nuxeo.db.password={original password}

      nuxeo.db.password=

      {new password}

      ie there were two uncommented nuxeo.db.password lines. It seems as tho
      the postgres database was set up to use the original password, but
      Nuxeo was trying to connect using the new password.

      I got it working by reinstalling Nuxeo and postgres.

      So looks like there is something wrong about the configuration screens
      if you try to use them to change the nuxeodm database user's password.

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: