Unhandled Exception

Zdravím,

minulý týden proběhl update mého Turris Shieldu a dnes jsem se k němu chtěl připojit a restartovat jej. Protože mě k tomu vyzval přes mail. Ale při pokusu o přístup na web, dostanu místo přihlašovácí obrazovku toto hlášení (viz. níže). Neporadí někdo, co s tím? Já zkusil reset, ale to nepomohlo. Děkuji za rady.

Unhandled Exception
An unhandled exception was thrown by the application.

V logu jsem něco málo zjistil, ale to je tak vše.

2023-07-30 15:43:30: (../src/server.c.1909) server started (lighttpd/1.4.71)
2023-07-30 15:43:50: (../src/mod_fastcgi.c.449) FastCGI-stderr:Traceback (most recent call last):
2023-07-30 15:43:50: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/server/wsgi.py", line 60, in _main
2023-07-30 15:43:50: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/server/wsgi.py", line 119, in _login
2023-07-30 15:43:50: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/server/wsgi.py", line 100, in _login_new_session
2023-07-30 15:43:50: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/cookie.py", line 66, in generate
2023-07-30 15:43:50: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/contextlib.py", line 119, in __enter__
2023-07-30 15:43:50: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/cookie.py", line 38, in trustlist
2023-07-30 15:43:50: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/pathlib.py", line 1252, in open
2023-07-30 15:43:50: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/pathlib.py", line 1120, in _opener
2023-07-30 15:43:50: (../src/mod_fastcgi.c.449) FastCGI-stderr:PermissionError: [Errno 13] Permission denied: '/var/run/turris-auth.trust'
2023-07-30 15:43:50: (../src/mod_fastcgi.c.449) FastCGI-stderr:
2023-07-30 15:43:50: (../src/mod_fastcgi.c.449) FastCGI-stderr:During handling of the above exception, another exception occurred:
2023-07-30 15:43:50: (../src/mod_fastcgi.c.449) FastCGI-stderr:
2023-07-30 15:43:50: (../src/mod_fastcgi.c.449) FastCGI-stderr:Traceback (most recent call last):
2023-07-30 15:43:50: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/flup/server/fcgi_base.py", line 576, in run
2023-07-30 15:43:50: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/flup/server/fcgi_base.py", line 1175, in handler
2023-07-30 15:43:50: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/server/wsgi.py", line 80, in _main
2023-07-30 15:43:50: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/cgitb.py", line 177, in html
2023-07-30 15:43:50: (../src/mod_fastcgi.c.449) FastCGI-stderr:AttributeError: characters_written
2023-07-30 15:43:52: (../src/mod_fastcgi.c.449) FastCGI-stderr:Traceback (most recent call last):
2023-07-30 15:43:52: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/server/wsgi.py", line 60, in _main
2023-07-30 15:43:52: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/server/wsgi.py", line 119, in _login
2023-07-30 15:43:52: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/server/wsgi.py", line 100, in _login_new_session
2023-07-30 15:43:52: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/cookie.py", line 66, in generate
2023-07-30 15:43:52: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/contextlib.py", line 119, in __enter__
2023-07-30 15:43:52: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/cookie.py", line 38, in trustlist
2023-07-30 15:43:52: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/pathlib.py", line 1252, in open
2023-07-30 15:43:52: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/pathlib.py", line 1120, in _opener
2023-07-30 15:43:52: (../src/mod_fastcgi.c.449) FastCGI-stderr:PermissionError: [Errno 13] Permission denied: '/var/run/turris-auth.trust'
2023-07-30 15:43:52: (../src/mod_fastcgi.c.449) FastCGI-stderr:
2023-07-30 15:43:52: (../src/mod_fastcgi.c.449) FastCGI-stderr:During handling of the above exception, another exception occurred:
2023-07-30 15:43:52: (../src/mod_fastcgi.c.449) FastCGI-stderr:
2023-07-30 15:43:52: (../src/mod_fastcgi.c.449) FastCGI-stderr:Traceback (most recent call last):
2023-07-30 15:43:52: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/flup/server/fcgi_base.py", line 576, in run
2023-07-30 15:43:52: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/flup/server/fcgi_base.py", line 1175, in handler
2023-07-30 15:43:52: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/server/wsgi.py", line 80, in _main
2023-07-30 15:43:52: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/cgitb.py", line 177, in html
2023-07-30 15:43:52: (../src/mod_fastcgi.c.449) FastCGI-stderr:AttributeError: characters_written
2023-07-30 15:43:55: (../src/mod_fastcgi.c.449) FastCGI-stderr:Traceback (most recent call last):
2023-07-30 15:43:55: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/server/wsgi.py", line 60, in _main
2023-07-30 15:43:55: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/server/wsgi.py", line 119, in _login
2023-07-30 15:43:55: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/server/wsgi.py", line 100, in _login_new_session
2023-07-30 15:43:55: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/cookie.py", line 66, in generate
2023-07-30 15:43:55: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/contextlib.py", line 119, in __enter__
2023-07-30 15:43:55: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/cookie.py", line 38, in trustlist
2023-07-30 15:43:55: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/pathlib.py", line 1252, in open
2023-07-30 15:43:55: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/pathlib.py", line 1120, in _opener
2023-07-30 15:43:55: (../src/mod_fastcgi.c.449) FastCGI-stderr:PermissionError: [Errno 13] Permission denied: '/var/run/turris-auth.trust'
2023-07-30 15:43:55: (../src/mod_fastcgi.c.449) FastCGI-stderr:
2023-07-30 15:43:55: (../src/mod_fastcgi.c.449) FastCGI-stderr:During handling of the above exception, another exception occurred:
2023-07-30 15:43:55: (../src/mod_fastcgi.c.449) FastCGI-stderr:
2023-07-30 15:43:55: (../src/mod_fastcgi.c.449) FastCGI-stderr:Traceback (most recent call last):
2023-07-30 15:43:55: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/flup/server/fcgi_base.py", line 576, in run
2023-07-30 15:43:55: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/flup/server/fcgi_base.py", line 1175, in handler
2023-07-30 15:43:55: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/server/wsgi.py", line 80, in _main
2023-07-30 15:43:55: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/cgitb.py", line 177, in html
2023-07-30 15:43:55: (../src/mod_fastcgi.c.449) FastCGI-stderr:AttributeError: characters_written
2023-07-30 15:47:57: (../src/gw_backend.c.526) connect() /tmp/fastcgi.turris_auth.socket-0: Connection refused
2023-07-30 15:48:01: (../src/mod_fastcgi.c.449) FastCGI-stderr:Traceback (most recent call last):
2023-07-30 15:48:01: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/server/wsgi.py", line 60, in _main
2023-07-30 15:48:01: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/server/wsgi.py", line 119, in _login
2023-07-30 15:48:01: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/server/wsgi.py", line 100, in _login_new_session
2023-07-30 15:48:01: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/cookie.py", line 66, in generate
2023-07-30 15:48:01: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/contextlib.py", line 119, in __enter__
2023-07-30 15:48:01: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/cookie.py", line 38, in trustlist
2023-07-30 15:48:01: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/pathlib.py", line 1252, in open
2023-07-30 15:48:01: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/pathlib.py", line 1120, in _opener
2023-07-30 15:48:01: (../src/mod_fastcgi.c.449) FastCGI-stderr:PermissionError: [Errno 13] Permission denied: '/var/run/turris-auth.trust'
2023-07-30 15:48:01: (../src/mod_fastcgi.c.449) FastCGI-stderr:
2023-07-30 15:48:01: (../src/mod_fastcgi.c.449) FastCGI-stderr:During handling of the above exception, another exception occurred:
2023-07-30 15:48:01: (../src/mod_fastcgi.c.449) FastCGI-stderr:
2023-07-30 15:48:01: (../src/mod_fastcgi.c.449) FastCGI-stderr:Traceback (most recent call last):
2023-07-30 15:48:01: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/flup/server/fcgi_base.py", line 576, in run
2023-07-30 15:48:01: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/flup/server/fcgi_base.py", line 1175, in handler
2023-07-30 15:48:01: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/server/wsgi.py", line 80, in _main
2023-07-30 15:48:01: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/cgitb.py", line 177, in html
2023-07-30 15:48:01: (../src/mod_fastcgi.c.449) FastCGI-stderr:AttributeError: characters_written
2023-07-30 15:48:57: (../src/mod_fastcgi.c.449) FastCGI-stderr:Traceback (most recent call last):
2023-07-30 15:48:57: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/server/wsgi.py", line 60, in _main
2023-07-30 15:48:57: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/server/wsgi.py", line 119, in _login
2023-07-30 15:48:57: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/server/wsgi.py", line 100, in _login_new_session
2023-07-30 15:48:57: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/cookie.py", line 66, in generate
2023-07-30 15:48:57: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/contextlib.py", line 119, in __enter__
2023-07-30 15:48:57: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/cookie.py", line 38, in trustlist
2023-07-30 15:48:57: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/pathlib.py", line 1252, in open
2023-07-30 15:48:57: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/pathlib.py", line 1120, in _opener
2023-07-30 15:48:57: (../src/mod_fastcgi.c.449) FastCGI-stderr:PermissionError: [Errno 13] Permission denied: '/var/run/turris-auth.trust'
2023-07-30 15:48:57: (../src/mod_fastcgi.c.449) FastCGI-stderr:
2023-07-30 15:48:57: (../src/mod_fastcgi.c.449) FastCGI-stderr:During handling of the above exception, another exception occurred:
2023-07-30 15:48:57: (../src/mod_fastcgi.c.449) FastCGI-stderr:
2023-07-30 15:48:57: (../src/mod_fastcgi.c.449) FastCGI-stderr:Traceback (most recent call last):
2023-07-30 15:48:57: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/flup/server/fcgi_base.py", line 576, in run
2023-07-30 15:48:57: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/flup/server/fcgi_base.py", line 1175, in handler
2023-07-30 15:48:57: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/site-packages/turris_auth/server/wsgi.py", line 80, in _main
2023-07-30 15:48:57: (../src/mod_fastcgi.c.449) FastCGI-stderr:  File "/usr/lib/python3.9/cgitb.py", line 177, in html
2023-07-30 15:48:57: (../src/mod_fastcgi.c.449) FastCGI-stderr:AttributeError: characters_written

Pokud se i dalším stala následující chyba, zde je vyjádření někoho z turris skupiny.

Ještě jednou se za Turris team omlouváme za nepříjemnosti. Nějakým způsobem se dostala do repozitáře stará chyba.
V rámci ticketu lighttpd run it under its own user (#854) · Issues · Turris / Turris OS / Turris OS packages · GitLab bude co nejdříve automatickým updatem vyřešena.