Hello, I have a production server happily running:
Debian 9.13 MySQL 5.7.31 Python 2.7.13 ReviewBoard 3.0.18 I have set up a new machine: Debian 9.13 MySQL 5.7.34 Python 2.7.13 ReviewBoard 4.0.12 and repeated the initial set up steps. The new site is blank, i.e. has no users' data. Then I moved the db across as well as the entire /var/www/rb.example.com directory. Now when I try an upgrade I get: rb-site upgrade /var/www/rb.example.com Traceback (most recent call last): File "/usr/local/bin/rb-site", line 8, in <module> sys.exit(main()) File "/usr/local/lib/python2.7/dist-packages/reviewboard/cmdline/rbsite.py", line 2995, in main command.run(site, options) File "/usr/local/lib/python2.7/dist-packages/reviewboard/cmdline/rbsite.py", line 2503, in run siteconfig = SiteConfiguration.objects.get_current() File "/usr/local/lib/python2.7/dist-packages/djblets/siteconfig/managers.py", line 42, in get_current return self.get_for_site_id(Site.objects.get_current().pk) File "/usr/local/lib/python2.7/dist-packages/django/contrib/sites/models.py", line 63, in get_current return self._get_site_by_id(site_id) File "/usr/local/lib/python2.7/dist-packages/django/contrib/sites/models.py", line 35, in _get_site_by_id site = self.get(pk=site_id) File "/usr/local/lib/python2.7/dist-packages/django/db/models/manager.py", line 85, in manager_method return getattr(self.get_queryset(), name)(*args, **kwargs) File "/usr/local/lib/python2.7/dist-packages/django/db/models/query.py", line 380, in get self.model._meta.object_name django.contrib.sites.models.DoesNotExist: Site matching query does not exist. Please advise. Regards, Adam -- Supercharge your Review Board with Power Pack: https://www.reviewboard.org/powerpack/ Want us to host Review Board for you? Check out RBCommons: https://rbcommons.com/ Happy user? Let us know! https://www.reviewboard.org/users/ --- You received this message because you are subscribed to the Google Groups "Review Board Community" group. To unsubscribe from this group and stop receiving emails from it, send an email to reviewboard+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/reviewboard/CALC-DAHCBhJttHmOHVE4abUbjg3x7i81a8JP9QQ%2B_3kr74FLOA%40mail.gmail.com.