Immich provides release files, I wonder if there is a prebuilt frontend there? Just to avoid building that mess:
--- Last few GCs --->
[25393:0x598a99c4c000] 49922 ms: Scavenge (interleaved) 472.4 (479.9) -> 471.1 (484.4) MB, pooled: 0 MB, 16.16 / 0.00 ms (average mu = 0.208, current mu = 0.111) allocation failure;
[25393:0x598a99c4c000] 50428 ms: Mark-Compact (reduce) 475.3 (484.4) -> 473.1 (479.6) MB, pooled: 0 MB, 110.03 / 0.00 ms (+ 322.6 ms in 0 steps since start of marking, biggest step 0.0 ms, walltime since start of marking 506 ms) (average mu = 0.244, c
<--- JS stacktrace --->
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
----- Native stack trace -----
1: 0x598a815eb9db node::OOMErrorHandler(char const*, v8::OOMDetails const&) [node]
2: 0x598a81ab9f64 v8::Utils::ReportOOMFailure(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
3: 0x598a81aba339 v8::internal::V8::FatalProcessOutOfMemory(v8::internal::Isolate*, char const*, v8::OOMDetails const&) [node]
4: 0x598a81d0557c [node]
5: 0x598a81d055a4 [node]
6: 0x598a81d1c8fe [node]
7: 0x598a81d1fb04 [node]
8: 0x598a82772a67 [node]
/home/dmig/.cache/yay/immich/PKGBUILD: line 70: 25382 Aborted (core dumped) npm run build
==> ERROR: A failure occurred in build().
Aborting...
Pinned Comments
pikl commented on 2025-01-25 21:54 (UTC) (edited on 2025-01-26 08:23 (UTC) by pikl)
Upgrading to
postgresql-17
is awkward because ofpgvecto.rs
if you have been using0.2.0
as provided by AUR package pgvecto.rs-immich. If you have been using0.3.0
as provided by AUR package pgvecto.rs-immich-bin then these extra steps are likely not required and I suggest the wiki instructions for upgrades for major version increments ofpostgresql
are followed.If you would like to stick at
postgresql-16
please add the following topacman.conf
:Following the manual dump and reload in the wiki does appear to work, with a few extra steps to consider the
pgvecto.rs
upgrade.Starting point is
postgresql-old-upgrade
installed withpgvector.rs-0.2.0
. Symlink the installation outputs ofpgvecto.rs
into the directories used by the parallel installation ofpostgresql-old-upgrade
.Then perform the database start (
/opt/psql-16/bin/pg_ctl .. start
), "dump" (pg_dumpall...
) and database stop (/opt/psql-16/bin/pg_ctl .. start
) steps in the wiki.Upgrade to
postgresql-17
andpgvecto.rs-0.3.0
(provided bypgvector.rs-immich-bin
). Clear out/var/lib/postgresql/data
then initialise the database (initdb...
) as per the wiki.Start the service using
systemctl start postgresql
and install thepgvecto.rs
using the following command:Finally restart the postgresql service and perform the reload (
psql...
) steps in the wiki.EDITED: Various clarifications
pikl commented on 2024-08-05 09:52 (UTC)
From
v1.111.0
, this package does not build withnodejs
<v20
.