-
-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
nixos/postgresql: improve docs on how to upgrade #149013
Conversation
Oh, nice! Can you maybe make explicit in which directory to run the two scripts at the end? I really wished we could make this still easier to deploy for users. e.g. have a |
Good idea, will do! :)
Considering that this is a highly imperative step that can cause a lot of problems if done wrong, I'd like administrators to actually think twice about it before doing that. Also, there's way too much stuff someone has to take care of on their own:
All in all, I think we'd have to assume too much when implementing that. |
Fair.
Those are good points, maybe also mention them in the explanation?^^ Not a must though. |
* It's IMHO a slight overkill to deploy an additional container even if it's never supposed to be running. Also, the currently suggested approach wouldn't use the default state-directory for the new version. * Explain the structure of the state-directories and where the version-numbers are actually coming from. * Mention `./analyze_new_cluster.sh` & `./delete_old_cluster.sh`.
@maralorn updated accordingly :) |
Thx! |
Motivation for this change
it's never supposed to be running. Also, the currently suggested
approach wouldn't use the default state-directory for the new version.
version-numbers are actually coming from.
./analyze_new_cluster.sh
&./delete_old_cluster.sh
.Things done
sandbox = true
set innix.conf
? (See Nix manual)nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD"
. Note: all changes have to be committed, also see nixpkgs-review usage./result/bin/
)nixos/doc/manual/md-to-db.sh
to update generated release notes