Webui LMn 7.1 Linbo sync

Hallo,

mein neuer Server ist nun fast fertig. Ich habe aber nun ein Probem mit Linbo Sync.

Server:

linuxmuster.net packages:
 -Base...........: 7.1.12-0
 -Linbo..........: 4.0.29-0
-WebUI..........: 7.1.26
-Sophomorix.....: 3.90.3-1

Beim Aufruf erscheint folgender Fehler:

Serverfehler
Server error occured. This is likely a bug. 
Request 
GET /api/lm/linbo/SyncList 
Type 
UnicodeDecodeError 
Message 
'utf-8' codec can't decode byte 0xfc in position 602: invalid start byte 
Traceback

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_linbo_sync/views.py", line 39, in handle_api_linbo_sync
    workstations = api.list_workstations(self.context)
  File "/usr/lib/linuxmuster-webui/plugins/lmn_linbo_sync/api.py", line 161, in list_workstations
    return group_os(devices_dict)
  File "/usr/lib/linuxmuster-webui/plugins/lmn_linbo_sync/api.py", line 89, in group_os
    config = read_config(group)
  File "/usr/lib/linuxmuster-webui/plugins/lmn_linbo_sync/api.py", line 28, in read_config
    for line in open(path):
  File "/usr/lib/python3.6/codecs.py", line 321, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfc in position 602: invalid start byte

Welche Datei ist da falsch codiert?

Viele Grüße

Steffen

Hallo Steffen,

Einer der start.conf.GROUP.

Gruß

Arnaud

Danke das ist es.

Nur noch die richtige finden.

Viele Grüße

Steffen

Wäre es möglich zu beschreiben was das Problem war ?
Das könnte andere helfen.

Danke und Gruß

Arnaud

Das Problem war die Migration von 6.2. ich habe alle start.conf gelöscht.

Viele Grüße

Steffen

Da ich das Problem auch gerade hatte, ist hier ein Tipp wie man die fehlerhafte Config-Datei mit „nicht-utf8-Zeichen“ schnell findet (meist ist irgendwo ein Kommentar mit Umlaut im File):

cd /srv/linbo
grep -axv '.*' *.conf.*

Diese Config-Datei dann einfach anpassen oder löschen.

Beste Grüße,
Tom