My YunoHost server
Hardware: VPS bought online
YunoHost version: 4.2.6.1 (stable).
I have access to my server : through the webadmin
Are you in a special context or did you perform some particular tweaking on your YunoHost instance ? : no
Description of my issue
I just installed Funkwhale but it doesn’t work, because the service “funkwhale server” fails.
Here are the logs:
-- Logs begin at Sat 2021-07-10 13:07:22 CEST, end at Sat 2021-07-10 13:20:22 CEST. --
Jul 10 13:10:45 gunicorn[13627]: django.setup()
Jul 10 13:10:45 gunicorn[13627]: File "/var/www/funkwhale/virtualenv/lib/python3.7/site-packages/django/__init__.py", line 22, in setup
Jul 10 13:10:45 gunicorn[13627]: '/' if settings.FORCE_SCRIPT_NAME is None else settings.FORCE_SCRIPT_NAME
Jul 10 13:10:45 gunicorn[13627]: File "/var/www/funkwhale/virtualenv/lib/python3.7/site-packages/django/urls/base.py", line 105, in set_script_prefix
Jul 10 13:10:45 gunicorn[13627]: _prefixes.value = prefix
Jul 10 13:10:45 gunicorn[13627]: File "/var/www/funkwhale/virtualenv/lib/python3.7/site-packages/asgiref/local.py", line 113, in __setattr__
Jul 10 13:10:45 gunicorn[13627]: storage = self._get_storage()
Jul 10 13:10:45 gunicorn[13627]: File "/var/www/funkwhale/virtualenv/lib/python3.7/site-packages/asgiref/local.py", line 83, in _get_storage
Jul 10 13:10:45 gunicorn[13627]: context_obj = self._get_context_id()
Jul 10 13:10:45 gunicorn[13627]: File "/var/www/funkwhale/virtualenv/lib/python3.7/site-packages/asgiref/local.py", line 51, in _get_context_id
Jul 10 13:10:45 gunicorn[13627]: from .sync import AsyncToSync, SyncToAsync
Jul 10 13:10:45 gunicorn[13627]: File "/var/www/funkwhale/virtualenv/lib/python3.7/site-packages/asgiref/sync.py", line 304, in <module>
Jul 10 13:10:45 gunicorn[13627]: class SyncToAsync:
Jul 10 13:10:45 gunicorn[13627]: File "/var/www/funkwhale/virtualenv/lib/python3.7/site-packages/asgiref/sync.py", line 328, in SyncToAsync
Jul 10 13:10:45 gunicorn[13627]: loop = get_running_loop()
Jul 10 13:10:45 gunicorn[13627]: RuntimeError: no running event loop
Jul 10 13:10:45 gunicorn[13627]: [2021-07-10 11:10:45 +0000] [13639] [INFO] Worker exiting (pid: 13639)
Jul 10 13:10:45 gunicorn[13627]: Traceback (most recent call last):
Jul 10 13:10:45 gunicorn[13627]: File "/var/www/funkwhale/virtualenv/lib/python3.7/site-packages/gunicorn/arbiter.py", line 209, in run
Jul 10 13:10:45 gunicorn[13627]: self.sleep()
Jul 10 13:10:45 gunicorn[13627]: File "/var/www/funkwhale/virtualenv/lib/python3.7/site-packages/gunicorn/arbiter.py", line 357, in sleep
Jul 10 13:10:45 gunicorn[13627]: ready = select.select([self.PIPE[0]], [], [], 1.0)
Jul 10 13:10:45 gunicorn[13627]: File "/var/www/funkwhale/virtualenv/lib/python3.7/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
Jul 10 13:10:45 gunicorn[13627]: self.reap_workers()
Jul 10 13:10:45 gunicorn[13627]: File "/var/www/funkwhale/virtualenv/lib/python3.7/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
Jul 10 13:10:45 gunicorn[13627]: raise HaltServer(reason, self.WORKER_BOOT_ERROR)
Jul 10 13:10:45 gunicorn[13627]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
Jul 10 13:10:45 gunicorn[13627]: During handling of the above exception, another exception occurred:
Jul 10 13:10:45 gunicorn[13627]: Traceback (most recent call last):
Jul 10 13:10:45 gunicorn[13627]: File "/var/www/funkwhale/virtualenv/bin/gunicorn", line 8, in <module>
Jul 10 13:10:45 gunicorn[13627]: sys.exit(run())
Jul 10 13:10:45 gunicorn[13627]: File "/var/www/funkwhale/virtualenv/lib/python3.7/site-packages/gunicorn/app/wsgiapp.py", line 58, in run
Jul 10 13:10:45 gunicorn[13627]: WSGIApplication("%(prog)s [OPTIONS] [APP_MODULE]").run()
Jul 10 13:10:45 gunicorn[13627]: File "/var/www/funkwhale/virtualenv/lib/python3.7/site-packages/gunicorn/app/base.py", line 228, in run
Jul 10 13:10:45 gunicorn[13627]: super().run()
Jul 10 13:10:45 gunicorn[13627]: File "/var/www/funkwhale/virtualenv/lib/python3.7/site-packages/gunicorn/app/base.py", line 72, in run
Jul 10 13:10:45 gunicorn[13627]: Arbiter(self).run()
Jul 10 13:10:45 gunicorn[13627]: File "/var/www/funkwhale/virtualenv/lib/python3.7/site-packages/gunicorn/arbiter.py", line 229, in run
Jul 10 13:10:45 gunicorn[13627]: self.halt(reason=inst.reason, exit_status=inst.exit_status)
Jul 10 13:10:45 gunicorn[13627]: File "/var/www/funkwhale/virtualenv/lib/python3.7/site-packages/gunicorn/arbiter.py", line 342, in halt
Jul 10 13:10:45 gunicorn[13627]: self.stop()
Jul 10 13:10:45 gunicorn[13627]: File "/var/www/funkwhale/virtualenv/lib/python3.7/site-packages/gunicorn/arbiter.py", line 393, in stop
Jul 10 13:10:45 gunicorn[13627]: time.sleep(0.1)
Jul 10 13:10:45 gunicorn[13627]: File "/var/www/funkwhale/virtualenv/lib/python3.7/site-packages/gunicorn/arbiter.py", line 242, in handle_chld
Jul 10 13:10:45 gunicorn[13627]: self.reap_workers()
Jul 10 13:10:45 gunicorn[13627]: File "/var/www/funkwhale/virtualenv/lib/python3.7/site-packages/gunicorn/arbiter.py", line 525, in reap_workers
Jul 10 13:10:45 gunicorn[13627]: raise HaltServer(reason, self.WORKER_BOOT_ERROR)
Jul 10 13:10:45 gunicorn[13627]: gunicorn.errors.HaltServer: <HaltServer 'Worker failed to boot.' 3>
Jul 10 13:10:45 systemd[1]: funkwhale-server.service: Main process exited, code=exited, status=1/FAILURE
Jul 10 13:10:45 systemd[1]: funkwhale-server.service: Failed with result 'exit-code'.