reviewboard-7.0.4 installation error

2 views
Skip to first unread message

Grover D

unread,
Feb 23, 2026, 7:40:26 PM (18 hours ago) Feb 23
to Review Board Community
Hello,

I have followed the installation directions. I have postgress, memcached and apache running. 

I switched to my python virtual environment and ran:

#  /opt/reviewboard/bin/rb-site install /var/www/reviews.example.com

 Welcome to the Review Board site installation wizard
This will prepare a Review Board site installation in:
/var/www/reviews.example.com
-------------------------
Yes, this is just an installation test. 

After I answer the questions, then I get:


Building site directories ... OK
Building site configuration files ... ERROR: No module named 'pkg_resources'
Creating database ... ERROR: Apps aren't loaded yet.
Creating administrator account ... ERROR: Apps aren't loaded yet.
Saving site settings ... ERROR: Apps aren't loaded yet.
Setting up support ... OK
Finishing the install ... ERROR: Apps aren't loaded yet.
...
https://www.reviewboard.org/docs/manual/7.0/admin/installation/creating-sites/
Traceback (most recent call last):
  File "/opt/reviewboard/bin/rb-site", line 7, in <module>
    sys.exit(main())
             ^^^^^^
  File "/opt/reviewboard/lib/python3.12/site-packages/reviewboard/cmdline/rbsite.py", line 3329, in main
    command.run(site, options)
  File "/opt/reviewboard/lib/python3.12/site-packages/reviewboard/cmdline/rbsite.py", line 2101, in run
    self.show_get_more()
  File "/opt/reviewboard/lib/python3.12/site-packages/reviewboard/cmdline/rbsite.py", line 2627, in show_get_more
    from reviewboard.admin.support import get_install_key
  File "/opt/reviewboard/lib/python3.12/site-packages/reviewboard/admin/support.py", line 8, in <module>
    from django.contrib.auth.models import User
  File "/opt/reviewboard/lib/python3.12/site-packages/django/contrib/auth/models.py", line 3, in <module>
    from django.contrib.auth.base_user import AbstractBaseUser, BaseUserManager
  File "/opt/reviewboard/lib/python3.12/site-packages/django/contrib/auth/base_user.py", line 57, in <module>
    class AbstractBaseUser(models.Model):
  File "/opt/reviewboard/lib/python3.12/site-packages/django/db/models/base.py", line 129, in __new__
    app_config = apps.get_containing_app_config(module)
                 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/opt/reviewboard/lib/python3.12/site-packages/django/apps/registry.py", line 260, in get_containing_app_config
    self.check_apps_ready()
  File "/opt/reviewboard/lib/python3.12/site-packages/django/apps/registry.py", line 138, in check_apps_ready
    raise AppRegistryNotReady("Apps aren't loaded yet.")
django.core.exceptions.AppRegistryNotReady: Apps aren't loaded yet.

The goal is to simple and instance of ReviewBoard running. 

Any idea of what I am doing wrong?

Thanks!

Grover D

unread,
10:48 AM (3 hours ago) 10:48 AM
to Review Board Community
After doing a lot of poking around and research, the version of setuptools I had installed, 82.0.0, no longer supports packages. I had to downgrade to version 81.0.0 and the installation worked. 

David Trowbridge

unread,
11:02 AM (3 hours ago) 11:02 AM
to revie...@googlegroups.com
Grover,

Glad you figured it out. We've actually been in the middle of trying to sort through this for all our builds, since a ton of stuff out there still needs pkg_resources. Hopefully this situation will improve soon.

David

--
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...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/reviewboard/b087ee21-d700-4fc2-9621-37f7369d8957n%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages