[GH-ISSUE #2187] The docker docker-compose.yml paradeDB example in the documentation does not work #6583

Closed
opened 2026-04-20 17:10:57 -05:00 by GiteaMirror · 1 comment
Owner

Originally created by @Vertux on GitHub (Feb 1, 2026).
Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/2187

Pre-submission checklist

  • I have searched for existing open or closed issue reports with the same problem.

Description

If you use the docker-compose.yml exampe in the documentaion for paradeDB, you will end up with an error.

db-1  | Error: in 18+, these Docker images are configured to store database data in a
db-1  |        format which is compatible with "pg_ctlcluster" (specifically, using
db-1  |        major-version-specific directory names).  This better reflects how
db-1  |        PostgreSQL itself works, and how upgrades are to be performed.
db-1  |
db-1  |        See also https://github.com/docker-library/postgres/pull/1259
db-1  |
db-1  |        Counter to that, there appears to be PostgreSQL data in:
db-1  |          /var/lib/postgresql/data (unused mount/volume)
db-1  |
db-1  |        This is usually the result of upgrading the Docker image without
db-1  |        upgrading the underlying database using "pg_upgrade" (which requires both
db-1  |        versions).
db-1  |
db-1  |        The suggested container configuration for 18+ is to place a single mount
db-1  |        at /var/lib/postgresql which will then place PostgreSQL data in a
db-1  |        subdirectory, allowing usage of "pg_upgrade --link" without mount point
db-1  |        boundary issues.
db-1  |
db-1  |        See https://github.com/docker-library/postgres/issues/37 for a (long)
db-1  |        discussion around this process, and suggestions for how to do so.
Container vikunja-db-1 Error dependency db failed to start
dependency failed to start: container vikunja-db-1 is unhealthy

To make it work, you have to change the volume entry:

volumes:
    - ./db:/var/lib/postgresql/data

to

volumes:
   - ./db:/var/lib/postgresql

Vikunja Version

v1.0.0

Browser and version

Vivaldi 7.8.3925.56 (Offizieller Build) (arm64) - macOS

Can you reproduce the bug on the Vikunja demo site?

No

Screenshots

No response

Originally created by @Vertux on GitHub (Feb 1, 2026). Original GitHub issue: https://github.com/go-vikunja/vikunja/issues/2187 ### Pre-submission checklist - [x] I have searched for existing open or closed issue reports with the same problem. ### Description If you use the [docker-compose.yml exampe in the documentaion for paradeDB](https://vikunja.io/docs/full-docker-example/#paradedb-full-text-search), you will end up with an error. ``` db-1 | Error: in 18+, these Docker images are configured to store database data in a db-1 | format which is compatible with "pg_ctlcluster" (specifically, using db-1 | major-version-specific directory names). This better reflects how db-1 | PostgreSQL itself works, and how upgrades are to be performed. db-1 | db-1 | See also https://github.com/docker-library/postgres/pull/1259 db-1 | db-1 | Counter to that, there appears to be PostgreSQL data in: db-1 | /var/lib/postgresql/data (unused mount/volume) db-1 | db-1 | This is usually the result of upgrading the Docker image without db-1 | upgrading the underlying database using "pg_upgrade" (which requires both db-1 | versions). db-1 | db-1 | The suggested container configuration for 18+ is to place a single mount db-1 | at /var/lib/postgresql which will then place PostgreSQL data in a db-1 | subdirectory, allowing usage of "pg_upgrade --link" without mount point db-1 | boundary issues. db-1 | db-1 | See https://github.com/docker-library/postgres/issues/37 for a (long) db-1 | discussion around this process, and suggestions for how to do so. Container vikunja-db-1 Error dependency db failed to start dependency failed to start: container vikunja-db-1 is unhealthy ``` To make it work, you have to change the volume entry: ``` volumes: - ./db:/var/lib/postgresql/data ``` to ``` volumes: - ./db:/var/lib/postgresql ``` ### Vikunja Version v1.0.0 ### Browser and version Vivaldi 7.8.3925.56 (Offizieller Build) (arm64) - macOS ### Can you reproduce the bug on the Vikunja demo site? No ### Screenshots _No response_
Author
Owner

@kolaente commented on GitHub (Feb 8, 2026):

Now fixed in 82db2cb084

<!-- gh-comment-id:3868367986 --> @kolaente commented on GitHub (Feb 8, 2026): Now fixed in https://github.com/go-vikunja/website/commit/82db2cb084dd3161312e04778a25ed1e845467e0
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#6583