Warning about LC_ALL and fails to start slapd.service during installation

What type of hardware are you using: VPS bought online
What YunoHost version are you running: 12.1.3.4
How are you able to access your server: SSH
Are you in a special context or did you perform specific tweaking on your YunoHost instance ?: No

Describe your issue

While installing YunoHost in a clean Debian 12.12 instance (debian-12-genericcloud-amd64-20251006-2257.qcow2), the following message is shown during installation: /etc/environment: line 1: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8): No such file or directory
It also appears to attempt to start slapd.service but it fails.

Share relevant logs or error messages

https://paste.yunohost.org/raw/oyitupihow

Hmkay but I can’t find that message in the log you’re sharing … supposedly this is “just” a warning, so is something actually broken on your side ? I’m guessing that’s because your VPS is somehow not configured with the en_US locale which is usually some sort of default … I suppose we could implement some trick to prevent the warning ?

I do believe it happens on the second stage of installation. I’ll probably create a new instance on Oracle Cloud, and when I do so, I can confirm when it happens.
But there are some warnings on the log above that can be prevented (I searched for “warning”). Some of them, I believe, should be reported to package owners on the Debian maintainers repo, but others, I believe, that YunoHost attempts to start some daemons before the packages are installed or set up correctly.

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