rb-site upgrade fails when trying to upgrade site 3.0.24 -> 4.0.6, containers used

20 views
Skip to first unread message

Armin Schmidt

unread,
Apr 29, 2022, 8:54:16 AM4/29/22
to Review Board Community
Hi everyone,
I'm facing the following issue when trying to upgrade my reviewboard installation.

Currently, the 3.0.24 container is running just fine.
After modifying podman's kube yaml file to use the 4.0.6-1 tag for the reviewboard container I get the following output via "podman logs reviewboard-rb_app":

mysql is up!                                                                                                                                         
+ SETTINGS_LOCAL=/site/conf/settings_local.py
+ '[' -e /site/conf/settings_local.py ']'
+ rb-site upgrade --copy-media /site
Traceback (most recent call last):
  File "/venv/bin/rb-site", line 8, in <module>
    sys.exit(main())
  File "/venv/lib/python3.8/site-packages/reviewboard/cmdline/rbsite.py", line 2716, in main
    parsed_options = parse_options(sys.argv[1:])
  File "/venv/lib/python3.8/site-packages/reviewboard/cmdline/rbsite.py", line 2649, in parse_options
    command.add_options(subparser)
  File "/venv/lib/python3.8/site-packages/reviewboard/cmdline/rbsite.py", line 2466, in add_options
    'commands': self._get_commands_help(),
  File "/venv/lib/python3.8/site-packages/reviewboard/cmdline/rbsite.py", line 2535, in _get_commands_help
    commands_help.append(textwrap.fill(
  File "/usr/lib/python3.8/textwrap.py", line 391, in fill
    return w.fill(text)
  File "/usr/lib/python3.8/textwrap.py", line 363, in fill
    return "\n".join(self.wrap(text))
  File "/usr/lib/python3.8/textwrap.py", line 354, in wrap
    return self._wrap_chunks(chunks)
  File "/usr/lib/python3.8/textwrap.py", line 248, in _wrap_chunks
    raise ValueError("invalid width %r (must be > 0)" % self.width)
ValueError: invalid width -4 (must be > 0)

After that the container terminates.
What might be going on there?
Reply all
Reply to author
Forward
0 new messages