@wabi: thanks for packaging immich. chown
requires the user to exist, which in general doesn't happen until installation -- hence my suggestion to use tmpfiles.d. I use something like this:
# PKGBUILD
package() {
...
install -Dm644 "${srcdir}/immich.sysusers" "${pkgdir}/usr/lib/sysusers.d/immich.conf"
install -Dm644 "${srcdir}/immich.tmpfiles" "${pkgdir}/usr/lib/tmpfiles.d/immich.conf"
...
install -d "${pkgdir}/var/lib/immich/upload" "${pkgdir}/var/lib/immich/app/server/.reverse-geocoding-dump"
}
# immich.tmpfiles
d /var/lib/immich 0700 immich immich -
Pinned Comments
pikl commented on 2024-04-28 09:46 (UTC) (edited on 2024-04-28 09:46 (UTC) by pikl)
Upgrade to
python 3.12
breaksimmich-machinelearning
.v1.102.3-3
adds version dependency for eitherpython 3.10
orpython 3.11
. Note thatpython 3.11
is available on the AUR and can be installed alongside the default3.12
but build appears broken at the moment. See python311 for a workaround.