[SLAPD acting weird] Locked outside - services running but permission denied to webadmin and sso

What type of hardware are you using: Raspberry Pi 3, 4+
What YunoHost version are you running: 13.0.5
How are you able to access your server: Direct access via physical keyboard/screen

Describe your issue

Hello and thanks for your time.

My last attempt to update Yunohost succeeds 4 days ago, services are running (faircamp, gotosocial, monitorix, …) but since then I can’t access the server anymore, I’m trapped outside. I’m the only user account, admin.

  • I did not change any password or anything but the webadmin says the credentials are wrong, even when change IP location (so it does not seems to be related to Fail2Ban)

  • SSH root attempts says “Permission denied. Please try again later.”

  • SSO refuses all credentials too

Share relevant logs or error messages

No logs coz i can’t access anything.

When plugin a screen on the rpi the loading process is all green, no errors:

Hi @bstn-chmpns

Can you run yunohost diagnosis run and share the output?

This thread also may help:

Thanks for your reply.

I don’t know how to perform yunohost diagnosis run as i don’t have access to the server. Also, with screen and keyboard connected to rpi I can do nothing except watching the loading process. I tried F10 and all (ctrl+alt+f2) before loading strats but nothing happens.

Sorry for my lack of knowledge (I’m a noob)

Can’t you see a login prompt after the boot process ?

Sadly no: nothing happens after the screenshot that I shared. The rpi stays on this screen for ever o_O u_u

Btw, FTP works…. :’(

It really confuses me all this permission stuff…

Did you try with other function keys? CTRL alt f1 etc.

If the boot process doesn’t complete, that’s not a good sign.

Yes, it doesn’t sounds well, loading stuck at

Finished systemd-update-utmp-runlevel.service - Record Runlevel Change in UTMP.

I quickly checked the web and didn’t find really helping stuff…

To add another layer of fun I have issues to display the screen right after turning on due to the fact that the only hdmi device I have is a Tizen os tv that goes black screen and loading while searching for signal… Keyboard is responding: typing works while boot session starts and led blinks. But so far I couldn’t prevent booting with keyboard keys…even by pressing all of them at once (ಠ_ಠ)

I’ll get back after I’ve found a proper computer screen to make tests.

EDIT: i can display Yunohost CLI. I’m invited to log-in, which I try (but first had to consider typing password on an azerty responding like a qwerty).
Same problem as the beginning: login incorrect.

I tried all “user” or “root” credentials, I know they are the good ones, well typed and still no, i can’t enter. I feel stupid coz it makes me paranoid: the good password isn’t recognized anymore wtf :’( as if the last update changed it…

MAYBE?: I could have a direct look into the folders by plugin the hard drive on another computer if it can help, but I honestly wouldn’t know where to look \o/

This is gonna be long.

Thanks for your patience so far (:heart::heart:)

Hello again, welcome in day #2 :slight_smile:

I managed this morning to get root access again thanks to chroot :partying_face:

Here is yunohost diagnosis run output: hastebin

  • So slapd isn’t working.
  • systemctl status slapd returns Unit slapd.service could not be found.
  • yunohost service restart slapdfailed and returns this: hastebin

Can you try running

sudo yunohost tools regen-conf slapd

And try restarting slapd service.

Here’s the output:



The LDAP service is down, attempt to restart it… 
Failed to restart slapd.service: Unit slapd.service not found. 
Info: The operation 'Regenerate system configurations 'slapd'' could not be completed.

Full log:

args:
  dry_run: false
  force: false
  list_pending: false
  names:
  - slapd
  with_diff: false
ended_at: 2026-08-13 13:38:38.286419
error: Service slapd is not running but is required to perform this action ... You
  can try to investigate what's happening with 'systemctl status slapd'
interface: cli
operation: regen_conf
parent: null
related_to:
- - configuration
  - slapd
started_at: 2026-08-13 13:37:51.071450
started_by: root
success: false
yunohost_version: 12.1.40.1

============

2026-08-13 14:37:52,251: DEBUG - initializing root ldap interface
2026-08-13 14:38:10,262: WARNING - The LDAP service is down, attempt to restart it…


REDACTED

Can you share the slapd log ?

journalctl -u slapd -n 200 --no-pager

Here it is:

And

systemctl status slapd.service --no-pager -l
ls -la /etc/default/slapd
ls -la /etc/ldap/

Unit slapd.service could not be found.
-rw-r--r-- 1 root root 1796 Nov 17 2024 /etc/default/slapd
total 32
drwxr-xr-x 5 root root 4096 Aug 24 2025 .
drwxr-xr-x 126 root root 12288 Aug 11 06:06 ..
-rw-r--r-- 1 root root 340 Nov 13 2024 ldap.conf
drwxr-xr-x 2 root root 4096 Feb 8 2023 sasl2
drwxr-xr-x 2 openldap openldap 4096 Aug 24 2025 schema
drwxr-xr-x 3 openldap openldap 4096 Aug 24 2025 slapd.d

That sounds like a difficult recovery situation, especially when the services still appear to be running normally. Since the local boot process is clean but webadmin, SSH, and SSO all reject the account, the diagnosis output and authentication logs should help distinguish a password issue from a broader account or configuration problem. Can you share the output of yunohost diagnosis run from the local console, and check whether the admin account is still present?

some weird checks

ps auxw | grep slapd

dpkg -l | grep slapd

ls -la /etc/systemd/system/multi-user.target.wants/slapd.service

ls -la /usr/lib/systemd/system/slapd.service

Short version: hastebin

Long version: hastebin

(I don’t need emails, so i don’t care about the related errors)

and check whether the admin account is still present?

Don’t really know how to do that in command line, sorry.

Thanks for your time

Tried to restart slapd again and here are the errors:

and, as suggested, the output of yunohost service log slapd