--- a/cubicweb/cwctl.py Thu May 23 00:33:04 2019 +0200
+++ b/cubicweb/cwctl.py Fri Oct 18 23:39:03 2019 +0200
@@ -47,7 +47,7 @@
from cubicweb.__pkginfo__ import version as cw_version
LOG_LEVELS = ('debug', 'info', 'warning', 'error')
-DBG_FLAGS = ('RQL', 'SQL', 'REPO', 'HOOKS', 'OPS', 'SEC', 'MORE')
+DBG_FLAGS = ('RQL', 'SQL', 'REPO', 'HOOKS', 'OPS', 'SEC', 'MORE', 'ALL')
# don't check duplicated commands, it occurs when reloading site_cubicweb
CWCTL = CommandLine('cubicweb-ctl', 'The CubicWeb swiss-knife.',
--- a/cubicweb/server/repository.py Thu May 23 00:33:04 2019 +0200
+++ b/cubicweb/server/repository.py Fri Oct 18 23:39:03 2019 +0200
@@ -557,8 +557,8 @@
fsversion = self.config.cubicweb_version()
if version < fsversion:
msg = ('instance has %s version %s but %s '
- 'is installed. Run "cubicweb-ctl upgrade".')
- raise ExecutionError(msg % (cube, version, fsversion))
+ 'is installed. Run "cubicweb-ctl upgrade %s".')
+ raise ExecutionError(msg % (cube, version, fsversion, self.config.appid))
return vcconf
@cached