# Benutzer anlegen scheitert

**URL:** <https://ask.linuxmuster.net/t/benutzer-anlegen-scheitert/3507>\
**Category:** Server v7\
**Created:** [25. April 2019 um 10:18 UTC](https://ask.linuxmuster.net/t/benutzer-anlegen-scheitert/3507 "2019-04-25T10:18:57Z")\
**Posts on this page:** 1\
**Showing post:** 19

<div class="post-metadata">

**Author:** ![rettich](https://ask.linuxmuster.net/user_avatar/ask.linuxmuster.net/rettich/32/52_2.png) [@rettich](https://ask.linuxmuster.net/u/rettich)\
**Post date:** [26. April 2019 um 08:07 UTC](https://ask.linuxmuster.net/t/benutzer-anlegen-scheitert/3507/19 "2019-04-26T08:07:01Z")

</div>

Hallo Thomas,

> [@tjordan](#):
>
> tritt das Problem auch auf, wenn man die lmn7-server-appliance von Grund auf neu installiert?

Das habe ich auch schon probiert:

1. Ubuntu-Server 18.04 mit IP-Adresse 10.0.0.1/16 installiert und upgedatet.

2. OPNsense 19.1.4-amd64 mit WAN: via DHCP; LAN: 10.0.0.254/16  
ssh aktiviert

3. Auf dem Server Appliance Script herruntergeladen, ausgeführen danach Server neu gestartet.

4. linuxmuster-setup gestartet.  
Fierwall startet neu. Sieht alles ok aus. Starte auch Server neu.

5. Anmeldung als global-admin an der Schulkonsole:  

6. Schließe Fehlermeldung und gehe zu List Management:Teachers List

7. Gebe für einen Lehrer Daten (ohne Umlaute) ein. Speichern mit SAVE bringt die Fehlermeldung:  

Inhalt von Traceback:

```
Traceback (most recent call last):
  File "/usr/local/lib/python2.7/dist-packages/aj/api/endpoint.py", line 74, in wrapper
    result = fx(self, context, *args, **kwargs)
  File "/usr/lib/linuxmuster-webui/plugins/lmn_users/views.py", line 103, in handle_api_teachers
    ).writerows(data)
  File "/usr/lib/python2.7/csv.py", line 158, in writerows
    return self.writer.writerows(rows)
  File "/usr/local/lib/python2.7/dist-packages/unicodecsv/py2.py", line 90, in writerows
    self.writerow(row)
  File "/usr/local/lib/python2.7/dist-packages/unicodecsv/py2.py", line 86, in writerow
    _stringify_list(row, self.encoding, self.encoding_errors))
  File "/usr/local/lib/python2.7/dist-packages/unicodecsv/py2.py", line 48, in _stringify_list
    return [_stringify(s, encoding, errors) for s in iter(l)]
  File "/usr/local/lib/python2.7/dist-packages/unicodecsv/py2.py", line 38, in _stringify
    return s.encode(encoding, errors)
LookupError: unknown encoding: null

```

Unter Schoolsettings:Encoding steht bei Teachers Encoding:Detected Encoding UTF8  
Nachdem ich alles auf UTF8 umgestellt habe, kann ich die Daten eines Lehrers speichern.

SAVE & CHECK führt zu:  
 ![SErr03](https://ask.linuxmuster.net/uploads/default/original/2X/b/ba7ee234db7900938f5149b8d255980433a5787f.png)

Auf dem Server ergibt ein sophomorix-check:

```
sophomorix-check 
Command line::
Hmmh. do not know what to do with option info
Option verbose is a modifier option
Option json is a modifier option
* 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 /usr/share/sophomorix/devel/master/sophomorix.conf.master ####
#### Reading /etc/linuxmuster/sophomorix/sophomorix.conf ####
#### OK: default-school share exists ####
#### OK: /etc/linuxmuster/sophomorix/default-school/school.conf ####
#### Reading /usr/share/sophomorix/devel/master/school.conf.master ####
#### Reading /etc/linuxmuster/sophomorix/default-school/school.conf ####
   * WARNING: ENCODING is NOT valid in section classfile.extraclasses.csv
Calling console printout
ERROR -1: ENCODING is NOT valid in section classfile.extraclasses.csv of /etc/linuxmuster/sophomorix/default-school/school.conf!

```

Ich hoffe, das hilft den Fehler zu finden.

Vielen Dank schon mal.  
Gruß,  
Mathias

---

_[View the full topic](https://ask.linuxmuster.net/t/benutzer-anlegen-scheitert/3507)._
