Did you use dumpdb or dumpdata to construct the dump file? Christian
-- Christian Hammond - christ...@beanbaginc.com Review Board - https://www.reviewboard.org Beanbag, Inc. - https://www.beanbaginc.com -----Original Message----- From: MoonWalker <daniel.cabrera...@gmail.com> Reply: reviewboard@googlegroups.com <reviewboard@googlegroups.com>> Date: October 28, 2014 at 4:33:55 PM To: reviewboard@googlegroups.com <reviewboard@googlegroups.com>> Cc: daniel.cabrera...@gmail.com <daniel.cabrera...@gmail.com>>, christ...@beanbaginc.com <christ...@beanbaginc.com>> Subject: Re: How to migrate RB 2.0.10 to a new server > > > Hi Chrisitan, > > I attached a snapshot of my console. > > > > > > > > > > On Wednesday, October 29, 2014 10:00:00 AM UTC+11, chri...@beanbaginc.com > wrote: > > > > Can you show me the entire console output for this? As it is, its not > > making a lot of sense to me. > > > > Christian > > > > -- > > Christian Hammond - chri...@beanbaginc.com > > Review Board - https://www.reviewboard.org > > Beanbag, Inc. - https://www.beanbaginc.com > > > > -----Original Message----- > > From: MoonWalker > > > Reply: revie...@googlegroups.com > > >> > > Date: October 27, 2014 at 10:15:52 PM > > To: revie...@googlegroups.com > > >> > > Cc: daniel.c...@gmail.com > > >>, chri...@beanbaginc.com < > > chri...@beanbaginc.com >> > > Subject: Re: How to migrate RB 2.0.10 to a new server > > > > > Well I installed using easy_install and no complains during the > > > installation. Now I have another issue after re executing the command 4) > > I > > > got a prompt asking me if I want to continue with this process and I > > said > > > "yes". After hitting enter I got this; > > > > > > sh:1: ./reviewboard/manage.py: not found > > > CommandError: Problem installing "/home/admin/wrk/database.json": Uknown > > > dump format > > > > > > Not sure why this is happening. I have the same RB version on both ends, > > > the only diff is that Ubuntu version is not the same (old = 12.04, new = > > > 14.04). > > > > > > cheers > > > > > > On Tuesday, October 28, 2014 4:06:29 PM UTC+11, MoonWalker wrote: > > > > > > > > Hi Christian, > > > > > > > > I followed the provious steps, but I have an issue after exectuting > > step > > > > 4. I got the following message: "CommandError: Before using this > > command, > > > > you need to install the 'django-reset' package. > > > > > > > > I am using Ubuntu 14.04 and the Python version is .2.7.6 and Django V > > > > 1.6.8. > > > > > > > > If I understood correctly such package was removed on 1.5 according to > > > > this https://pypi.python.org/pypi/django-reset/0.1.0 . Shall I > > install > > > > it? > > > > > > > > cheers > > > > > > > > On Tuesday, October 28, 2014 1:26:40 PM UTC+11, chri...@beanbaginc.com > > > > wrote: > > > >> > > > >> Hi, > > > >> > > > >> In theory this should still work. However, it's important to note > > that > > > >> these are very different types of databases, and there *may* be > > problems. > > > >> You'll have to see what happens when you give that a shot. > > > >> > > > >> As long as you don't delete or alter your old database, no harm will > > be > > > >> done by trying the steps. > > > >> > > > >> Christian > > > >> > > > >> -- > > > >> Christian Hammond - chri...@beanbaginc.com > > > >> Review Board - https://www.reviewboard.org > > > >> Beanbag, Inc. - https://www.beanbaginc.com > > > >> > > > >> -----Original Message----- > > > >> From: MoonWalker > > > >> Reply: revie...@googlegroups.com > > > > >> Date: October 27, 2014 at 6:13:28 PM > > > >> To: revie...@googlegroups.com > > > > >> Subject: How to migrate RB 2.0.10 to a new server > > > >> > > > >> > hi, > > > >> > > > > >> > I have the latest version on both (old and new server). I read some > > old > > > >> > post regarding migration, but I want to make sure that those steps > > > >> still > > > >> > valid for 2.x . Not sure that this steps cover the sqlite DB as > > well. > > > >> Am I > > > >> > missing something here? > > > >> > > > > >> > thx for your support > > > >> > > > > >> > >1. On the old server, dump your site data. > > > >> > > sudo rb-site manage /path/to/site dumpdata > > > > >> /path/to/backup/rbdump.json > > > >> > > > > > >> > > 2. Open the dump file in a text editor and find all the entries > > > >> > > whose "model" is "contenttypes.contenttype" or "scmtools.tool", > > and > > > >> delete > > > >> > > those entries. > > > >> > > > > > >> > > 3. On the new server, create a new site following the directions > > on > > > >> the > > > >> > > ReviewBoard site. Note that you don't have to use the same > > database > > > >> type > > > >> > > as your old server (my old server used MySQL, my new server uses > > > >> > > PostgreSQL). > > > >> > > > > > >> > > 4. On the new server, load the old site data. > > > >> > > sudo rb-site manage /path/to/site loaddata > > > >> /path/to/backup/rbdump.json > > > >> > > > > > >> > > 5. (Optional) For good measure, reboot your new server. > > > >> > > > > > >> > > > > >> > -- > > > >> > Get the Review Board Power Pack at > > > >> http://www.reviewboard.org/powerpack/ > > > >> > --- > > > >> > Sign up for Review Board hosting at RBCommons: > > https://rbcommons.com/ > > > >> > --- > > > >> > Happy user? Let us know at http://www.reviewboard.org/users/ > > > >> > --- > > > >> > 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/d/optout. > > > >> > > > > >> > > > >> > > > > > > -- > > > Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ > > > --- > > > Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ > > > --- > > > Happy user? Let us know at http://www.reviewboard.org/users/ > > > --- > > > 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/d/optout. > > > > > > > > > -- > Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ > --- > Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ > --- > Happy user? Let us know at http://www.reviewboard.org/users/ > --- > 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+unsubscr...@googlegroups.com. > For more options, visit https://groups.google.com/d/optout. > -- Get the Review Board Power Pack at http://www.reviewboard.org/powerpack/ --- Sign up for Review Board hosting at RBCommons: https://rbcommons.com/ --- Happy user? Let us know at http://www.reviewboard.org/users/ --- 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+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.