What type of hardware are you using: Raspberry Pi 3, 4+ What YunoHost version are you running: 12.0.17 What app is this about: Immich
Describe your issue
I’m trying to install Immich, which I had installed before, I uninstalled it and I’m trying to install it again, and an error shows up, then the installation is aborted.
“sed: can’t read /etc/postgresql-common/user_clusters: No such file or directory
Unable to install immich: An error occurred inside the app installation script”
Hi @Pinipon
Most of the time new installation fails because some folders of previous installation are still present (eg /home/yunohost.app/immich)
EDIT: postgresql issue…
Hum that’s strange because postgresl-15 seems already installed on your system but not anymore postgresql-client-common which should be a dependency and is the package providing the missing file.
Could you try to install postgresql-client-common and retry the immich install ?
Is there a /etc/postgresql-common/user_clusters.bak ? I guess you have already checked pg_lsclusters.
And what about manually recreating /etc/postgresql-common/user_clusters before trying reinstall ?