Re: Migrate data from 1.6.12 version to 1.7.21?

2014-02-25 Thread shravanthi s
Hi Christian,

Here is the whole output of failure : 

easy_install  ReviewBoard==1.6.12

Searching for ReviewBoard==1.6.12

Reading https://pypi.python.org/simple/ReviewBoard/

Download error on https://pypi.python.org/simple/ReviewBoard/: [Errno 1] 
_ssl.c:504: error:14090086:SSL 
routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed -- Some 
packages may not be found!

Couldn't find index page for 'ReviewBoard' (maybe misspelled?)

Scanning index of all packages (this may take a while)

Reading https://pypi.python.org/simple/

Download error on https://pypi.python.org/simple/: [Errno 1] _ssl.c:504: 
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify 
failed -- Some packages may not be found!

No local packages or download links found for ReviewBoard==1.6.12

error: Could not find suitable distribution for 
Requirement.parse('ReviewBoard==1.6.12')
This error is probably due to our IT blocking the site or our server is 
unable to verify the certificate. Even if i download the egg file and try 
to run easy_install, it fails at the next dependent download with same 
certificate error.

So i tried to get the tar.gz file and used command 'wget 
--no-check-certificate 

http://downloads.reviewboard.org/releases/ReviewBoard/1.6/ReviewBoard-1.6.12.tar.gz'
 . However it fails with ssl certificate error on another dependent python 
download called pygment. I repeated the procedure by installing from the 
tar.gz file with --no-check-certificate for ll the dependent modules and 
was able to install Review Board. But it seems to be missing some django 
modules due to which am unable to save users, repositories etc. So i guess 
this is not the way to go to download RB.
However if i just give easy_install ReviewBoard, it installs latest version 
without any issue. So the approach we were thinking of is to download the 
latest version and create a website. Then take a dump of old 1.6.12 
database and somehow port it to the new version (1.7.21) database. 
Hopefully this will work using rb-site upgrade?

Thanks,
Shravanthi



On Friday, 21 February 2014 14:39:13 UTC+5:30, shravanthi s wrote:
>
> Hi,
>
> We are in the process of upgrading our Review Board version from 1.6.12 to 
> 1.7.21 . However we had issues upgrading python so we installed latest 
> ReviewBoard on another server with higher version of python (as we faced 
> certificate issues while running easy_install ReviewBoard==1.6.12  -- 
> received error " SSL3_GET_SERVER_CERTIFICATE:certificate verify failed -- 
> Some packages may not be found!) . Now we need the data to be migrated on 
> to this new server but he have a difference of version.
>
> I was thinking of directly taking a backup of mysql db dump(.sql file) and 
> restore it back to the newly installed instance. (using mysqldump command) 
>
> Will it be successful even if the versions are different? If not, can you 
> please suggest a way (maybe some utility) to migrate data across different 
> versions?
>
> Thanks,
> Shravanthi
>
>
>

-- 
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/groups/opt_out.


Re: Migrate data from 1.6.12 version to 1.7.21?

2014-02-21 Thread Christian Hammond
Hi Shravanthi,

I don't know why you hit that SSL error (I'd love to see the whole output),
but yes, it should be possible to take a dump of 1.6.12, install it on the
new server, and then run the 'rb-site upgrade' script.

It is important that the database you are importing into be completely
empty before you do this. No tables, no data.

'rb-site upgrade' will inspect the version stored in the database contents,
and inspect the records we keep on the database structure, and then apply
the changes necessary to convert it to a 1.7.21-compatible database.

Please note that 'rb-site upgrade' may also give you additional
instructions at the end that you will need to follow.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
Beanbag, Inc. - http://www.beanbaginc.com


On Fri, Feb 21, 2014 at 1:09 AM, shravanthi s  wrote:

> Hi,
>
> We are in the process of upgrading our Review Board version from 1.6.12 to
> 1.7.21 . However we had issues upgrading python so we installed latest
> ReviewBoard on another server with higher version of python (as we faced
> certificate issues while running easy_install ReviewBoard==1.6.12  --
> received error " SSL3_GET_SERVER_CERTIFICATE:certificate verify failed --
> Some packages may not be found!) . Now we need the data to be migrated on
> to this new server but he have a difference of version.
>
> I was thinking of directly taking a backup of mysql db dump(.sql file) and
> restore it back to the newly installed instance. (using mysqldump command)
>
> Will it be successful even if the versions are different? If not, can you
> please suggest a way (maybe some utility) to migrate data across different
> versions?
>
> Thanks,
> Shravanthi
>
>
>  --
> 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/groups/opt_out.
>

-- 
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/groups/opt_out.