Can't login to my server after updating OH to 4.0.1 [Solved]

This will not work.

the directory should contain a library.

This means:

  • when you try to login so called PAM ( Plugable Authentication Modules ) is being called.
  • PAM is configurable …
  • during the logon process PAM is called and tries to open the pam_unix.so module
  • the module is not there
  • you get an error message in the log file and on the screen
  • result is that no user can login

This should not happen. Either something is wrong with the basic installation of Debian 12 on your system or this is due to an imcompatibility between openhabian-config and Debian 12 ( Debian 11 is recommended )
I doubt that you can repair this problem as long as you just open it from within Windows. You would have to boot a Debian Live image mount your Debian 12 partition and do a chroot from within that one it could be possible to repair the installed system but this is not something for beginners - sorry for that.

Either try install Debian 12 again or better install Debian 11 as that is the supported version for openhabian-config.
I would do this in two steps. First one install the OS. Then try it. Then install openhabian and try it again.

1 Like