Uploaded image for project: 'Hippo CMS'
  1. Hippo CMS
  2. CMS-13355

[Windows] Maven profile "docker.postgres" broken

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Normal
    • Resolution: Fixed
    • 14.1.0
    • 14.3.0
    • None
    • None
    • Pulsar
    • Pulsar 234 - ContentSearch Fin, Pulsar 235 - Eng OKRs

    Description

      On 14.1, on Windows 10 with docker desktop, when executing the last step to run docker with postgres:

      mvn clean install
      mvn -P docker.build
      mvn -P docker.run,docker.postgres

      The following error is thrown:

      [INFO] DOCKER> [postgres:10.6-alpine] "db": Start container 782ae28a1bda
      db> 2020-05-11 06:25:24.449 UTC [1] FATAL:  data directory "/var/lib/postgresql/data" has wrong ownership
      db> 2020-05-11 06:25:24.449 UTC [1] HINT:  The server must be started by the user that owns the data directory.

      Attachments

        Activity

          People

            Unassigned Unassigned
            eperez Eduardo Perez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: