nbxplorer: use postgresql

The former DBTrie backend has been deprecated.
This commit is contained in:
Erik Arvstedt 2022-04-30 15:35:46 +02:00 committed by Jonas Nick
parent 29d2ffc111
commit 7de56b019f
No known key found for this signature in database
GPG key ID: 4861DBF262123605
4 changed files with 29 additions and 8 deletions

View file

@ -202,6 +202,17 @@ let
config to your node.
'';
}
{
version = "0.0.70";
condition = config.services.nbxplorer.enable;
message = ''
The nbxplorer database backend has changed from DBTrie to Postgresql.
The new `services.postgresql` database name is `nbxplorer`.
The migration happens automatically after deploying.
Migration time for a large server with a 5GB DBTrie database takes about 40 minutes.
See also: https://github.com/dgarage/NBXplorer/blob/master/docs/Postgres-Migration.md
'';
}
];
mkOnionServiceChange = service: {