Installation issue with Immich - fixed

What type of hardware are you using: Other(?)
What YunoHost version are you running: 12.1.35 (stable)
How are you able to access your server: The webadmin
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: Yes - installed on Proxmox as LXC, via community script (detailed below)

Describe your issue

To start, I want to say that I was able to resolve this issue; but posting here in case others need it.

I ran into this issue because I installed Yunohost in a weird way, via Proxmox community scripts. (Would link; but can’t as a new user). I do plan to report this issue over there as well.

When trying to install Immich via the web admin, it proceeded for a while, encountered an error, and uninstalled Immich. The error read ā€œAn error occurred inside the app installation script : Invalid argument: -ā€ (full logs attached below).

my fix

I traced down the error, and it was from some stuff that was getting echoed at every user-login shell. In my case, I was able to fix this by commenting out the contents of /etc/profile.d/00_lxc-details.sh. (To test if your system is working correctly: running ā€˜sudo --login echo hello’ should output just ā€œhelloā€).

to devs

I know general practice is ā€œdon’t print to console on login,ā€ so I’m not surprised that it broke stuff. I don’t know if adding a check for this case would be an appropriate thing to add to the built-in diagnostics? I imagine that if I ran into it with this Immich installation, it might happen with other installation scripts as well.

Share relevant logs or error messages

https :// paste DOT yunohost DOT org/raw/ecevuvupax

Hi,

There are already some topics about that see:

The root cause comes from Proxmox VE Helper-Scripts which propose to install a not fuly working yunohost. So the issue should be reported to to them here GitHub - community-scripts/ProxmoxVE: Proxmox VE Helper-Scripts (Community Edition).

1 Like

My apologies for the duplicate report! I had installed this just as a transitional approach to explore Yunohost.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.