From ce1a3fc3c127b9d0449b4993d67959b52231a5b2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20Dani=C3=ABl=20Maat?= Date: Tue, 19 Jan 2021 01:00:31 +0000 Subject: [PATCH] Set new nextcloud/gitea database volumes This changed because of a migration from postgresql 12 -> 13. Future versions should probably be named with the database version appended, rather than "new", but for now this is how the system is set up. --- etc/nixos/services/gitea.nix | 2 +- etc/nixos/services/nextcloud.nix | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/etc/nixos/services/gitea.nix b/etc/nixos/services/gitea.nix index d2264ca..e4965a4 100644 --- a/etc/nixos/services/gitea.nix +++ b/etc/nixos/services/gitea.nix @@ -41,7 +41,7 @@ POSTGRES_PASSWORD = "/qNDDK9WCMuubfA7D8DFwfl9T+Gy2IMDvPhiNpcxZjY="; }; volumes = [ - "gitea-db-data:/var/lib/postgresql/data" + "gitea-db-data-new:/var/lib/postgresql/data" ]; networks = [ "gitea" diff --git a/etc/nixos/services/nextcloud.nix b/etc/nixos/services/nextcloud.nix index 320b720..6fbc2cf 100644 --- a/etc/nixos/services/nextcloud.nix +++ b/etc/nixos/services/nextcloud.nix @@ -66,7 +66,7 @@ POSTGRES_PASSWORD = "rI7t7Nek1yGA9ucrRc7Uhy0jcjwPjnXa8me4o8tJON8="; }; volumes = [ - "nextcloud-db-data:/var/lib/postgresql/data" + "nextcloud-db-data-new:/var/lib/postgresql/data" ]; networks = [ "nextcloud" -- 2.44.1