Skip to content

[Bug] Upgrade from 21.4.3-v1 to debian-master not possible #317

Description

@enterdv

Describe the bug
Upgrade from 21.4.3-v1 to debian-master not working. On alpine image PostgreSQL version 13. On Debian PostgreSQL version 11.14.

To Reproduce
Steps to reproduce the behavior:

  1. In docker-compose change image version from 21.4.3-v1 to debian-master.
  2. Run docker-compose up
  3. postgresql not starting
gvm_1  | + pg_isready --username=postgres
gvm_1  | 2021-11-29 10:25:53,180 INFO exited: postgresql (exit status 1; not expected)
gvm_1  | + sleep 1
gvm_1  | 2021-11-29 10:25:53,192 INFO gave up: postgresql entered FATAL state, too many start retries too quickly

PostgreSQL logs

2021-11-29 10:25:53.180 GMT [716] FATAL:  database files are incompatible with server
2021-11-29 10:25:53.180 GMT [716] DETAIL:  The data directory was initialized by PostgreSQL version 13, which is not compatible with this version 11.14 (Debian 11.14-0+deb10u1).

Expected behavior
PostgreSQL running

Screenshots
NA

Host Device:

  • OS: Debian
  • Version: 10

Image in use:
securecompliance/gvm:debian-master

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions