Hi everyone,
I'm trying to upgrade my pod from 1.2.6 to 1.3.0 on Debian 10 (I know, it's outdated, but I had issues upgrading that raspberry pi). When I try to collect statics, I get the following Python stacktrace:
root@Furuneo:/var/lib/funkwhale# venv/bin/funkwhale-manage collectstatic --no-input
Traceback (most recent call last):
File "/var/lib/funkwhale/venv/lib/python3.7/site-packages/django/core/management/__init__.py", line 237, in fetch_command
app_name = commands[subcommand]
KeyError: 'collectstatic'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "venv/bin/funkwhale-manage", line 8, in <module>
sys.exit(main())
File "/var/lib/funkwhale/api/funkwhale_api/main.py", line 30, in main
execute_from_command_line(sys.argv)
File "/var/lib/funkwhale/venv/lib/python3.7/site-packages/django/core/management/__init__.py", line 419, in execute_from_command_line
utility.execute()
File "/var/lib/funkwhale/venv/lib/python3.7/site-packages/django/core/management/__init__.py", line 413, in execute
self.fetch_command(subcommand).run_from_argv(self.argv)
File "/var/lib/funkwhale/venv/lib/python3.7/site-packages/django/core/management/__init__.py", line 244, in fetch_command
settings.INSTALLED_APPS
File "/var/lib/funkwhale/venv/lib/python3.7/site-packages/django/conf/__init__.py", line 82, in __getattr__
self._setup(name)
File "/var/lib/funkwhale/venv/lib/python3.7/site-packages/django/conf/__init__.py", line 69, in _setup
self._wrapped = Settings(settings_module)
File "/var/lib/funkwhale/venv/lib/python3.7/site-packages/django/conf/__init__.py", line 170, in __init__
mod = importlib.import_module(self.SETTINGS_MODULE)
File "/usr/lib/python3.7/importlib/__init__.py", line 127, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "<frozen importlib._bootstrap>", line 1006, in _gcd_import
File "<frozen importlib._bootstrap>", line 983, in _find_and_load
File "<frozen importlib._bootstrap>", line 967, in _find_and_load_unlocked
File "<frozen importlib._bootstrap>", line 677, in _load_unlocked
File "<frozen importlib._bootstrap_external>", line 728, in exec_module
File "<frozen importlib._bootstrap>", line 219, in _call_with_frames_removed
File "/var/lib/funkwhale/api/config/settings/production.py", line 12, in <module>
from .common import * # noqa
File "/var/lib/funkwhale/api/config/settings/common.py", line 8, in <module>
from celery.schedules import crontab
File "/var/lib/funkwhale/venv/lib/python3.7/site-packages/celery/schedules.py", line 12, in <module>
from . import current_app
ImportError: cannot import name 'current_app' from 'celery' (/var/lib/funkwhale/venv/lib/python3.7/site-packages/celery/__init__.py)
Can anyone help me with this? I'd be grateful.