add patch to fix failing "tenant_files" migration
The new migration in tenant_files.py references a MEDIA_ROOT directory based on its own path, which in our case is in the read-only /nix/store. We need it to refer to the actual authentik state directory instead, which defaults to /var/lib/authentik/media in module.nix
This commit is contained in:
parent
d85dacb6c2
commit
d060292aa6
3 changed files with 22 additions and 3 deletions
|
|
@ -150,6 +150,7 @@ in
|
|||
User = "authentik";
|
||||
ExecStart = "${cfg.authentikComponents.migrate}/bin/migrate.py";
|
||||
EnvironmentFile = mkIf (cfg.environmentFile != null) [ cfg.environmentFile ];
|
||||
inherit (config.systemd.services.authentik.serviceConfig) StateDirectory;
|
||||
};
|
||||
};
|
||||
authentik-worker = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue