Hi, If you're planning on using the production DB on a new system, you'll need to treat it like an upgrade. You should copy over the database, copy over the old site directory, and do an 'rb-site upgrade'. This assumes the paths haven't changed. If they have, you'll need to copy over the old site directory and then update $sitedir/conf/settings_local.py and $siteconfig/htdocs/reviewboard.wsgi to point to the correct paths.
Christian -- Christian Hammond - [email protected] Review Board - http://www.reviewboard.org Beanbag, Inc. - http://www.beanbaginc.com On Tue, Aug 13, 2013 at 3:03 AM, Harihar Pai <[email protected]> wrote: > Hello Christian, > > Well what I am doing is . > > This is a fresh new test machine I am installing. We have production RB in > some other machine. But I want all the DB dump of review board in this > machine. > So I did take the mysql dump of out production RB database and undumped in > into new fresh machine I am working on. Secondly On the new machine I am > installing the fresh latest RB. > > Thanks and regards, > Hari > > On Tuesday, 13 August 2013 14:43:42 UTC+5:30, Christian Hammond wrote: > >> Is this intended to be a brand new install, or an upgrade? If an upgrade, >> or if moving from one server to another, do not use 'rb-site install'. Copy >> over the site directory (if moving), and do 'rb-site upgrade'. >> >> The traceback says you're doing a new install, whereas you mentioned that >> you had 1.6.3, so I suspect a new install is not what you want. >> >> Christian >> >> -- >> Christian Hammond - [email protected] >> Review Board - http://www.reviewboard.org >> Beanbag, Inc. - http://www.beanbaginc.com >> >> >> On Tue, Aug 13, 2013 at 1:48 AM, Harihar Pai <[email protected]> wrote: >> >>> >>> >>> On Monday, 12 August 2013 23:17:49 UTC+5:30, Christian Hammond wrote: >>> >>>> Hi, >>>> >>>> What version are you upgrading from? >>>> >>>> Ill need to see your settings_local.py file (with SECRET_KEY and any >>>> other sensitive information masked). >>>> >>>> Christian >>>> >>>> >>>> On Monday, August 12, 2013, Harihar Pai wrote: >>>> >>>>> I have using latest RB version . While installing I am getting this >>>>> error >>>>> >>>>> Traceback (most recent call last): >>>>> File "/usr/local/bin/rb-site", line 9, in <module> >>>>> load_entry_point('ReviewBoard=****=1.7.12', 'console_scripts', >>>>> 'rb-site')() >>>>> File "/usr/local/lib/python2.6/**dist**-packages/ReviewBoard-1.7.** >>>>> 12-**py2.6.egg/reviewboard/**cmdline/**rbsite.py", line 1937, in main >>>>> command.run() >>>>> File "/usr/local/lib/python2.6/**dist**-packages/ReviewBoard-1.7.** >>>>> 12-**py2.6.egg/reviewboard/**cmdline/**rbsite.py", line 1405, in run >>>>> self.show_install_status() >>>>> File "/usr/local/lib/python2.6/**dist**-packages/ReviewBoard-1.7.** >>>>> 12-**py2.6.egg/reviewboard/**cmdline/**rbsite.py", line 1684, in >>>>> show_install_status >>>>> site.sync_database) >>>>> File "/usr/local/lib/python2.6/**dist**-packages/ReviewBoard-1.7.** >>>>> 12-**py2.6.egg/reviewboard/**cmdline/**rbsite.py", line 885, in step >>>>> func() >>>>> File "/usr/local/lib/python2.6/**dist**-packages/ReviewBoard-1.7.** >>>>> 12-**py2.6.egg/reviewboard/**cmdline/**rbsite.py", line 370, in >>>>> sync_database >>>>> self.run_manage_command("**syncd**b", params) >>>>> File "/usr/local/lib/python2.6/**dist**-packages/ReviewBoard-1.7.** >>>>> 12-**py2.6.egg/reviewboard/**cmdline/**rbsite.py", line 560, in >>>>> run_manage_command >>>>> execute_manager(reviewboard.**se**ttings, [__file__, cmd] + >>>>> params) >>>>> File "/usr/local/lib/python2.6/**dist**-packages/Django-1.4.5-** >>>>> py2.6.**egg/django/core/**management/__**init__.py", line 459, in >>>>> execute_manager >>>>> utility.execute() >>>>> File "/usr/local/lib/python2.6/**dist**-packages/Django-1.4.5-** >>>>> py2.6.**egg/django/core/**management/__**init__.py", line 382, in >>>>> execute >>>>> self.fetch_command(subcommand)****.run_from_argv(self.argv) >>>>> File "/usr/local/lib/python2.6/**dist**-packages/Django-1.4.5-** >>>>> py2.6.**egg/django/core/**management/**base.py", line 196, in >>>>> run_from_argv >>>>> self.execute(*args, **options.__dict__) >>>>> File "/usr/local/lib/python2.6/**dist**-packages/Django-1.4.5-** >>>>> py2.6.**egg/django/core/**management/**base.py", line 232, in execute >>>>> output = self.handle(*args, **options) >>>>> File "/usr/local/lib/python2.6/**dist**-packages/Django-1.4.5-** >>>>> py2.6.**egg/django/core/**management/**base.py", line 371, in handle >>>>> return self.handle_noargs(**options) >>>>> File "/usr/local/lib/python2.6/**dist**-packages/Django-1.4.5-** >>>>> py2.6.**egg/django/core/**management/**commands/syncdb.py"**, line >>>>> 110, in handle_noargs >>>>> emit_post_sync_signal(created_****models, verbosity, interactive, >>>>> db) >>>>> File "/usr/local/lib/python2.6/**dist**-packages/Django-1.4.5-** >>>>> py2.6.**egg/django/core/**management/**sql.py", line 189, in >>>>> emit_post_sync_signal >>>>> interactive=interactive, db=db) >>>>> File "/usr/local/lib/python2.6/**dist**-packages/Django-1.4.5-** >>>>> py2.6.**egg/django/dispatch/**dispatcher**.py", line 172, in send >>>>> response = receiver(signal=self, sender=sender, **named) >>>>> File "/usr/local/lib/python2.6/**dist**-packages/ReviewBoard-1.7.** >>>>> 12-**py2.6.egg/reviewboard/**admin/**management/evolutions.**py", >>>>> line 58, in init_evolutions >>>>> verbosity=0) >>>>> File "/usr/local/lib/python2.6/**dist**-packages/Django-1.4.5-** >>>>> py2.6.**egg/django/core/**management/**commands/loaddata.**py", line >>>>> 40, in handle >>>>> connection = connections[using] >>>>> File "/usr/local/lib/python2.6/**dist**-packages/Django-1.4.5-** >>>>> py2.6.**egg/django/db/utils.py", line 87, in __getitem__ >>>>> if hasattr(self._connections, alias): >>>>> TypeError: hasattr(): attribute name must be string >>>>> >>>>> >>>>> kindly help fast >>>>> >>>>> -- >>>>> Want to help the Review Board project? Donate today at >>>>> http://www.reviewboard.org/**don**ate/<http://www.reviewboard.org/donate/> >>>>> Happy user? Let us know at >>>>> http://www.reviewboard.org/**use**rs/<http://www.reviewboard.org/users/> >>>>> -~----------~----~----~----~--****----~----~------~--~--- >>>>> To unsubscribe from this group, send email to reviewboard+unsubscribe@ >>>>> **google**groups.com >>>>> For more options, visit this group at http://groups.google.com/**group >>>>> **/reviewboard?hl=en<http://groups.google.com/group/reviewboard?hl=en> >>>>> --- >>>>> You received this message because you are subscribed to the Google >>>>> Groups "reviewboard" group. >>>>> To unsubscribe from this group and stop receiving emails from it, send >>>>> an email to reviewboard+unsubscribe@**google**groups.com. >>>>> For more options, visit >>>>> https://groups.google.com/**grou**ps/opt_out<https://groups.google.com/groups/opt_out> >>>>> . >>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> -- >>>> Christian Hammond - [email protected] >>>> >>>> Review Board - http://www.reviewboard.org >>>> Beanbag, Inc. - http://www.beanbaginc.com >>>> >>> >>> Sir , >>> >>> I have dumped the DB of 1.6.3 RB from another machine and now I am >>> using latest RB. >>> my setting_local.py is as below >>> >>> # Site-specific configuration settings for Review Board >>> # Definitions of these settings can be found at >>> # >>> http://docs.djangoproject.com/**en/dev/ref/settings/<http://docs.djangoproject.com/en/dev/ref/settings/> >>> >>> # Database configuration >>> DATABASES = { >>> 'default': { >>> 'ENGINE': 'django.db.backends.mysql', >>> 'NAME': 'reviewboard', >>> 'USER': '****', >>> 'PASSWORD': '****', >>> 'HOST': 'localhost', >>> 'PORT': '', >>> }, >>> } >>> >>> # Unique secret key. Don't share this with anybody. >>> SECRET_KEY = '-8l1pw9md^m&xc6a8y$#*****************' >>> >>> # Cache backend settings. >>> CACHES = { >>> 'default': { >>> 'BACKEND': 'django.core.cache.backends.** >>> memcached.MemcachedCache', >>> 'LOCATION': '1', >>> }, >>> } >>> >>> # Extra site information. >>> SITE_ID = 1 >>> SITE_ROOT = '/' >>> FORCE_SCRIPT_NAME = '' >>> DEBUG = False >>> >>> Kindly help. >>> >>> Thanks and regards, >>> Hari >>> >>> -- >>> Want to help the Review Board project? Donate today at >>> http://www.reviewboard.org/**donate/<http://www.reviewboard.org/donate/> >>> Happy user? Let us know at >>> http://www.reviewboard.org/**users/<http://www.reviewboard.org/users/> >>> -~----------~----~----~----~--**----~----~------~--~--- >>> To unsubscribe from this group, send email to reviewboard...@** >>> googlegroups.com >>> >>> For more options, visit this group at http://groups.google.com/** >>> group/reviewboard?hl=en<http://groups.google.com/group/reviewboard?hl=en> >>> --- >>> You received this message because you are subscribed to the Google >>> Groups "reviewboard" group. >>> To unsubscribe from this group and stop receiving emails from it, send >>> an email to reviewboard...@**googlegroups.com. >>> >>> For more options, visit >>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out> >>> . >>> >>> >>> >> >> -- > 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 > [email protected] > For more options, visit this group at > http://groups.google.com/group/reviewboard?hl=en > --- > You received this message because you are subscribed to the Google Groups > "reviewboard" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- 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 [email protected] For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en --- You received this message because you are subscribed to the Google Groups "reviewboard" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
