Probleme in der Schulkonsole / lmncli

Hallo Zusammen,

wir haben bei einer Schule in der Schulkonsole folgendes Profil, wenn man versucht das Internet zu sperren bzw. wenn man die Eigenschaften eines Schülers anzeigen will.

      ███       ███          linuxmuster.net packages:
     █████     █████         -Base...........: 7.3.42-0
      ███       ███          -Linbo..........: 4.3.38-0
  ███               ███      -WebUI..........: 7.3.46
 █████             █████     -Sophomorix.....: 7.3.16

Traceback (most recent call last):
  File "/opt/linuxmuster/lib/python3.12/site-packages/aj/api/endpoint.py", line 77, in wrapper
    result = fx(self, context, *args, **kwargs)
             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/usr/lib/linuxmuster-webui/plugins/lmn_users/views/sophomorixUsers.py", line 188, in handle_api_sophomorix_students
    parents = subprocess.check_output(cmd).decode().strip().split('\n')
              ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/linuxmuster/lib/python3.12/site-packages/gevent/subprocess.py", line 427, in check_output
    raise CalledProcessError(retcode, process.args, output=output)
subprocess.CalledProcessError: Command '['/usr/sbin/lmncli', '--csv', 'student', '--parents', '--school', 'default-school', 'santopar']' returned non-zero exit status 1.

Kennt das zufällig jemand von euch und weiß was man da machen könnte?

Timo

Hallo Timo,

Kannst du bitte folgendes probieren ?

/opt/linuxmuster/bin/python3 -m pip install typing-extensions

Und dann die Webui neu starten.

Gruß

Arnaud

root@server:~# /opt/linuxmuster/bin/python3 -m pip install typing-extensions
Collecting typing-extensions
Downloading typing_extensions-4.16.0-py3-none-any.whl.metadata (3.3 kB)
Downloading typing_extensions-4.16.0-py3-none-any.whl (45 kB)
Installing collected packages: typing-extensions
Successfully installed typing-extensions-4.16.0
root@server:~# systemctl restart linuxmuster-webui.service

Jetzt gehts wieder! Vielen Dank :slight_smile: