What type of hardware are you using: Old laptop or computer What YunoHost version are you running: 12.0.71 What app is this about: Immich
Describe your issue
When trying to install Immich app, I’m givin an “unable to install” error. The install begins just fine - however around the time nodejs tries to install (along with postgres) I’m thrown an error and the install abandons. I did some digging around on Github and found this (npm issue during latest upgrade when building web · Issue #185 · YunoHost-Apps/immich_ynh · GitHub) but I can’t seem to figure it out.
Sorry if this is vague - I am not really much of a developer so Im a bit hamstrung here. Let me know if you need more info!
humm there is some weird icon in your log…
The issue is not linked to node as i see
Could you post the result of sudo --login --user=postgres PGUSER=postgres PGPASSWORD=$(cat /etc/yunohost/psql) psql '--command=\conninfo' ?
if you look at your log you will see: 2025-04-03 07:36:42,076: DEBUG - ++ sudo --login --user=postgres PGUSER=postgres PGPASSWORD=********** psql --cluster=16/main '' '--command=\conninfo' 2025-04-03 07:36:42,096: WARNING - awk: cmd. line:1: (FILENAME=- FNR=1) fatal: attempt to access field -1
which is what we reproduce with the comand i gave you
can you try now: sudo --login --user=postgres PGUSER=postgres PGPASSWORD=$(cat /etc/yunohost/psql) psql '--command=\conninfo' | awk -F '“' '{ print $(NF-1) }'
That appears to be returning the same error as above:
awk: cmd. line:1: (FILENAME=- FNR=1) fatal: attempt to access field -1
I’m sorry I can’t provide more input on this. I’ve tried doing some research for this particular issue but only get other threads for different issues and can’t piece this one together.
No risk for your db.
That’s not normal that the awk command produce that error. It could be due to the way you install yunohost apprently thanks to GitHub - community-scripts/ProxmoxVE: Proxmox VE Helper-Scripts (Community Edition) which is not, a far i know, a recommended way.
I tried something new to avoid using awk could you try to reinstall and report here ?