This commit is contained in:
parent
5ca814be31
commit
c609d53062
1 changed files with 6 additions and 0 deletions
|
|
@ -1,4 +1,10 @@
|
||||||
{ lib, ... }: {
|
{ lib, ... }: {
|
||||||
|
# fix every update causing error:
|
||||||
|
# > microservices worker error: PostgresError: must be owner of function album_user_after_insert, stack: PostgresError: must be owner of function album_user_after_insert
|
||||||
|
systemd.services.postgresql.postStart = pkgs.lib.mkAfter ''
|
||||||
|
$PSQL -d immich -c "ALTER FUNCTION album_user_after_insert() OWNER TO immich;" || true
|
||||||
|
'';
|
||||||
|
|
||||||
users.users.immich.extraGroups = [ "video" "render" ];
|
users.users.immich.extraGroups = [ "video" "render" ];
|
||||||
|
|
||||||
services = {
|
services = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue