Hallo Arnaud,
ich habe auf dem Testsserver versucht die aktuellsten Pakete einzuspielen. Dies scheitert zuerst daran, dass apt-utils fehlen. Nachdem ich diese nachinstalliert habe, wird versucht linuxmuster7-webui (in der o.g. Version) einzurichten. Dieser Vorgang kann nciht erfolgreich beendet werden.
Ich erhalte folgende Fehlermeldungen:
ebconf: delaying package configuration, since apt-utils is not installed
Selecting previously unselected package apt-utils.
(Reading database ... 170871 files and directories currently installed.)
Preparing to unpack .../apt-utils_2.4.11_amd64.deb ...
Unpacking apt-utils (2.4.11) ...
Setting up linuxmuster-webui7 (7.2.27-testing) ...
---------------------------------------------------------------
---------------------------------------------------------------
Updating linuxmuster-webui
---------------------------------------------------------------
Stop linuxmuster-webui
Upgrade pip to latest version
Requirement already satisfied: pip in /usr/local/lib/python3.10/dist-packages (23.3.1)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Remove deprecated plugins
WARNING: Skipping ajenti.plugin.auth-users as it is not installed.
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Backing up and updating config.yml
Check requirements
WARNING: Skipping gevent-socketio-hartwork as it is not installed.
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Requirement already satisfied: aj==2.2.7 in /usr/local/lib/python3.10/dist-packages (from -r /usr/lib/linuxmuster-webui/etc/requirements.txt (line 1)) (2.2.7)
Requirement already satisfied: ajenti-panel==2.2.7 in /usr/local/lib/python3.10/dist-packages (from -r /usr/lib/linuxmuster-webui/etc/requirements.txt (line 2)) (2.2.7)
Requirement already satisfied: ajenti.plugin.ace==0.32 in /usr/local/lib/python3.10/dist-packages (from -r /usr/lib/linuxmuster-webui/etc/requirements.txt (line 3)) (0.32)
Requirement already satisfied: pypng in /usr/local/lib/python3.10/dist-packages (from qrcode->aj==2.2.7->-r /usr/lib/linuxmuster-webui/etc/requirements.txt (line 1)) (0.20220715.0)
WARNING: Running pip as the 'root' user can result in broken permissions and conflicting behaviour with the system package manager. It is recommended to use a virtual environment instead: https://pip.pypa.io/warnings/venv
Set default sophomorix webui rights
Command line::
Hmmh. do not know what to do with option info
Option json is a modifier option
Option verbose is a modifier option
E: Sub-process /usr/bin/dpkg returned an error code (1)
* forcing info mode
Option combinations successfully checked
ERROR: Connection to AD failed: No password found!
sophomorix connects to AD with the user administrator:
A) Make sure administrator exists:
samba-tool user create administrator %<password>%
(Replace <password> according to: samba-tool domain passwordsettings show)
B) Store the Password of administrator (without newline character) in:
/etc/linuxmuster/.secret/administrator
Verifying upload folder
setfacl: Invalid argument in line 9 of file /usr/lib/linuxmuster-webui/etc/install_scripts/webuiUpload.ntacl
dpkg: error processing package linuxmuster-webui7 (--configure):
installed linuxmuster-webui7 package post-installation script subprocess returned error exit status 2
Setting up apt-utils (2.4.11) ...
Errors were encountered while processing:
linuxmuster-webui7
needrestart is being skipped since dpkg has failed
Versuche ich dem Hinweis zu sophomorix in der Fehlermeldung zu folgen, erhalte ich folgende Fehler:
Unable to open tdb '/var/lib/samba/private/sam.ldb': No such file or directory
Failed to connect to 'tdb:///var/lib/samba/private/sam.ldb' with backend 'tdb': Unable to open tdb '/var/lib/samba/private/sam.ldb': No such file or directory
ERROR(ldb): uncaught exception - Unable to open tdb '/var/lib/samba/private/sam.ldb': No such file or directory
File "/usr/lib/python3/dist-packages/samba/netcmd/__init__.py", line 186, in _run
return self.run(*args, **kwargs)
File "/usr/lib/python3/dist-packages/samba/netcmd/domain.py", line 1271, in run
samdb = SamDB(url=H, session_info=system_session(),
File "/usr/lib/python3/dist-packages/samba/samdb.py", line 70, in __init__
super(SamDB, self).__init__(url=url, lp=lp, modules_dir=modules_dir,
File "/usr/lib/python3/dist-packages/samba/__init__.py", line 114, in __init__
self.connect(url, flags, options)
File "/usr/lib/python3/dist-packages/samba/samdb.py", line 86, in connect
super(SamDB, self).connect(url=url, flags=flags,
linuxadmin@server:~$ samba-tool user create administrator %Muster!%
samba-tool user create administrator %Muster
ltdb: tdb(/var/lib/samba/private/sam.ldb): tdb_open_ex: could not open file /var/lib/samba/private/sam.ldb: No such file or directory
Unable to open tdb '/var/lib/samba/private/sam.ldb': No such file or directory
Failed to connect to 'tdb:///var/lib/samba/private/sam.ldb' with backend 'tdb': Unable to open tdb '/var/lib/samba/private/sam.ldb': No such file or directory
ERROR(ldb): Failed to add user 'administrator': - Unable to open tdb '/var/lib/samba/private/sam.ldb': No such file or directory
Die Datei /etc/linuxmuster/.secret/administrator gibt es scheinbar nicht.
Hast Du Ideen, woran das liegen könnte.
LG
Chris