Re: rbt post API Error HTTP 400 on new ReviewBoard 2.0.2 instance (Perforce repository)

2014-06-28 Thread Stephen

David,

I get a h1Bad Request (400)/h1 response to the curl command.
Any ideas? I think it must be my apache2 setup. 
Acccess to the RB 2.0.2 server via a browser into a normal or admin user 
account is fine.

Stephen.

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


Failed to upgrade from 1.7.6 to 2.0.2

2014-06-28 Thread jacek99
I just upgraded from 1.7.6 to 2.0.2 and rebooted the server and all we get 
now is:

*Something broke! (Error 500)* 

* It appears something broke when you tried to go to here. This is either a 
bug in Review Board or a server configuration error. Please report this to 
your administrator. *

We are on PostgreSQL backend with Apache.

Any suggestions are greatly appreciated. We have probably 100+ developers 
using this so I need to get this fixed up ASAP...

Thanks!




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


Re: Failed to upgrade from 1.7.6 to 2.0.2

2014-06-28 Thread David Trowbridge
Is there anything in the apache or review board log files?

-David

 On Jun 28, 2014, at 7:52 AM, jace...@gmail.com wrote:
 
 I just upgraded from 1.7.6 to 2.0.2 and rebooted the server and all we get 
 now is:
 
 Something broke! (Error 500)
 
 It appears something broke when you tried to go to here. This is either a bug 
 in Review Board or a server configuration error. Please report this to your 
 administrator. 
 
 We are on PostgreSQL backend with Apache.
 
 Any suggestions are greatly appreciated. We have probably 100+ developers 
 using this so I need to get this fixed up ASAP...
 
 Thanks!
 
 
 
 
 
 
 -- 
 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.


Re: Failed to upgrade from 1.7.6 to 2.0.2

2014-06-28 Thread jacek99
I am sorry.

The upgrade problem was that I forgot to upgrade the site.
That fixed the 500 error.

But...now that I fixed that the issue is that I cannot log in any more.

I requested Forgot my password, get the email with the password reset 
link, reset it and try to log back in again.

Still nothing. It does not even show you an error (i.e. password is wrong 
or anything).
It just refreshes the screen and puts you back into the login screen.

I've tried this like 5 times already.

Let me know where can I look to debug this further.


On Saturday, 28 June 2014 09:59:54 UTC-5, David Trowbridge wrote:

 Is there anything in the apache or review board log files?

 -David

 On Jun 28, 2014, at 7:52 AM, jac...@gmail.com javascript: wrote:

 I just upgraded from 1.7.6 to 2.0.2 and rebooted the server and all we get 
 now is:

 *Something broke! (Error 500)* 

 * It appears something broke when you tried to go to here. This is either 
 a bug in Review Board or a server configuration error. Please report this 
 to your administrator. *

 We are on PostgreSQL backend with Apache.

 Any suggestions are greatly appreciated. We have probably 100+ developers 
 using this so I need to get this fixed up ASAP...

 Thanks!




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


Re: Failed to upgrade from 1.7.6 to 2.0.2

2014-06-28 Thread jacek99
I also tried to register a new user with a different email address.

When you press Register it just removes the password from the form and 
refreshes it again.
No error, nothing.

So I can neither log in with  my old password or even register a new user 
at this point.

The upgrade of the site completed successfully, no errors.

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


Re: Failed to upgrade from 1.7.6 to 2.0.2

2014-06-28 Thread jacek99
Yep, that was it. Cleared the cookies got it.

I will probably have 100 emails on Monday from people with the same 
problem, but I can handle that.

Quick question:

I actually need to move this instance to a different server.

What would be the recommended procedure for doing something like this?

Do I need to just backup the DB, restore it on the destination?
Copy the entire site folder?
Copy the Apache configs?

Anything else I may have forgotten?

Thank you in advance

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


Error 500 on new 2.0.2 install

2014-06-28 Thread jacek99
I installed a brand new 2.0.2 instance on CentOS 6 with a PostgreSQL 
backend.

The whole install went fine. created the DB and my reviews site.

However, when I go to my server's /reviews/ URL I always get the 500 error 
message:

*Something broke! (Error 500)*
* It appears something broke when you tried to go to here. This is either a 
bug in Review Board or a server configuration error. Please report this to 
your administrator*
if I do a tail on the apache log (tail -f /var/log/httpd/error_log) I see 
nothing unusual:



*[Sat Jun 28 11:59:04 2014] [notice] suEXEC mechanism enabled (wrapper: 
/usr/sbin/suexec)[Sat Jun 28 11:59:04 2014] [notice] 
Apache/2.2.15 (Unix) DAV/2 mod_wsgi/3.2 Python/2.6.6 configured -- resuming 
normal operations  *
No errors present.

if I go to my site's /logs folder, it is empty, nothing.

Any suggestions would be welcome.

Thanks
Jacek

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


Re: Error 500 on new 2.0.2 install

2014-06-28 Thread Jacek Furmankiewicz
I switched debug mode on and it gave me this:

OperationalError at /reviews/

could not connect to server: Permission denied
Is the server running on host 127.0.0.1 and accepting
TCP/IP connections on port 5432?

 Request Method: GET  Request URL: http://dev-ci2/reviews/  Django Version:
1.4.13  Exception Type: OperationalError  Exception Value:

could not connect to server: Permission denied
Is the server running on host 127.0.0.1 and accepting
TCP/IP connections on port 5432?


But, if I try from command line, I can connect with that user and port, no
issues:

psql -U reviewboard -h 127.0.0.1 -p 5432

Connects to PostgreSQL without any problems.






On Sat, Jun 28, 2014 at 12:09 PM, jace...@gmail.com wrote:

 I installed a brand new 2.0.2 instance on CentOS 6 with a PostgreSQL
 backend.

 The whole install went fine. created the DB and my reviews site.

 However, when I go to my server's /reviews/ URL I always get the 500 error
 message:

 *Something broke! (Error 500)*
 * It appears something broke when you tried to go to here. This is either
 a bug in Review Board or a server configuration error. Please report this
 to your administrator*
 if I do a tail on the apache log (tail -f /var/log/httpd/error_log) I see
 nothing unusual:



 *[Sat Jun 28 11:59:04 2014] [notice] suEXEC mechanism enabled (wrapper:
 /usr/sbin/suexec)[Sat Jun 28 11:59:04 2014] [notice]
 Apache/2.2.15 (Unix) DAV/2 mod_wsgi/3.2 Python/2.6.6 configured -- resuming
 normal operations  *
 No errors present.

 if I go to my site's /logs folder, it is empty, nothing.

 Any suggestions would be welcome.

 Thanks
 Jacek

  --
 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 a topic in the
 Google Groups reviewboard group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/reviewboard/PsEvrQ4kaDw/unsubscribe.
 To unsubscribe from this group and all its topics, 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.


Stuck with setup of rbtools

2014-06-28 Thread adrian
In a previous request for help, I learned that I was simply trying to use a 
feature that is not there for gitlab-repos, yet.

Understood!

I got hinted to use the rbtools. I followed that advice, and for 
test-purposes installed the rbtools, following the documentation.

rbt can be started, now.

Now I am stuck with adding the repository. While the documentation is 
surely well meant and understandable for someone having a bit experience in 
this special area, it leaves a lot open for me, despite being a seasoned 
developer. Probably I am getting old.

Facts:
- Centos actual
- rbt 0.6.1

Trying rbt setup-repo asks for the RB server URL.

Assuming myserver is myserver.net:

  http://myserver.net/reviewboard/

(I tried with and without trailing slash, my server uses an Apache reverse 
proxy in front of the actual bitnami stack for reviewboard, so the trailing 
slash would be required.)

  No Git repository found or selected for 
http://wallaschek.net/reviewboard/. .reviewboardrc not created.

This error message gives me ... no clue where to search further.

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


Cannot change general option: server url

2014-06-28 Thread adrian
I use the current (2 days old) bitnami stack for reviewboard.

Desparately trying to get rbtools running I found that a setting was 
missing in reviewboard.

In

  System Settings - General - General Settings - Site Settings

There is the server URL.

Now I use two Apaches one in the bitnami stack and one as a reverse proxy 
in front.

I also changed the http port of the bitnami-Apache, as I got multiple 
bitnami stacks on my tools-server.

So requests to the reviewboard arrive as:

  http://localhost:6080/...

So in the menu the server URL is:

  http://localhost:6080

Reviewboard is quite picky about what it accepts as a server URL. When I 
try to change it, a moment later reviewboard resets it to localhost.

What a litlle . *§$%  !

Any clue?


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


Re: Cannot change general option: server url

2014-06-28 Thread David Trowbridge
Can you try reloading apache and see if it fixes the problem?

-David


On Sat, Jun 28, 2014 at 2:14 PM, adr...@wallaschek.de wrote:

 I use the current (2 days old) bitnami stack for reviewboard.

 Desparately trying to get rbtools running I found that a setting was
 missing in reviewboard.

 In

   System Settings - General - General Settings - Site Settings

 There is the server URL.

 Now I use two Apaches one in the bitnami stack and one as a reverse proxy
 in front.

 I also changed the http port of the bitnami-Apache, as I got multiple
 bitnami stacks on my tools-server.

 So requests to the reviewboard arrive as:

   http://localhost:6080/...

 So in the menu the server URL is:

   http://localhost:6080

 Reviewboard is quite picky about what it accepts as a server URL. When I
 try to change it, a moment later reviewboard resets it to localhost.

 What a litlle . *§$%  !

 Any clue?


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


Re: Error 500 on new 2.0.2 install

2014-06-28 Thread David Trowbridge
Did you end up turning on DEBUG in settings_local.py?

-David


On Sat, Jun 28, 2014 at 11:53 AM, Jacek Furmankiewicz jace...@gmail.com
wrote:

 OK, I figured that out, it was SELinux settings:

 setsetbool -P httpd_can_network_connect on
 setsetbool -P httpd_can_network_sendmail on

 Now I can see the site. It is 1.7.26 (not 2.0.2) since that is the default
 version shipped with ReviewBoard.

 However, the site has no graphics, no icons, nothing. It looks just like
 plain text without any CSS. HTML circa 1985.

 Any ideas?


 On Sat, Jun 28, 2014 at 1:40 PM, Jacek Furmankiewicz jace...@gmail.com
 wrote:

 I switched debug mode on and it gave me this:

 OperationalError at /reviews/

 could not connect to server: Permission denied
  Is the server running on host 127.0.0.1 and accepting
  TCP/IP connections on port 5432?

  Request Method: GET  Request URL: http://dev-ci2/reviews/  Django
 Version: 1.4.13  Exception Type: OperationalError  Exception Value:

 could not connect to server: Permission denied
  Is the server running on host 127.0.0.1 and accepting
  TCP/IP connections on port 5432?


 But, if I try from command line, I can connect with that user and port,
 no issues:

 psql -U reviewboard -h 127.0.0.1 -p 5432

 Connects to PostgreSQL without any problems.






 On Sat, Jun 28, 2014 at 12:09 PM, jace...@gmail.com wrote:

 I installed a brand new 2.0.2 instance on CentOS 6 with a PostgreSQL
 backend.

 The whole install went fine. created the DB and my reviews site.

 However, when I go to my server's /reviews/ URL I always get the 500
 error message:

 *Something broke! (Error 500)*
 * It appears something broke when you tried to go to here. This is
 either a bug in Review Board or a server configuration error. Please report
 this to your administrator*
 if I do a tail on the apache log (tail -f /var/log/httpd/error_log) I
 see nothing unusual:



 *[Sat Jun 28 11:59:04 2014] [notice] suEXEC mechanism enabled (wrapper:
 /usr/sbin/suexec)[Sat Jun 28 11:59:04 2014] [notice]
 Apache/2.2.15 (Unix) DAV/2 mod_wsgi/3.2 Python/2.6.6 configured -- resuming
 normal operations  *
 No errors present.

 if I go to my site's /logs folder, it is empty, nothing.

 Any suggestions would be welcome.

 Thanks
 Jacek

  --
 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 a topic in the
 Google Groups reviewboard group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/reviewboard/PsEvrQ4kaDw/unsubscribe.
 To unsubscribe from this group and all its topics, 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.


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


Issue 3453 in reviewboard: can't discard draft

2014-06-28 Thread reviewboard

Status: New
Owner: 
Labels: Type-Defect Priority-Medium

New issue 3453 by matthias...@famsik.de: can't discard draft
http://code.google.com/p/reviewboard/issues/detail?id=3453

*** READ THIS BEFORE POSTING!
***
*** You must complete this form in its entirety, or your bug report will be
*** rejected.
***
*** If you have a security issue to report, please send it confidentially
to
*** secur...@reviewboard.org. Posting security-related issues to this bug
*** tracker causes us to have to do an emergency release.
***
*** For customer support, please post to reviewbo...@googlegroups.com
***
*** If you have a patch, please submit it to
http://reviews.reviewboard.org/
***
*** This bug tracker is public. Please check that any logs or other
information
*** that you include has been stripped of confidential information.


What version are you running?
rb 2.0.2

What's the URL of the page containing the problem?
http://rb.freedroid.org/r/2082/

What steps will reproduce the problem?
I did some unpublished changes apparently.
When I hit discard draft, the page reloads but still shows the green
This review request is a draft. page.

What is the expected output? What do you see instead?
draft should be discarded.

What operating system are you using? What browser?
linux, firefox

Please provide any additional information below.


--
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/d/optout.