Skip to content

DB not persistent in new containers #693

@jneterer

Description

@jneterer

Description:

When I need to rebuild the container and re-run, even though I'm using persistent volumes, my integration connections and data (such as teams) are lost.

Steps to reproduce:

  1. Follow exact steps for "Installing Middleware" here
  2. Add a GitHub Integration
  3. Add a team and repos
  4. If you pause here and check your volumes, you'll notice they're oddly empty. If you simply restart the container, everything persists fine. Image
  5. Stop the container docker stop middleware
  6. Remove the container docker rm middleware
  7. Follow those same steps from Project setup #1 above to rebuild the container and start it
  8. Open http://localhost:3333/dora-metrics and you will see the Welcome page. Once you're in, you'll notice your integration is unlinked and you've lost your team as well
  9. You'll also notice that your volumes are empty too## Expected behavior:

Actual behavior:

When deleting and recreating the container, and running the new image with the same volumes, any integration and relevant teams data should persist.

Server Setup Information:

  • Operating System: MacBook Pro > Apple M1 Pro
  • Deployment Method: docker

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions