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