-
-
Save tlemotlemo/13e64961871d4eee55778c7acaf735e3 to your computer and use it in GitHub Desktop.
Failed build of NixOS with Immich, after PostgreSQL downgrade.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
building Nix... | |
building the system configuration... | |
evaluation warning: The option `services.xserver.xkbVariant' defined in `/etc/nixos/configuration.nix' has been renamed to `services.xserver.xkb.variant'. | |
evaluation warning: The option `services.xserver.layout' defined in `/etc/nixos/configuration.nix' has been renamed to `services.xserver.xkb.layout'. | |
updating GRUB 2 menu... | |
Warning: os-prober will be executed to detect other bootable partitions. | |
Its output will be used to detect bootable binaries on them and create new boot entries. | |
lsblk: /dev/mapper/no*[0-9]: not a block device | |
lsblk: /dev/mapper/raid*[0-9]: not a block device | |
lsblk: /dev/mapper/disks*[0-9]: not a block device | |
stopping the following units: postgresql.service, systemd-sysctl.service | |
activating the configuration... | |
reviving group 'immich' with GID 987 | |
reviving group 'redis-immich' with GID 986 | |
reviving user 'immich' with UID 989 | |
reviving user 'redis-immich' with UID 988 | |
setting up /etc... | |
reloading user units for tlemo... | |
restarting sysinit-reactivation.target | |
reloading the following units: dbus.service | |
restarting the following units: polkit.service | |
starting the following units: postgresql.service, systemd-sysctl.service | |
Failed to start postgresql.service | |
the following new units were started: immich-machine-learning.service, immich-server.service, redis-immich.service, system-immich.slice | |
warning: the following units failed: postgresql.service | |
× postgresql.service - PostgreSQL Server | |
Loaded: loaded (/etc/systemd/system/postgresql.service; enabled; preset: ignored) | |
Active: failed (Result: exit-code) since Fri 2024-12-13 15:21:21 CST; 274ms ago | |
Duration: 20.906s | |
Invocation: 73f92ed85d084518895dd06f57b1cffe | |
Process: 11188 ExecStartPre=/nix/store/hd8hxdfwgnsd5vgdq94lw84jpv3rpyv3-unit-script-postgresql-pre-start/bin/postgresql-pre-start (code=exited, status=0/SUCCESS) | |
Process: 11207 ExecStart=/nix/store/j54b9h6pja78b13cfs480x75fricvpx4-postgresql-and-plugins-15.9/bin/postgres (code=exited, status=0/SUCCESS) | |
Process: 11306 ExecStartPost=/nix/store/2w769zxy9abapj7mhak5amnd773j993q-unit-script-postgresql-post-start/bin/postgresql-post-start (code=exited, status=1/FAILURE) | |
Main PID: 11207 (code=exited, status=0/SUCCESS) | |
IP: 0B in, 0B out | |
IO: 0B read, 32K written | |
Mem peak: 23.4M | |
CPU: 214ms | |
Dec 13 15:21:20 nixos systemd[1]: postgresql.service: Control process exited, code=exited, status=1/FAILURE | |
Dec 13 15:21:20 nixos postgres[11207]: [11207] LOG: received fast shutdown request | |
Dec 13 15:21:21 nixos postgres[11207]: [11207] LOG: aborting any active transactions | |
Dec 13 15:21:21 nixos postgres[11207]: [11207] LOG: background worker "logical replication launcher" (PID 11305) exited with exit code 1 | |
Dec 13 15:21:21 nixos postgres[11297]: [11297] LOG: shutting down | |
Dec 13 15:21:21 nixos postgres[11297]: [11297] LOG: checkpoint starting: shutdown immediate | |
Dec 13 15:21:21 nixos postgres[11297]: [11297] LOG: checkpoint complete: wrote 3 buffers (0.0%); 0 WAL file(s) added, 0 removed, 0 recycled; write=0.034 s, sync=0.022 s, total=0.214 s; sync files=2, longest=0.014 s, average=0.011 s; distance=0 kB, estimate=0 kB | |
Dec 13 15:21:21 nixos postgres[11207]: [11207] LOG: database system is shut down | |
Dec 13 15:21:21 nixos systemd[1]: postgresql.service: Failed with result 'exit-code'. | |
Dec 13 15:21:21 nixos systemd[1]: Failed to start PostgreSQL Server. | |
warning: error(s) occurred while switching to the new configuration |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment