При выполнении скриптов миграции, получаю сообщение об ошибке.
[root@local_node noc]# ./noc sync-perm
...
2021-01-27 10:05:17,656 [noc.core.debug] UNHANDLED EXCEPTION (2021-01-27 10:05:17.592107)
PROCESS: ./commands/
sync-perm.pyVERSION: 20.4.3
BRANCH: HEAD CHANGESET: c86766dc
ERROR FINGERPRINT: fcd84f3f-46d6-5b75-817d-c63d296d7f33
WORKING DIRECTORY: /opt/noc
EXCEPTION: <class 'django.db.utils.ProgrammingError'> column sa_managedobjectselector.filter_managed does not exist
LINE 1: ...er_id", "sa_managedobjectselector"."filter_name", "sa_manage...
^
START OF TRACEBACK
------------------------------------------------------------------------
File: core/model/db/
monitor.py (Line: 26)
Function: execute
19 label = query.split(None, 1)[0].lower()[:10]
20 with Span(
21 service="postgres",
22 hist=get_hist("postgres", ("command", label)),
23 quantile=get_quantile("postgres", ("command", label)),
24 in_label=label,
25 ):
26 ==> super().execute(query, vars)