NethServer 8 (Debian12) seems to have crashed

NethServer Version: NS8
Module: Debian12

users missing also samba file server shares missing, can see it says 7 users but error - Task cluster/list-domain-users failed. Runs in proxmox. Just checked backups (Proxmox) and they are months old. Have ran Apt update/upgrade in debian 12. Any help much appreciated.

error from NS8 GUI - Traceback (most recent call last):
File “/usr/local/agent/pyenv/lib/python3.11/site-packages/ldap3/strategy/sync.py”, line 89, in receiving
data = self.connection.socket.recv(self.socket_size)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
ConnectionResetError: [Errno 104] Connection reset by peer

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File “/var/lib/nethserver/cluster/actions/list-domain-users/50list_users”, line 33, in
users = Ldapclient.factory(**domain).list_users()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/agent/pypkg/agent/ldapclient/init.py”, line 29, in factory
return LdapclientAd(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/agent/pypkg/agent/ldapclient/base.py”, line 37, in init
self.ldapconn = ldap3.Connection(self.ldapsrv,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/agent/pyenv/lib/python3.11/site-packages/ldap3/core/connection.py”, line 363, in init
self._do_auto_bind()
File “/usr/local/agent/pyenv/lib/python3.11/site-packages/ldap3/core/connection.py”, line 389, in _do_auto_bind
self.bind(read_server_info=True)
File “/usr/local/agent/pyenv/lib/python3.11/site-packages/ldap3/core/connection.py”, line 607, in bind
response = self.post_send_single_response(self.send(‘bindRequest’, request, controls))
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/agent/pyenv/lib/python3.11/site-packages/ldap3/strategy/sync.py”, line 160, in post_send_single_response
responses, result = self.get_response(message_id)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/agent/pyenv/lib/python3.11/site-packages/ldap3/strategy/base.py”, line 355, in get_response
responses = self._get_response(message_id, timeout)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File “/usr/local/agent/pyenv/lib/python3.11/site-packages/ldap3/strategy/sync.py”, line 196, in _get_response
responses = self.receiving()
^^^^^^^^^^^^^^^^
File “/usr/local/agent/pyenv/lib/python3.11/site-packages/ldap3/strategy/sync.py”, line 99, in receiving
raise communication_exception_factory(LDAPSocketReceiveError, type(e)(str(e)))(self.connection.last_error)
ldap3.core.exceptions.LDAPSocketReceiveError: error receiving data: [Errno 104] Connection reset by peer

I can login to the debian 12 GUI as a user but not an administrator. The network icon dose not seem to be configured. I can ssh (192.168.16.10)in as root and all looks OK.

The nano /etc/network/interfaces looks fine GNU nano 7.2 /etc/network/interfaces

This file describes the network interfaces available on your system

and how to activate them. For more information, see interfaces(5).

source /etc/network/interfaces.d/*

The loopback network interface

auto lo
iface lo inet loopback

The primary network interface

allow-hotplug enp6s18
iface enp6s18 inet static
address 192.168.16.10
netmask 255.255.255.0
gateway 192.168.16.254
dns domain d2law.ie

Remebering Andy Wismer(and his 2 cent worth) at times like this he is badly missed, but I feel he gave me divine inspiration to night. Managed to WinSCP in from a local Windows and grabbed my files after a long chat with ChatGPT. Will build s new DEB13 & NS8 over the weekend and import files and PST’s. Rest easy Andy.

I believe it is complete unclear what you are asking.

  • What crashed, when and how?
  • Missing SAMBA users?
  • You have no recent backups?
  • You have upgraded debian 12, to what?

By what action?

So you are good? Left Debian 12? No production, just a test? Did you succeed?

Yes it was a sucess, installed Debian 13 on Proxmox, then NS8 as per Andy’s (RIP) instructions. Was able to access some of the old Debian 12 with WinSCP and copy data folder.