Skip to content
This repository was archived by the owner on Mar 24, 2026. It is now read-only.
This repository was archived by the owner on Mar 24, 2026. It is now read-only.

postgres.dockerfile doesn't build #6050

Closed

Description

@sebastienros

toolset/databases/postgres/postgres.dockerfile doesn't build anymore for me

Reporting before investigating

[12:48:56.471] Step 19/35 : RUN mv postgresql.conf /etc/postgresql/${PG_VERSION}/main/postgresql.conf
[12:48:56.943]  ---> Running in 0e1a5fb95a7f
[12:48:57.270] mv: cannot move 'postgresql.conf' to '/etc/postgresql/12/main/postgresql.conf': No such file or directory
[12:48:57.501] [STDERR] The command '/bin/sh -c mv postgresql.conf /etc/postgresql/${PG_VERSION}/main/postgresql.conf' returned a non-zero code: 1
[12:48:57.502]

Activity

  1. sebastienros commented on Oct 3, 2020

    @sebastienros
    ContributorAuthor

    Note that I run it a tens of times every day, until yesterday when it started failing.

  2. sebastienros commented on Oct 3, 2020

    @sebastienros
    ContributorAuthor

    But honestly it looks like something on my side, even more that actix also stopped working :/ Maybe my scripts are messed up.

    It's due to PostgresQL 13. Some 13 are injected somehow, and there is a mismatch with the PG_VERSION variable.

  3. added a commit that references this issue on Oct 3, 2020
    96bc3b2
  4. billywhizz commented on Oct 4, 2020

    @billywhizz
    Contributor

    I did some testing locally and it looks like we just need to change the version of postgres in the install command. it seems the distribution has moved to 13 as the default. i would imagine upgrading to 13 will cause a lot of issues.

    this PR should resolve the issue:
    #6052

  5. added a commit that references this issue on Oct 5, 2020
    4d01979
  6. added a commit that references this issue on Oct 21, 2020
    45c68c8
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions