diff options
| author | Dominique Martinet <asmadeus@codewreck.org> | 2025-07-04 23:35:51 +0900 |
|---|---|---|
| committer | Dominique Martinet <asmadeus@codewreck.org> | 2025-07-05 06:35:26 +0900 |
| commit | 78a20758e004fd9d7394250efe406f1a86d13c11 (patch) | |
| tree | 2a28b40c32b444cf6a55c6cbf430bb1c04ed3ff8 /pkgs/development/python-modules/python-openstackclient/git@git.tavy.me:nixos | |
| parent | 3016b4b15d13f3089db8a41ef937b13a9e33a8df (diff) | |
nixos/nextcloud: add assertion explaining to set dbtype
Since 25.05 dbtype no longer defaults to sqlite and this yields an error
that is understandable enough but not easy to properly address.
Add an assert that is more explicit.
Before:
```
error: The option `nodes.nextcloud.services.nextcloud.config.dbtype' was accessed but has no value defined. Try setting the option.
```
After:
```
error:
Failed assertions:
- `services.nextcloud.config.dbtype` must be set explicitly (pgsql, mysql, or sqlite)
Before 25.05, it used to default to sqlite but that is not recommended by upstream.
Either set it to sqlite as it used to be, or convert to another type as described
in the official db conversion page:
https://docs.nextcloud.com/server/latest/admin_manual/configuration_database/db_conversion.html
```
Link: https://github.com/NixOS/nixpkgs/pull/369242#issuecomment-3036296243
Diffstat (limited to 'pkgs/development/python-modules/python-openstackclient/git@git.tavy.me:nixos')
0 files changed, 0 insertions, 0 deletions
