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

Fix PostgreSQL to v13 - #6842

Merged
NateBrady23 merged 1 commit into
TechEmpower:masterfrom
jcheron:fix-pgsql13
Oct 1, 2021
Merged

NateBrady23 merged 1 commit into
TechEmpower:masterfrom
jcheron:fix-pgsql13

Conversation

@jcheron

@jcheron jcheron commented Oct 1, 2021 •

Copy link
Copy Markdown
Contributor

PostgreSQL Version 14 is released... which explains this problem: #6841
I fixed the docker file on v13, not knowing if we're moving to v14.

@NateBrady23

Copy link
Copy Markdown
Member

Thanks for the quick fix. I think we would be fine moving to 14 as well, as I'm not sure when we'll be ready for the next round.

@NateBrady23
NateBrady23 merged commit be762d3 into TechEmpower:master Oct 1, 2021
@sebastienros

Copy link
Copy Markdown
Contributor

This is not sufficient for me, we had the same issue with 13, the conf file needs updating too, see what was done in #6051

@sebastienros

Copy link
Copy Markdown
Contributor

This is the error I get:

Step 18/35 : RUN apt-get -yqq install -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" postgresql postgresql-contrib
 ---> Using cache
 ---> 83afd5377976
Step 19/35 : RUN mv postgresql.conf /etc/postgresql/${PG_VERSION}/main/postgresql.conf
 ---> Running in 4ecaa5ca3877
�[91mmv: cannot move 'postgresql.conf' to '/etc/postgresql/13/main/postgresql.conf': No such file or directory
The command '/bin/sh -c mv postgresql.conf /etc/postgresql/${PG_VERSION}/main/postgresql.conf' returned a non-zero code: 1
�[0m

@sebastienros

Copy link
Copy Markdown
Contributor

Unless this error was before the fix 😅

@sebastienros

Copy link
Copy Markdown
Contributor

@jcheron all good, confirm it works now, should have checked the timestamps before commenting ...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants