Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Check for running service before starting db installation. Kill orphan postgres instance before migration. #2022

Closed
kaidaguerre opened this issue May 9, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@kaidaguerre
Copy link
Contributor

If a previous version of the database has a service running, we currently do not handle this well and leave the system in a state where migration fails.

Instead, detect running service before attempting to install a db.

If we fail to detect as service, but find a postgres process running in the install dir, kill it before migration.

@kaidaguerre kaidaguerre added the bug Something isn't working label May 9, 2022
@kaidaguerre kaidaguerre self-assigned this May 9, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant