Problem Description
I’ve done several things to my freedom box but the last thing I did was install mumble.
Afterwards I got a 500 error from plinth.
Since then I’ve tried reading the log, rebooting, and installing updates. these didn’t help.
Steps to Reproduce
- Open the root page (/plinth)
- 500 error displayed.
Expected Results
a FreedomBox login page without errors
Actual results
A 500 error.
login doesnt work.
If I go strait to cockpit that works.
the sharli app I installed also still works
Screenshot
" 500
This is an internal error and not something you caused or can fix. Please report the error on the bug tracker so we can fix it. Also, please attach the status log to the bug report."
Information
- FreedomBox version: cant check but I ran updates so it should be latest
- Hardware: rockpro64
- How did you install FreedomBox?: downloaded image
-
- Status Log link is not functional
What looks like is the error causing the page problem in the cockpit logs section, there are others
/usr/bin/plinth
Internal Server Error: /plinth/
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/django/core/handlers/exception.py", line 47, in inner
response = get_response(request)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/django/core/handlers/base.py", line 204, in _get_response
response = response.render()
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/django/template/response.py", line 105, in render
self.content = self.rendered_content
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/django/template/response.py", line 83, in rendered_content
return template.render(context, self._request)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/django/template/backends/django.py", line 61, in render
return self.template.render(context)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/django/template/base.py", line 168, in render
with context.bind_template(self):
File "/usr/lib/python3.11/contextlib.py", line 137, in __enter__
return next(self.gen)
^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/django/template/context.py", line 244, in bind_template
updates.update(processor(self.request))
^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/plinth/context_processors.py", line 26, in common
notifications_context = Notification.get_display_context(
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/plinth/notification.py", line 353, in get_display_context
'message': Notification._translate(note.message, data),
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/plinth/notification.py", line 289, in _translate
string_ = SafeFormatter().vformat(string_, [], data)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/string.py", line 194, in vformat
result, _ = self._vformat(format_string, args, kwargs, used_args, 2)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/string.py", line 241, in _vformat
format_spec, auto_arg_index = self._vformat(
^^^^^^^^^^^^^^
File "/usr/lib/python3.11/string.py", line 241, in _vformat
format_spec, auto_arg_index = self._vformat(
^^^^^^^^^^^^^^
File "/usr/lib/python3.11/string.py", line 241, in _vformat
format_spec, auto_arg_index = self._vformat(
^^^^^^^^^^^^^^
File "/usr/lib/python3.11/string.py", line 201, in _vformat
raise ValueError('Max string recursion exceeded')
ValueError: Max string recursion exceeded
CODE_ARGS ('Internal Server Error', '/plinth/')
CODE_FILE /usr/lib/python3/dist-packages/django/utils/log.py
CODE_FUNC log_response
CODE_LINE 224
EXCEPTION_INFO (<class 'ValueError'>, ValueError('Max string recursion exceeded'), <traceback object at 0xffff9823f8c0>)
EXCEPTION_TEXT duplicate info
LOGGER django.request
PRIORITY3
PROCESS_NAME MainProcess
SYSLOG_IDENTIFIER /usr/bin/plinth