Hello! Thanks so much for this product and maintenance.
Hardware: VPS
YH version: 4.3.6.2 (stable)
Fresh install
My ttrss android app kept logging me out, so I decided to look what’s up. I get the following error for nginx in the YH services section:
For legibility:
Error: "500"
Action: "GET" /yunohost/api/services/nginx/log?number=50&locale=en
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/moulinette/interfaces/api.py", line 494, in process
ret = self.actionsmap.process(arguments, timeout=30, route=_route)
File "/usr/lib/python3/dist-packages/moulinette/actionsmap.py", line 599, in process
return func(**arguments)
File "/usr/lib/moulinette/yunohost/service.py", line 571, in service_log
_tail(log_file_path, number) if os.path.exists(log_file_path) else []
File "/usr/lib/moulinette/yunohost/service.py", line 832, in _tail
lines = _tail(previous_log_file, to_read - len(lines)) + lines
File "/usr/lib/moulinette/yunohost/service.py", line 817, 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 bytes in position 35044-35045: invalid continuation byte
Is this a known issue? I tried looking on the forums but couldn’t find this exact issue.
Thanks in advance!