Re: How to install old version of RB server
Hi, sorry to horn in on this thread, but I'm having a similar issue. I'm trying to install version 1.5.5 on a test machine so I can then upgrade it to the current version before doing so on my production machine. When I attempt to use the command you list, easy_install ReviewBoard==1.5.5 I get this output; #easy_install ReviewBoard==1.5.5 Searching for ReviewBoard==1.5.5 Best match: ReviewBoard 1.5.5 Processing ReviewBoard-1.5.5-py2.4.egg Removing ReviewBoard 1.5.5 from easy-install.pth file Adding ReviewBoard 1.5.5 to easy-install.pth file Installing rb-site script to /usr/bin Installing rbssh script to /usr/bin Using /usr/lib/python2.4/site-packages/ReviewBoard-1.5.5-py2.4.egg Processing dependencies for ReviewBoard==1.5.5 Searching for Djblets=0.6.7 Reading http://downloads.reviewboard.org/mirror/ Reading http://downloads.reviewboard.org/releases/ReviewBoard/1.5/ Reading http://pypi.python.org/simple/Djblets/ Reading http://www.review-board.org/wiki/Djblets Reading http://downloads.review-board.org/releases/Djblets/0.6/ Reading http://downloads.review-board.org/releases/ Reading http://www.reviewboard.org/wiki/Djblets Reading http://downloads.reviewboard.org/releases/Djblets/0.7/ Reading http://downloads.reviewboard.org/releases/Djblets/0.6/ Reading http://downloads.review-board.org/releases/Djblets/0.5/ Best match: Djblets 0.7.1 Downloading http://downloads.reviewboard.org/releases/Djblets/0.7/Djblets-0.7.1.tar.gz Processing Djblets-0.7.1.tar.gz Running Djblets-0.7.1/setup.py -q bdist_egg --dist-dir /tmp/easy_install-PZQMbC/Djblets-0.7.1/egg-dist-tmp-MFddqC Traceback (most recent call last): File ./contrib/internal/build-media.py, line 18, in ? ret = call_command('collectstatic', interactive=False, verbosity=2) File /usr/lib/python2.4/site-packages/django/core/management/__init__.py, line 153, in call_command klass = load_command_class(app_name, name) File /usr/lib/python2.4/site-packages/django/core/management/__init__.py, line 68, in load_command_class return module.Command() File /usr/lib/python2.4/site-packages/django/contrib/staticfiles/management/commands/collectstatic.py, line 41, in __init__ self.storage = get_storage_class(settings.STATICFILES_STORAGE)() File /usr/lib/python2.4/site-packages/django/core/files/storage.py, line 265, in get_storage_class raise ImproperlyConfigured('Error importing storage module %s: %s' % (module, e)) django.core.exceptions.ImproperlyConfigured: Error importing storage module pipeline.storage: No module named pipeline.storage Traceback (most recent call last): File /usr/bin/easy_install, line 7, in ? sys.exit( File /usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/easy_install.py, line 1712, in main with_ei_usage(lambda: File /usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/easy_install.py, line 1700, in with_ei_usage return f() File /usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/easy_install.py, line 1716, in lambda distclass=DistributionWithoutHelpCommands, **kw File /usr/lib64/python2.4/distutils/core.py, line 149, in setup dist.run_commands() File /usr/lib64/python2.4/distutils/dist.py, line 946, in run_commands self.run_command(cmd) File /usr/lib64/python2.4/distutils/dist.py, line 966, in run_command cmd_obj.run() File /usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/easy_install.py, line 211, in run self.easy_install(spec, not self.no_deps) File /usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/easy_install.py, line 446, in easy_install return self.install_item(spec, dist.location, tmpdir, deps) File /usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/easy_install.py, line 481, in install_item self.process_distribution(spec, dists[0], deps, Using) File /usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/easy_install.py, line 518, in process_distribution distros = WorkingSet([]).resolve( File /usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/pkg_resources.py, line 563, in resolve dist = best[req.key] = env.best_match(req, self, installer) File /usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/pkg_resources.py, line 799, in best_match return self.obtain(req, installer) # try and download/install File /usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/pkg_resources.py, line 811, in obtain return installer(requirement) File /usr/lib/python2.4/site-packages/setuptools-0.6c12dev_r88846-py2.4.egg/setuptools/command/easy_install.py, line 446, in easy_install return self.install_item(spec, dist.location, tmpdir, deps) File
Re: Site Installation Failing with database error.
Thanks for the reply Christian! I'll be upgrading to the current stable, whatever it happens to be by the time I get this test machine set up. :) On Thursday, August 30, 2012 4:25:36 PM UTC-7, Christian Hammond wrote: Hi, You'll need to remove Django 1.4 and downgrade to 1.3.3. Only the upcoming Review Board 1.7 betas support Django 1.4. I assume you're upgrading to the latest 1.6, and not 1.7 beta? Christian -- Christian Hammond - chi...@chipx86.com javascript: Review Board - http://www.reviewboard.org VMware, Inc. - http://www.vmware.com On Thu, Aug 30, 2012 at 2:53 PM, CudaPrime cuda...@gmail.comjavascript: wrote: Hi all, any help would be appreciated here. I'm a complete noob to Review Board and it's installation. That said I've been tasked with upgrading our current 1.5.5 installation to the most current. I've created a test machine and loaded CentOS 6.3, installed the dependencies I know about from the installation documentation, and finally succeeded in getting ReviewBoard installed, at least I'm pretty sure it's installed. When I attempt to run rb-site install /var/www/reviewboard I get this; * Installing the site... Building site directories ... OK Building site configuration files ... OK /usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/conf/__init__.py:75: DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use STATIC_URL instead. use STATIC_URL instead., DeprecationWarning) /usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/core/cache/__init__.py:82: DeprecationWarning: settings.CACHE_* is deprecated; use settings.CACHES instead. DeprecationWarning Creating database ... Traceback (most recent call last): File /usr/bin/rb-site, line 8, in module load_entry_point('ReviewBoard==1.5.5', 'console_scripts', 'rb-site')() File /usr/lib/python2.6/site-packages/ReviewBoard-1.5.5-py2.6.egg/reviewboard/cmdline/rbsite.py, line 1611, in main command.run() File /usr/lib/python2.6/site-packages/ReviewBoard-1.5.5-py2.6.egg/reviewboard/cmdline/rbsite.py, line 1177, in run self.show_install_status() File /usr/lib/python2.6/site-packages/ReviewBoard-1.5.5-py2.6.egg/reviewboard/cmdline/rbsite.py, line 1436, in show_install_status site.sync_database) File /usr/lib/python2.6/site-packages/ReviewBoard-1.5.5-py2.6.egg/reviewboard/cmdline/rbsite.py, line 703, in step func() File /usr/lib/python2.6/site-packages/ReviewBoard-1.5.5-py2.6.egg/reviewboard/cmdline/rbsite.py, line 339, in sync_database self.run_manage_command(syncdb, params) File /usr/lib/python2.6/site-packages/ReviewBoard-1.5.5-py2.6.egg/reviewboard/cmdline/rbsite.py, line 397, in run_manage_command execute_manager(reviewboard.settings, [__file__, cmd] + params) File /usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/core/management/__init__.py, line 459, in execute_manager utility.execute() File /usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/core/management/__init__.py, line 382, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File /usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/core/management/base.py, line 196, in run_from_argv self.execute(*args, **options.__dict__) File /usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/core/management/base.py, line 232, in execute output = self.handle(*args, **options) File /usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/core/management/base.py, line 371, in handle return self.handle_noargs(**options) File /usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/core/management/commands/syncdb.py, line 57, in handle_noargs cursor = connection.cursor() File /usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/db/backends/dummy/base.py, line 15, in complain raise ImproperlyConfigured(settings.DATABASES is improperly configured. django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details. It appears that django can't properly access mySQL to create it's database, I've checked and rechecked and I can access the database via command line, so I'm not sure why the site installion would be having a problem. Thanks in advance for any help! -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard...@googlegroups.com javascript: For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en -- Want to help the Review Board project? Donate today at http
Site Installation Failing with database error.
Hi all, any help would be appreciated here. I'm a complete noob to Review Board and it's installation. That said I've been tasked with upgrading our current 1.5.5 installation to the most current. I've created a test machine and loaded CentOS 6.3, installed the dependencies I know about from the installation documentation, and finally succeeded in getting ReviewBoard installed, at least I'm pretty sure it's installed. When I attempt to run rb-site install /var/www/reviewboard I get this; * Installing the site... Building site directories ... OK Building site configuration files ... OK /usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/conf/__init__.py:75: DeprecationWarning: The ADMIN_MEDIA_PREFIX setting has been removed; use STATIC_URL instead. use STATIC_URL instead., DeprecationWarning) /usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/core/cache/__init__.py:82: DeprecationWarning: settings.CACHE_* is deprecated; use settings.CACHES instead. DeprecationWarning Creating database ... Traceback (most recent call last): File /usr/bin/rb-site, line 8, in module load_entry_point('ReviewBoard==1.5.5', 'console_scripts', 'rb-site')() File /usr/lib/python2.6/site-packages/ReviewBoard-1.5.5-py2.6.egg/reviewboard/cmdline/rbsite.py, line 1611, in main command.run() File /usr/lib/python2.6/site-packages/ReviewBoard-1.5.5-py2.6.egg/reviewboard/cmdline/rbsite.py, line 1177, in run self.show_install_status() File /usr/lib/python2.6/site-packages/ReviewBoard-1.5.5-py2.6.egg/reviewboard/cmdline/rbsite.py, line 1436, in show_install_status site.sync_database) File /usr/lib/python2.6/site-packages/ReviewBoard-1.5.5-py2.6.egg/reviewboard/cmdline/rbsite.py, line 703, in step func() File /usr/lib/python2.6/site-packages/ReviewBoard-1.5.5-py2.6.egg/reviewboard/cmdline/rbsite.py, line 339, in sync_database self.run_manage_command(syncdb, params) File /usr/lib/python2.6/site-packages/ReviewBoard-1.5.5-py2.6.egg/reviewboard/cmdline/rbsite.py, line 397, in run_manage_command execute_manager(reviewboard.settings, [__file__, cmd] + params) File /usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/core/management/__init__.py, line 459, in execute_manager utility.execute() File /usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/core/management/__init__.py, line 382, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File /usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/core/management/base.py, line 196, in run_from_argv self.execute(*args, **options.__dict__) File /usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/core/management/base.py, line 232, in execute output = self.handle(*args, **options) File /usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/core/management/base.py, line 371, in handle return self.handle_noargs(**options) File /usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/core/management/commands/syncdb.py, line 57, in handle_noargs cursor = connection.cursor() File /usr/lib/python2.6/site-packages/Django-1.4.1-py2.6.egg/django/db/backends/dummy/base.py, line 15, in complain raise ImproperlyConfigured(settings.DATABASES is improperly configured. django.core.exceptions.ImproperlyConfigured: settings.DATABASES is improperly configured. Please supply the ENGINE value. Check settings documentation for more details. It appears that django can't properly access mySQL to create it's database, I've checked and rechecked and I can access the database via command line, so I'm not sure why the site installion would be having a problem. Thanks in advance for any help! -- Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/ Happy user? Let us know at http://www.reviewboard.org/users/ -~--~~~~--~~--~--~--- To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en