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

Changing the datadir on debian-ish systems with the existing cluster name main requires additional operations for proper operation #12

Open
davidassigbi opened this issue Sep 13, 2024 · 0 comments

Comments

@davidassigbi
Copy link
Contributor

Si on change le datadir et que le cluster s'appelle tout de même "main" sur du debian family (ubuntu 22 en l'occurence) l'init fail car un cluster "main" existe déjà.
Il faut supprimer le datadir old (/var/lib/postgresql/$VERSION/main) et le repertoire de config /etc/postgresql/14/main et relancer le role pour que ca passe (un peu dommage).
Je pense que c'est du au fait qu'on utilise un "init-cluster" et pas un "init-db" mais pas sur

Context

Your Environment

  • Version used: 1.0.0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant