Skip to content

Connection to PostgreSQL is lost after app rescheduling in BTP #1

Description

@evapoorada

Hi! 👋

I followed your tutorial to use pgAdmin as a database explorer for a PostgreSQL instance in SAP BTP, and it works perfectly at first.
However, I’ve noticed that every time my Cloud Foundry app is rescheduled (for example, after an update, restart, or platform maintenance), the server connection in pgAdmin is removed.

This means I have to manually reconfigure the connection each time, which is quite inconvenient.

Steps to reproduce

  • Deploy the app following your tutorial
  • Configure pgAdmin and connect to the PostgreSQL instance
  • Trigger a rescheduling (for example, cf restart APP_NAME)
  • Open pgAdmin again → the connection is gone

Expected behavior

  • The server connection should persist across restarts/rescheduling events.

Question

Is there a way to persist pgAdmin configuration (server connections, users, etc.) across app reschedules?
Maybe by using a persistent volume, service binding, or storing configuration in a mounted directory?

Thanks a lot for your work on this! 🙏

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions