YunoHost encountered an internal error 500 on loading the nginx log page

,

YunoHost encountered an internal error

Really sorry about that.

Error: "500"

Actie: "GET" /yunohost/api/services/nginx/log?number=50&locale=nl

Foutmelding:

Unexpected server error

Traceback

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 484, in process
    ret = self.actionsmap.process(arguments, timeout=30, route=_route)
  File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 600, in process
    return func(**arguments)
  File "/usr/lib/moulinette/yunohost/service.py", line 532, in service_log
    _tail(log_file_path, number) if os.path.exists(log_file_path) else []
  File "/usr/lib/moulinette/yunohost/service.py", line 770, in _tail
    lines = _tail(previous_log_file, to_read - len(lines)) + lines
  File "/usr/lib/moulinette/yunohost/service.py", line 755, in _tail
    lines = f.read().splitlines()
  File "/usr/lib/python3.7/codecs.py", line 322, in decode
    (result, consumed) = self._buffer_decode(data, self.errors, final)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xc0 in position 87340: invalid start byte

But I did not even change these files, so some script must have screwed it up I guess?

EDIT: YH sys-updates are not fixing the issues.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.