500 error on plinth/sys/diagnostics/full
I am reliably getting 500 errors when viewing Diagnostic Results from the notification bell clicking the 'Go to diagnostic results' button. Selecting the View Results button from plinth/sys/diagnostics generates a 500 error. Selecting Run Diagnostics Now from the diagnostics app likewise makes a 500 error. The status log below is from only the first operation of viewing results from the notification menu. This has been happening without exception when I try to see diagnostics, and has been happening for maybe months. I'm sorry I can't be more specific about the onset of the issue.
Running diagnostics will go straight to the 500 error and you will not see the diagnostic progress as tests are completed.
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.
I also notice on the 500 error page that I do not appear to be logged in, but when I click back in the browser I am still logged in.
Status log contents:
Mar 02 06:25:06 fbhostname sudo[744226]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Mar 02 06:25:07 fbhostname sudo[744226]: pam_unix(sudo:session): session closed for user root
Mar 02 06:26:25 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 06:31:38 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 06:36:51 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 06:42:04 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 06:47:18 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 06:52:31 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 06:57:45 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 07:02:57 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 07:08:11 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 07:13:24 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 07:18:37 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 07:21:01 fbhostname /usr/bin/plinth[1399]: Forbidden (Referer checking failed - no Referer.): /plinth/
Mar 02 07:21:03 fbhostname /usr/bin/plinth[1399]: Forbidden (Referer checking failed - no Referer.): /plinth/
Mar 02 07:23:50 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 07:24:04 fbhostname /usr/bin/plinth[1399]: # storage..usage_info(…)
Mar 02 07:24:04 fbhostname sudo[747045]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions storage usage_info --write-fd 17
Mar 02 07:24:04 fbhostname sudo[747045]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Mar 02 07:24:05 fbhostname sudo[747045]: pam_unix(sudo:session): session closed for user root
Mar 02 07:26:17 fbhostname /usr/bin/plinth[1399]: # users..get_user_groups(…)
Mar 02 07:26:17 fbhostname sudo[747540]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions users get_user_groups --write-fd 13
Mar 02 07:26:17 fbhostname sudo[747540]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Mar 02 07:26:18 fbhostname sudo[747540]: pam_unix(sudo:session): session closed for user root
Mar 02 07:29:03 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 07:31:13 fbhostname /usr/bin/plinth[1399]: Not Found: /plinth/img/noise.png
Mar 02 07:31:15 fbhostname /usr/bin/plinth[1399]: Not Found: /plinth/apps/img/noise.png
Mar 02 07:31:17 fbhostname /usr/bin/plinth[1399]: # sso..generate_ticket(…)
Mar 02 07:31:17 fbhostname sudo[748001]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions sso generate_ticket --write-fd 31
Mar 02 07:31:17 fbhostname sudo[748001]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Mar 02 07:31:18 fbhostname sudo[748001]: pam_unix(sudo:session): session closed for user root
Mar 02 07:34:17 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 07:39:30 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 07:44:44 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 07:49:57 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 07:55:10 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 07:56:09 fbhostname /usr/bin/plinth[1399]: # users..get_user_groups(…)
Mar 02 07:56:09 fbhostname sudo[749352]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions users get_user_groups --write-fd 13
Mar 02 07:56:09 fbhostname sudo[749352]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Mar 02 07:56:11 fbhostname sudo[749352]: pam_unix(sudo:session): session closed for user root
Mar 02 08:00:23 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 08:05:36 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 08:10:50 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 08:16:02 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 08:21:16 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 08:23:02 fbhostname /usr/bin/plinth[1399]: # storage..usage_info(…)
Mar 02 08:23:02 fbhostname sudo[750354]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions storage usage_info --write-fd 20
Mar 02 08:23:02 fbhostname sudo[750354]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Mar 02 08:23:03 fbhostname sudo[750354]: pam_unix(sudo:session): session closed for user root
Mar 02 08:26:29 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 08:31:43 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 08:36:56 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 08:42:09 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 08:47:22 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 08:52:35 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 08:57:49 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 09:03:02 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 09:08:15 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 09:13:28 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 09:18:42 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 09:22:00 fbhostname /usr/bin/plinth[1399]: # storage..usage_info(…)
Mar 02 09:22:00 fbhostname sudo[753560]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions storage usage_info --write-fd 13
Mar 02 09:22:00 fbhostname sudo[753560]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Mar 02 09:22:01 fbhostname sudo[753560]: pam_unix(sudo:session): session closed for user root
Mar 02 09:23:55 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 09:29:08 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 09:34:22 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 09:39:35 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 09:44:48 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 09:50:01 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 09:55:14 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 09:56:20 fbhostname /usr/bin/plinth[1399]: Forbidden (Referer checking failed - no Referer.): /plinth/
Mar 02 09:56:21 fbhostname /usr/bin/plinth[1399]: Forbidden (Referer checking failed - no Referer.): /plinth/
Mar 02 10:00:28 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 10:05:41 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 10:10:54 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 10:16:07 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 10:20:58 fbhostname /usr/bin/plinth[1399]: # storage..usage_info(…)
Mar 02 10:20:58 fbhostname sudo[756527]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions storage usage_info --write-fd 17
Mar 02 10:20:58 fbhostname sudo[756527]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Mar 02 10:20:59 fbhostname sudo[756527]: pam_unix(sudo:session): session closed for user root
Mar 02 10:21:21 fbhostname /usr/bin/plinth[1399]: Dynamic domain fbhostname.fbx.one is up-to-date: XX.XX.XX.XX
Mar 02 10:23:28 fbhostname /usr/bin/plinth[1399]: # users..get_user_groups(…)
Mar 02 10:23:28 fbhostname sudo[756585]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions users get_user_groups --write-fd 18
Mar 02 10:23:28 fbhostname sudo[756585]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Mar 02 10:23:29 fbhostname sudo[756585]: pam_unix(sudo:session): session closed for user root
Mar 02 10:26:02 fbhostname /usr/bin/plinth[1399]: # users..get_user_groups(…)
Mar 02 10:26:02 fbhostname sudo[757247]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions users get_user_groups --write-fd 18
Mar 02 10:26:02 fbhostname sudo[757247]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Mar 02 10:26:03 fbhostname sudo[757247]: pam_unix(sudo:session): session closed for user root
Mar 02 10:26:06 fbhostname /usr/bin/plinth[1399]: # users..get_user_groups(…)
Mar 02 10:26:06 fbhostname sudo[757414]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions users get_user_groups --write-fd 18
Mar 02 10:26:06 fbhostname sudo[757414]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)
Mar 02 10:26:07 fbhostname sudo[757414]: pam_unix(sudo:session): session closed for user root
Mar 02 10:26:15 fbhostname /usr/bin/plinth[1399]: Internal Server Error: /plinth/sys/diagnostics/full/
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 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/django/views/generic/base.py", line 70, in view
return self.dispatch(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/django/views/generic/base.py", line 98, in dispatch
return handler(request, *args, **kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/django/views/generic/base.py", line 159, in get
context = self.get_context_data(**kwargs)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/plinth/modules/diagnostics/views.py", line 76, in get_context_data
context['results'] = diagnostics.get_results()
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3/dist-packages/plinth/modules/diagnostics/init.py", line 341, in get_results
results = deepcopy(current_results)
^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/copy.py", line 146, in deepcopy
y = copier(x, memo)
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/copy.py", line 231, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/copy.py", line 146, in deepcopy
y = copier(x, memo)
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/copy.py", line 206, in _deepcopy_list
append(deepcopy(a, memo))
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/copy.py", line 146, in deepcopy
y = copier(x, memo)
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/copy.py", line 211, in _deepcopy_tuple
y = [deepcopy(a, memo) for a in x]
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/copy.py", line 211, in
y = [deepcopy(a, memo) for a in x]
^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/copy.py", line 172, in deepcopy
y = _reconstruct(x, memo, *rv)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/copy.py", line 271, in _reconstruct
state = deepcopy(state, memo)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/copy.py", line 146, in deepcopy
y = copier(x, memo)
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/copy.py", line 231, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/copy.py", line 172, in deepcopy
y = _reconstruct(x, memo, *rv)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/copy.py", line 297, in _reconstruct
value = deepcopy(value, memo)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/copy.py", line 172, in deepcopy
y = _reconstruct(x, memo, *rv)
^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/copy.py", line 271, in _reconstruct
state = deepcopy(state, memo)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/copy.py", line 146, in deepcopy
y = copier(x, memo)
^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/copy.py", line 231, in _deepcopy_dict
y[deepcopy(key, memo)] = deepcopy(value, memo)
^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.11/copy.py", line 161, in deepcopy
rv = reductor(4)
^^^^^^^^^^^
TypeError: cannot pickle 'dict_values' object
Mar 02 10:26:15 fbhostname /usr/bin/plinth[1399]: Not Found: /plinth/sys/diagnostics/img/noise.png
Mar 02 10:26:23 fbhostname /usr/bin/plinth[1399]: Not Found: /plinth/sys/diagnostics/img/noise.png
Mar 02 10:26:27 fbhostname /usr/bin/plinth[1399]: # help..get_logs(…)
Mar 02 10:26:27 fbhostname sudo[757580]: plinth : PWD=/ ; USER=root ; COMMAND=/usr/share/plinth/actions/actions help get_logs --write-fd 17
Mar 02 10:26:27 fbhostname sudo[757580]: pam_unix(sudo:session): session opened for user root(uid=0) by (uid=110)