Immich installation: 502 Bad Gateway

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.0.16
What app is this about: Immich

Describe your issue

Hello!

I’ve been trying to install Immich app (version 1.132.3~ynh1) but when the installation finished and I try to open the app I have a “502 Bad Gateway” page. I’ve looked at other similar threads but it didn’t solve my problem.

So the “502 Bad Gateway” page tells me to look at the services but everything is running fine. Although I don’t have immich-microservices which I’ve seen in other threads but I don’t know if that’s because I have a newer version?

The first installation I’ve made was on a subdomain and with admin-only access. But looking at other threads I’ve tried several installations, first by changing the access to Visitors and then to my main domain but I still get the 502 error.

One thing I remember though during the installation was an error saying cat /etc/yunohost/psql: no such file or directory. Indeed I get the same message when I try this command in CLI.

Any idea on this topic?

Cheers!

Share relevant logs or error messages

immich-machine-learning.service : hastebin
immich-server.service : hastebin
Immich install: https://paste.yunohost.org/raw/bahifudoha

could you share the result of cat /proc/cpuinfo ?

Hi ewilly, here is the output:

processor       : 0
vendor_id       : GenuineIntel
cpu family      : 15
model           : 6
model name      : Common KVM processor
stepping        : 1
microcode       : 0x1
cpu MHz         : 2666.770
cache size      : 16384 KB
physical id     : 0
siblings        : 1
core id         : 0
cpu cores       : 1
apicid          : 0
initial apicid  : 0
fpu             : yes
fpu_exception   : yes
cpuid level     : 13
wp              : yes
flags           : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush mmx fxsr sse sse2 ht syscall nx lm constant_tsc nopl xtopology cpuid tsc_known_freq pni cx16 x2apic hypervisor lahf_lm cpuid_fault pti
bugs            : cpu_meltdown spectre_v1 spectre_v2 spec_store_bypass l1tf mds swapgs itlb_multihit mmio_unknown bhi
bogomips        : 5333.54
clflush size    : 64
cache_alignment : 128
address sizes   : 40 bits physical, 48 bits virtual
power management:

Your CPU is too old and not suuported as reported in the log:

Unsupported CPU: Prebuilt binaries for linux-x64 require v2 microarchitecture