RuntimeError: Unable to create a new session key
(I technically had this problem already, but reinstalling redis does not solve it this time.)
Steps to reproduce
starting funkwhale via systemd process or rebooting
This started occurring after a normal sudo reboot command.
What happens?
the process is running, but the website gives a 500 error page.
Status of the running process gives these errors:
12月 07 02:23:02 raspberrypi gunicorn[1584]: 2020-12-07 01:23:02,653 django.request ERROR Internal Server Error: /
12月 07 02:23:02 raspberrypi gunicorn[1584]: Traceback (most recent call last):
12月 07 02:23:02 raspberrypi gunicorn[1584]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/django/core/handlers/exception.py", line 34, in inner
12月 07 02:23:02 raspberrypi gunicorn[1584]: response = get_response(request)
12月 07 02:23:02 raspberrypi gunicorn[1584]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/django/utils/deprecation.py", line 96, in __call__
12月 07 02:23:02 raspberrypi gunicorn[1584]: response = self.process_response(request, response)
12月 07 02:23:02 raspberrypi gunicorn[1584]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/django/contrib/sessions/middleware.py", line 59, in process_response
12月 07 02:23:02 raspberrypi gunicorn[1584]: request.session.save()
12月 07 02:23:02 raspberrypi gunicorn[1584]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/django/contrib/sessions/backends/cache.py", line 56, in save
12月 07 02:23:02 raspberrypi gunicorn[1584]: return self.create()
12月 07 02:23:02 raspberrypi gunicorn[1584]: File "/srv/funkwhale/virtualenv/lib/python3.7/site-packages/django/contrib/sessions/backends/cache.py", line 51, in create
12月 07 02:23:02 raspberrypi gunicorn[1584]: "Unable to create a new session key. "
12月 07 02:23:02 raspberrypi gunicorn[1584]: RuntimeError: Unable to create a new session key. It is likely that the cache is unavailable.
12月 07 02:23:16 raspberrypi gunicorn[1584]: 2020-12-07 01:23:16,785 django.request ERROR Internal Server Error: /favicon.ico
What is expected?
funkwhale starting normally at boot.
Context
Source code (1.1)
Funkwhale version(s) affected: stable release
Installed via Debian-script. Upgraded via Debian-script.