Ran it manually (got a couple of other issues on the machine in the meantime), and it still fails
/srv/funkwhale# virtualenv/bin/funkwhale-manage collectstatic --no-input
2023-07-16 19:17:21,050 funkwhale_api.config INFO Loaded env file at /srv/funkwhale/config/.env
2023-07-16 19:17:21,051 funkwhale_api.config INFO Running with the following plugins enabled: funkwhale_api.contrib.scrobbler, funkwhale_api.contrib.listenbrainz, funkwhale_api.contrib.maloja
Traceback (most recent call last):
File "/srv/funkwhale/virtualenv/bin/funkwhale-manage", line 8, in <module>
sys.exit(main())
File "/srv/funkwhale/api/funkwhale_api/main.py", line 30, in main
execute_from_command_line(sys.argv)
File "/srv/funkwhale/virtualenv/lib/python3.10/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
utility.execute()
File "/srv/funkwhale/virtualenv/lib/python3.10/site-packages/django/core/management/__init__.py", line 395, in execute
django.setup()
File "/srv/funkwhale/virtualenv/lib/python3.10/site-packages/django/__init__.py", line 24, in setup
apps.populate(settings.INSTALLED_APPS)
File "/srv/funkwhale/virtualenv/lib/python3.10/site-packages/django/apps/registry.py", line 91, in populate
app_config = AppConfig.create(entry)
File "/srv/funkwhale/virtualenv/lib/python3.10/site-packages/django/apps/config.py", line 124, in create
mod = import_module(mod_path)
File "/usr/lib/python3.10/importlib/__init__.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1050, in _gcd_import
File "<frozen importlib._bootstrap>", line 1027, in _find_and_load
File "<frozen importlib._bootstrap>", line 1006, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 688, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 883, in exec_module
File "<frozen importlib._bootstrap>", line 241, in _call_with_frames_removed
File "/srv/funkwhale/virtualenv/lib/python3.10/site-packages/daphne/apps.py", line 6, in <module>
import daphne.server # noqa: F401
File "/srv/funkwhale/virtualenv/lib/python3.10/site-packages/daphne/server.py", line 7, in <module>
from twisted.internet import asyncioreactor # isort:skip
File "/srv/funkwhale/virtualenv/lib/python3.10/site-packages/twisted/internet/asyncioreactor.py", line 19, in <module>
from twisted.internet.posixbase import (
File "/srv/funkwhale/virtualenv/lib/python3.10/site-packages/twisted/internet/posixbase.py", line 19, in <module>
from twisted.internet import error, tcp, udp
File "/srv/funkwhale/virtualenv/lib/python3.10/site-packages/twisted/internet/tcp.py", line 38, in <module>
from twisted.internet._newtls import (
File "/srv/funkwhale/virtualenv/lib/python3.10/site-packages/twisted/internet/_newtls.py", line 18, in <module>
from twisted.protocols.tls import TLSMemoryBIOFactory, TLSMemoryBIOProtocol
File "/srv/funkwhale/virtualenv/lib/python3.10/site-packages/twisted/protocols/tls.py", line 40, in <module>
from OpenSSL.SSL import (
File "/srv/funkwhale/virtualenv/lib/python3.10/site-packages/OpenSSL/__init__.py", line 8, in <module>
from OpenSSL import crypto, SSL
File "/srv/funkwhale/virtualenv/lib/python3.10/site-packages/OpenSSL/crypto.py", line 1556, in <module>
class X509StoreFlags(object):
File "/srv/funkwhale/virtualenv/lib/python3.10/site-packages/OpenSSL/crypto.py", line 1577, in X509StoreFlags
CB_ISSUER_CHECK = _lib.X509_V_FLAG_CB_ISSUER_CHECK
AttributeError: module 'lib' has no attribute 'X509_V_FLAG_CB_ISSUER_CHECK'
(I updated pip and pyOpenSSL to the latest version)