Issue Summary
Hi i am running upgrade script which is failing either on ubuntu 16.04 LTS and 20.04 LTS
there are no redash process running and pg_stat_activity
is also checked and empty.
sudo bin/upgrade
Failed running: sudo -u redash bin/run ./manage.py db upgrade
Exit status: 1
Output:
Traceback (most recent call last):
File “/opt/redash/redash.4.0.1.b4038/manage.py”, line 6, in
from redash.cli import manager
File “/opt/redash/redash.4.0.1.b4038/redash/init.py”, line 72, in
import_query_runners(settings.QUERY_RUNNERS)
File “/opt/redash/redash.4.0.1.b4038/redash/query_runner/init.py”, line 179, in import_query_runners
import(runner_import)
File “/opt/redash/redash.4.0.1.b4038/redash/query_runner/query_results.py”, line 9, in
from redash import models
File “/opt/redash/redash.4.0.1.b4038/redash/models.py”, line 38, in
from sqlalchemy_searchable import SearchQueryMixin, make_searchable, vectorizer
File “/usr/local/lib/python2.7/dist-packages/sqlalchemy_searchable/init.py”, line 9, in
from sqlalchemy_utils import TSVectorType
File “/usr/local/lib/python2.7/dist-packages/sqlalchemy_utils/init.py”, line 1, in
from .aggregates import aggregated # noqa
File “/usr/local/lib/python2.7/dist-packages/sqlalchemy_utils/aggregates.py”, line 372, in
from .functions.orm import get_column_key
File “/usr/local/lib/python2.7/dist-packages/sqlalchemy_utils/functions/init.py”, line 1, in
from .database import ( # noqa
File “/usr/local/lib/python2.7/dist-packages/sqlalchemy_utils/functions/database.py”, line 3, in
from collections.abc import Mapping, Sequence
ImportError: No module named abc
Maybe some library/module to upgrade in the script ?
Your help will be much appreciated !
Many thanks for this bold app @arikfr !!
Technical details:
- Redash Version: Upgrading V3 to V4
- Browser/OS: Ubuntu 16.04 & Ubuntu 20.04 LTS
- How did you install Redash: following the legacy guide