Skip to content

[Bug]: Activepieces PostgreSQL 18 volume mount path incorrectΒ #8097

@Elandlord

Description

@Elandlord

Error Message and Logs

PostgreSQL data does not persist after container restart.

Volume mounts to /var/lib/postgresql/data but PostgreSQL 18 uses /var/lib/postgresql/18/docker.

Steps to Reproduce

  1. Deploy Activepieces using one-click service template
  2. Create a flow or any data in Activepieces
  3. Restart using Coolify
  4. Data is lost because PostgreSQL 18 writes to a different path than the mounted volum

Example Repository URL

No response

Coolify Version

v4.0.0-beta.462

Are you using Coolify Cloud?

No (self-hosted)

Operating System and Version (self-hosted)

Ubuntu 22.04.5

Additional Information

The template uses postgres:18-alpine but the volume still points to the old path /var/lib/postgresql/data.

PostgreSQL 18 uses /var/lib/postgresql/18/docker.

Additionally, the AP_SIGN_UP_ENABLED environment variable is missing from the template, which controls whether new user registration is allowed.

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