cubicweb-sentry #15494913 cubicweb-ctl db-init app --automatic fails on ProgrammingError: relation "cw_cwproperty" does not exist [open]

Traceback

Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/cubicweb/cwctl.py", line 146, in run_arg
  status = cmdmeth(appid)
File "/usr/local/lib/python2.7/dist-packages/cubicweb/cwctl.py", line 725, in upgrade_instance
  mih = config.migration_handler()
File "/usr/local/lib/python2.7/dist-packages/cubicweb/server/serverconfig.py", line 350, in migration_handler
  verbosity=verbosity)
File "/usr/local/lib/python2.7/dist-packages/cubicweb/server/migractions.py", line 101, in __init__
  self.repo = config.repository()
File "/usr/local/lib/python2.7/dist-packages/cubicweb/cwconfig.py", line 1004, in repository
  return Repository(self, TasksManager(), vreg=vreg)
File "/usr/local/lib/python2.7/dist-packages/cubicweb/server/repository.py", line 186, in __init__
  self.init_cnxset_pool()
File "/usr/local/lib/python2.7/dist-packages/cubicweb/server/repository.py", line 212, in init_cnxset_pool
  config.init_cubes(self.get_cubes())
File "/usr/local/lib/python2.7/dist-packages/cubicweb/server/repository.py", line 522, in get_cubes
  or self.config.mode == 'test'))
File "/usr/local/lib/python2.7/dist-packages/logilab/common/decorators.py", line 67, in wrapped
  return self.__call__(*args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/logilab/common/decorators.py", line 94, in __call__
  _cache[args] = __me.callable(self, *args)
File "/usr/local/lib/python2.7/dist-packages/cubicweb/server/repository.py", line 552, in get_versions
  'P pkey ~="system.version.%"', build_descr=False):
File "/usr/local/lib/python2.7/dist-packages/cubicweb/server/session.py", line 185, in check_open
  return func(cnx, *args, **kwargs)
File "/usr/local/lib/python2.7/dist-packages/cubicweb/server/session.py", line 818, in execute
  rset = self._execute(self, rql, kwargs, build_descr)
File "/usr/local/lib/python2.7/dist-packages/cubicweb/statsd_logger.py", line 121, in __call__
  return self.callable(*args, **kw)
File "/usr/local/lib/python2.7/dist-packages/cubicweb/server/querier.py", line 617, in execute
  results = plan.execute()
File "/usr/local/lib/python2.7/dist-packages/cubicweb/server/querier.py", line 198, in execute
  result = step.execute()
File "/usr/local/lib/python2.7/dist-packages/cubicweb/server/ssplanner.py", line 376, in execute
  result = source.syntax_tree_search(cnx, union, args, cachekey, inputmap)
File "/usr/local/lib/python2.7/dist-packages/cubicweb/server/sources/native.py", line 560, in syntax_tree_search
  cursor = self.doexec(cnx, sql, args)
File "/usr/local/lib/python2.7/dist-packages/cubicweb/statsd_logger.py", line 121, in __call__
  return self.callable(*args, **kw)
File "/usr/local/lib/python2.7/dist-packages/cubicweb/server/sources/native.py", line 714, in doexec
  cursor.execute(str(query), args)
ProgrammingError: relation "cw_cwproperty" does not exist
prioritynormal
typebug
done in<not specified>
closed by<not specified>