Re: Error migrating and upgrading from 1.6.6 to 1.7.13

2013-08-27 Thread Alfred von Campe
On Aug 23, 2013, at 16:29, David Trowbridge trowb...@gmail.com wrote:

 Let's try this--after creating the new site, but before loading the database 
 dump, delete the new database that rb-site created.

This seems to have worked.  Because I had tried to install ReviewBoard 1.6.6 
via easy_install, my server was in a state where I couldn't run the rb-site 
command anymore.  I think I have successfullyr epaired this after lots of 
manual deletion and re-installation.

But now I have another problem.  During this upgrade, the paths to the RB site 
have changed slightly, and after the installation I get a message about a 
missing htdocs/media/uploaded directory using he old path.  So I guess that 
somewhere in the database the old path is stored.  Remember, you guys suggested 
that I delete the new database before importing the old one.  How do I fix this?

Also, I guess I have to copy the contents of 
htdocs/media/uploaded/{images,files} from the old server to the new so that all 
the uploaded files and images from the old server are available on the new 
server.  And I also have to copy the secret key into settings_local.py.  
Anything else that needs to be done to migrate the data to the new server?  I 
think I am getting close.

Thanks,
Alfred

-- 
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
--- 
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: How to migrate reviewboard from Windows server(1.5) to Linux server(1.7)

2013-08-27 Thread Venkateswara Reddy
Hi can you please help me with the Window installation guide, i am struk at 
RB-site installation in windows..
which the only help i could not able to understand.
 
Thanks,
Venkateswara Reddy
 

On Thursday, August 22, 2013 9:00:40 AM UTC+5:30, patrick zhao wrote:

 In our company, we installed reviewboard on a windows server, and the rb 
 version is 1.5.
 Recently we have a more powerful linux server, so we decide to install the 
 latest reviewboard on it and migrate data from old server to this new 
 server.
 How could I do it?
 I tried to only dump load mysql db, but it failed with 505 type error.

 Thanks!


-- 
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
--- 
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: Error migrating and upgrading from 1.6.6 to 1.7.13

2013-08-27 Thread Alfred von Campe
On Aug 27, 2013, at 11:07, I wrote:

 But now I have another problem.  During this upgrade, the paths to the RB 
 site have changed slightly, and after the installation I get a message about 
 a missing htdocs/media/uploaded directory using he old path.  So I guess that 
 somewhere in the database the old path is stored.  Remember, you guys 
 suggested that I delete the new database before importing the old one.  How 
 do I fix this?

OK, I figured this out myself.  I searched for the old path in the MySQL dump 
file and changed all instances to the new path.  So far, so good.  The only 
problem I have is that I can't log in to the new ReviewBoard server.  Even the 
local account doesn't work.  How do I debug authentication failures?  The local 
account was created with the following command:

rb-site install --console --noinput --domain-name=$RB_DOMAIN --site-root=/ 
--db-type=mysql --db-name=reviewboard --db-host=localhost --db-user=rb 
--db-pass=$RB_PASSWORD \
--cache-type=memcached --web-server-type=apache --python-loader=wsgi 
--admin-user=admin --admin-password=$RB_PASSWORD --admin-email=$RB_EMAIL 
--cache-info=localhost:11211 $RB_SITE

 Also, I guess I have to copy the contents of 
 htdocs/media/uploaded/{images,files} from the old server to the new so that 
 all the uploaded files and images from the old server are available on the 
 new server.  And I also have to copy the secret key into settings_local.py.  
 Anything else that needs to be done to migrate the data to the new server?  I 
 think I am getting close.

I ended up adding the following lines to my script to copy all the relevant 
data from the old instance to the new:

rsync -av $RB_SITE_OLD/htdocs/media/uploaded/. 
$RB_SITE/htdocs/media/uploaded/.
cp -pr $RB_SITE_OLD/data/.ssh $RB_SITE/data
sed -i.orig s/SECRET_KEY = '.*'/$(grep SECRET_KEY 
$RB_SITE_OLD/conf/settings_local.py)/ $RB_SITE/conf/settings_local.py

Is there anything else I may have missed?

Alfred

-- 
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
--- 
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.


Error while adding remote git repository

2013-08-27 Thread Atif
Hi
I am trying to setup ReviewBoard (1.7.13). I want to add a git repository 
which resides on remote machine. Here are the steps, I am tried to add 
remote repository:
1) Goto Manage-Repositories-Add
2) Add Name
3) select Hosting service as None
4) Repository type is Git
5) Path is username@10.10.94.4:/localhome/gitusers/username/reponame.git
6) Mirror Path, Raw file URL mask are empty
7) Entered Username and Password.

After saving, I get the following error:
A repository was not found at the specified path.

I looked at the logs, it shows as:
2013-08-27 14:07:18,035 - INFO -  - Authentication (publickey) failed.
2013-08-27 14:07:18,046 - DEBUG -  - userauth is OK
2013-08-27 14:07:23,062 - INFO -  - Authentication (password) successful!
2013-08-27 14:07:23,161 - DEBUG -  - EOF in transport thread
2013-08-27 14:07:23,187 - ERROR -  - Git: Failed to find valid repository 
ssh://username@10.10.94.4/localhome/gitusers/username/reponame.git: error: 
cannot spawn rbssh: No such file or directory
fatal: unable to fork

I noticed in the log above that there : is no more there. How to resolve 
the issue? 
thanks

-- 
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
--- 
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: Error while adding remote git repository

2013-08-27 Thread Christian Hammond
Hi Atif,

Due to the nature of the Git protocol, you cannot use remote URLs and have
it just work with Review Board (or any other code review software). We're
not able to fetch individual files from a remote repo.

You will need to install a service like cgit or gitweb and point the Raw
file URL mask field to that (as per the examples in our docs).

Christian

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


On Tue, Aug 27, 2013 at 12:13 PM, Atif syedatifna...@gmail.com wrote:

 Hi
 I am trying to setup ReviewBoard (1.7.13). I want to add a git repository
 which resides on remote machine. Here are the steps, I am tried to add
 remote repository:
 1) Goto Manage-Repositories-Add
 2) Add Name
 3) select Hosting service as None
 4) Repository type is Git
 5) Path is username@10.10.94.4:/localhome/gitusers/username/reponame.git
 6) Mirror Path, Raw file URL mask are empty
 7) Entered Username and Password.

 After saving, I get the following error:
 A repository was not found at the specified path.

 I looked at the logs, it shows as:
 2013-08-27 14:07:18,035 - INFO -  - Authentication (publickey) failed.
 2013-08-27 14:07:18,046 - DEBUG -  - userauth is OK
 2013-08-27 14:07:23,062 - INFO -  - Authentication (password) successful!
 2013-08-27 14:07:23,161 - DEBUG -  - EOF in transport thread
 2013-08-27 14:07:23,187 - ERROR -  - Git: Failed to find valid repository
 ssh://username@10.10.94.4/localhome/gitusers/username/reponame.git:
 error: cannot spawn rbssh: No such file or directory
 fatal: unable to fork

 I noticed in the log above that there : is no more there. How to
 resolve the issue?
 thanks

  --
 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
 ---
 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.


-- 
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
--- 
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: Issue 2951 in reviewboard: Function context detection doesn't work for PHP

2013-08-27 Thread reviewboard


Comment #2 on issue 2951 by sr.magaf...@tensor.ru: Function context  
detection doesn't work for PHP

http://code.google.com/p/reviewboard/issues/detail?id=2951

The same problem with python

--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Issue 2951 in reviewboard: Function context detection doesn't work for PHP

2013-08-27 Thread reviewboard


Comment #4 on issue 2951 by sr.magaf...@tensor.ru: Function context  
detection doesn't work for PHP

http://code.google.com/p/reviewboard/issues/detail?id=2951


The same problem with python code.


On Review Board 1.7.13

--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Issue 2951 in reviewboard: Function context detection doesn't work for PHP

2013-08-27 Thread reviewboard


Comment #5 on issue 2951 by trowb...@gmail.com: Function context detection  
doesn't work for PHP

http://code.google.com/p/reviewboard/issues/detail?id=2951

Python should *definitely* be supported. Please provide examples of what  
you see and what you expect to see.


--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/groups/opt_out.


Re: Issue 3036 in reviewboard: error code 500 when entered reviewboard

2013-08-27 Thread reviewboard

Updates:
Status: NeedInfo

Comment #14 on issue 3036 by trowb...@gmail.com: error code 500 when  
entered reviewboard

http://code.google.com/p/reviewboard/issues/detail?id=3036

Nothing stands out as being wrong.

Can you set DEBUG=True in your settings_local.py file, reload apache, and  
see if anything shows up when you start getting 500s?


--
You received this message because this project is configured to send all  
issue notifications to this address.

You may adjust your notification preferences at:
https://code.google.com/hosting/settings

--
You received this message because you are subscribed to the Google Groups 
reviewboard-issues group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to reviewboard-issues+unsubscr...@googlegroups.com.
To post to this group, send email to reviewboard-issues@googlegroups.com.
Visit this group at http://groups.google.com/group/reviewboard-issues.
For more options, visit https://groups.google.com/groups/opt_out.