Hallo,
nachdem ich meinen 7.1-Server gestern mal wieder „auf Stand gebracht“ habe, bekomme ich heute folgende Fehlermeldung, wenn ich mich als global-admin an der Schulkonsole einlogge:
Im Traceback steht:
Traceback (most recent call last):
File "/usr/lib/linuxmuster-webui/plugins/lmn_common/api.py", line 130, in lmn_getSophomorixValue
f"Sophomorix stdout :\n {t.stdout.decode('utf-8')}"
File "/usr/local/lib/python3.6/dist-packages/dpath/util.py", line 179, in get
raise KeyError(glob)
KeyError: 'USER/user/global-admin'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/local/lib/python3.6/dist-packages/aj/api/endpoint.py", line 75, in wrapper
result = fx(self, context, *args, **kwargs)
File "/usr/lib/linuxmuster-webui/plugins/lmn_landingpage/views.py", line 36, in handle_api_quota
File "/usr/lib/linuxmuster-webui/plugins/lmn_common/api.py", line 133, in lmn_getSophomorixValue
Exception: Sophomorix Value error !
Either sophomorix field does not exist or user does not have sufficient permissions:
Error Message: 'USER/user/global-admin'
Dictionary we looked for information:
{'COUNTERS': {'ROOM': 0, 'ALL': 0, 'USER': 0, 'COMPUTER': 0, 'GROUP': 0, 'SCHOOL': 0}, 'LISTS': {'GROUP': [], 'COMPUTER': [], 'USER': [], 'ALL': [], 'ROOM': []}}
Ausführung von sophomorix-check, sophomorix-update sowie sophomorix-quota auf der Console hat keine Verbesserung gebracht.
Ausgabe von sophomorix-check:
root@server:~# sophomorix-check
Command line::
Option verbose is a modifier option
Option json is a modifier option
Hmmh. do not know what to do with option info
* forcing info mode
Option combinations successfully checked
OK: SophomorixSchemaVersion 1 matches required Version 1
#### Reading /usr/share/sophomorix/devel/sophomorix.ini ####
#### Distro-check: Ubuntu 18.04 is OK ####
#### Reading /etc/samba/smb.conf ####
#### Reading /usr/lib/linuxmuster-webui/etc/default-ui-permissions.ini ####
#### Parsing: net conf list ####
#### Asking domain passwordsettings from samba ####
#### Reading /etc/linuxmuster/sophomorix/sophomorix.conf ####
#### Reading /etc/linuxmuster/sophomorix/default-school/school.conf ####
#### 0 ERRORS, 0 WARNINGS -> let's go ####
#### Creating lock in /var/lib/sophomorix/lock/sophomorix.lock ####
#### /usr/sbin/sophomorix-check started ... ####
#### Cleaning up last check ####
Encoding extrastudents.csv: UTF8 (ENCODING=auto,*_FORCE=FALSE, *_CHECKED=UTF8)
Encoding students.csv: UTF8 (ENCODING=auto,*_FORCE=FALSE, *_CHECKED=UTF8)
Encoding teachers.csv: UTF8 (ENCODING=auto,*_FORCE=FALSE, *_CHECKED=UTF8)
#### Reading injected lines ... ####
#### 0 ERRORS, 0 WARNINGS -> let's go ####
#### Searching AD for users ... ####
#### Query AD (begin) ####
#### Query AD (end) ####
#### ### School default-school: Matching lines in files to users in AD ... ####
#### unidMATCH: 44 CHECKED in default-school, MATCH: 1, NOMATCH: 43, NOunid: 0####
#### exactMATCH: 43 CHECKED in default-school, MATCH: 43, NOMATCH: 0 ####
#### approxMATCH: 0 CHECKED in default-school, MATCH: 0 (Edit distance: 1) ####
#### ## School default-school ... Done! ####
#### Removing lock in /var/lib/sophomorix/lock/sophomorix.lock ####
#### /usr/sbin/sophomorix-check terminated regularly ####
Calling console printout
LOG : /usr/sbin/sophomorix-check terminated regularly
##### Overview of what can be done:
0 users can be added in sophomorix.add
0 users can be updated in sophomorix.update
0 users can be killed in sophomorix.kill
48 users are not to be changed in sophomorix.nochange
0 users with errors in sophomorix.error
Installiert sind
linuxmuster-base7/unbekannt,now 7.1.21-0 all [installiert]
linuxmuster-linbo-gui7/unbekannt,now 7.0.6 all [Installiert,automatisch]
linuxmuster-linbo7/unbekannt,now 4.0.44-0 all [Installiert,automatisch]
linuxmuster-prepare/unbekannt,now 7.2.0-0 all [installiert]
linuxmuster-webui7/unbekannt,now 7.1.51 all [Installiert,automatisch]
Weiß jemand Abhilfe?
Beste Grüße,
Jens