Database version upgrade from postgresql 12 to postgresql 13 is not working

Open
#452 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
35/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
docker, postgresql
Domain
databases, devops

Research direction

Start with the generated/13/Dockerfile.rhel8 linked in the issue and compare its upgrade-related environment with the working RHEL7-based image. Reproduce the PostgreSQL 12-to-13 upgrade on the RHEL8 image and verify that the missing previous-version setting is handled and the upgrade completes successfully.

Written by the indexing model from the issue text.

Description

I was trying to test postgresql upgrade to version 13 from version 12 using RHEL8 based image but it's not working. I see the following env is missing in RHEL8 based postgresql 13 Dockerfile.

POSTGRESQL_PREV_VERSION=12

Here is the link to problematic Dockerfile.

https://github.com/sclorg/postgresql-container/blob/generated/13/Dockerfile.rhel8

I tried the same upgrade using RHEL7 based image and it works fine.

Dominant language
PLpgSQL
Stars
178
Forks
220
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from sclorg/postgresql-container

All issues in sclorg/postgresql-container

Similar issues

More Databases issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.