You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Ethan Turkeltaub edited this page Aug 24, 2024
·
2 revisions
Upgrading PostgreSQL
With new version of PostgreSQL running, delete all reinitialized users and databases
Stop the new version of PostgreSQL
Find old and new path for binaries (ls /nix/store/*postgresql-<version>*/bin/psql). Copy the /bin path (not the executable).
As postgres user, run pg_upgrade: pg_upgrade -b <old bin path> -B <new bin path> -d /var/lib/postgresql/<old version>/ -D /var/lib/postgresql/<new version>/
Restart PostgreSQL
Setting up a Cloudflare Tunnel
Create with Terraform
Output created token (ey...)
echo "token" | base64 --decode => {"a": "...", "t": "...", "s": "..."} => {"AccountTag":"","TunnelID":"","TunnelSecret":""} (this is the credentials file)