Re: Review Board timeout / throw exception randomly while doing normal operation.

2016-12-19 Thread kapil chauhan
Hi Christian,

Thanks for your reply .Here are requested details 

1) Server info: Red Hat Enterprise Linux Server release 6.4
2)repository type : git 
3)OpenSSL version: OpenSSL 1.0.1e-fips 11 Feb 2013




reviewboard site conf (apache-wsgi.conf) : 



ServerName servername.example.com
DocumentRoot "/var/www/<>/htdocs"

# Error handlers
ErrorDocument 500 /errordocs/500.html

WSGIPassAuthorization On
WSGIScriptAlias "/" 
"/var/www/servername.example.com/htdocs/reviewboard.wsgi/"


AllowOverride All
Options -Indexes +FollowSymLinks
Allow from all


# Prevent the server from processing or allowing the rendering of
# certain file types.

SetHandler None
Options None

AddType text/plain .html .htm .shtml .php .php3 .php4 .php5 .phps .asp
AddType text/plain .pl .py .fcgi .cgi .phtml .phtm .pht .jsp .sh .rb


php_flag engine off



# Alias static media requests to filesystem
Alias /media "/var/www/servername.example.com/htdocs/media"
Alias /static "/var/www/servername.example.com/htdocs/static"
Alias /errordocs "/var/www/servername.example.com/htdocs/errordocs"
Alias /favicon.ico 
"/var/www/servername.example.com/htdocs/static/rb/images/favicon.png"








On Monday, 19 December 2016 17:38:08 UTC+5:30, Christian Hammond wrote:
>
> Hi,
>
> What type of repository are you using? This is generally due to a timeout 
> or communication issue with that repository. The OpenSSL errors are pretty 
> interesting though... I've never seen those before.
>
> Can you tell me more about the server? Distro and version, OpenSSL 
> version, and type of repository would be helpful.
>
> I'd also like to see the Apache setup for Review Board, as that could shed 
> some light as well.
>
> Thanks,
>
> Christian
>
> -- 
> Christian Hammond
> President/CEO of Beanbag <https://www.beanbaginc.com/>
> Makers of Review Board <https://www.reviewboard.org/>
>
> On Mon, Dec 19, 2016 at 1:49 AM, kapil chauhan <ckap...@gmail.com 
> > wrote:
>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> Hi Team,
>>
>> I am running ReviewBoard site ( Version 2.5.6.1) while doing normal 
>> operation it is throwing couple of weird below error.
>>
>>
>> 
>> Error 1 : 
>> 
>> InternalError at /admin/db/scmtools/repository/12/
>> Unknown OpenSSL error. This error is commonly encountered when another 
>> library is not cleaning up the OpenSSL error stack. If you are using 
>> cryptography with another library that uses OpenSSL try disabling it before 
>> reporting a bug. Otherwise please file an issue at 
>> https://github.com/pyca/cryptography/issues with information on how to 
>> reproduce this. ([_OpenSSLErrorWithText(code=151441516L, lib=9, func=109, 
>> reason=108, reason_text='error:0906D06C:PEM routines:PEM_read_bio:no start 
>> line'), _OpenSSLErrorWithText(code=151441516L, lib=9, func=109, reason=108, 
>> reason_text='error:0906D06C:PEM routines:PEM_read_bio:no start line')])
>> Request Method: GET
>> Request URL: 
>> http://reviewboard-site-name.com/admin/db/scmtools/repository/121/
>> Django Version: 1.6.11
>> Exception Type: InternalError
>> Exception Value: 
>> Unknown OpenSSL error. This error is commonly encountered when another 
>> library is not cleaning up the OpenSSL error stack. If you are using 
>> cryptography with another library that uses OpenSSL try disabling it before 
>> reporting a bug. Otherwise please file an issue at 
>> https://github.com/pyca/cryptography/issues with information on how to 
>> reproduce this. ([_OpenSSLErrorWithText(code=151441516L, lib=9, func=109, 
>> reason=108, reason_text='error:0906D06C:PEM routines:PEM_read_bio:no start 
>> line'), _OpenSSLErrorWithText(code=151441516L, lib=9, func=109, reason=108, 
>> reason_text='error:0906D06C:PEM routines:PEM_read_bio:no start line')])
>> Exception Location: 
>> /usr/lib64/python2.6/site-packages/cryptography/hazmat/bindings/openssl/binding.py
>>  
>> in _openssl_assert, line 62
>> Python Executable: /usr/bin/python
>> Python Version: 2.6.6
>> Python Path: 
>> ['/var/www/sample.example.com/conf',
>>  '/usr/lib/python2.6/site-packages/ReviewBoard-2.5.6.1-py2.6.egg',
>>  '/usr/lib/python2.6/site-packages/Whoosh-2.7.4-py2.6.egg',
>>  '/usr/lib/python2.6/site-packages/python_dateutil-1.5-py2.6.egg',
>>  '/usr/lib/python2.6/site-packages/Pygments-2.1.3-py2.6.egg',
>>  '/usr/lib/python2.6/site-packages/pycrypto-2.6.1-py2.6-lin

Review Board timeout / throw exception randomly while doing normal operation.

2016-12-19 Thread kapil chauhan






















Hi Team,

I am running ReviewBoard site ( Version 2.5.6.1) while doing normal 
operation it is throwing couple of weird below error.



Error 1 : 

InternalError at /admin/db/scmtools/repository/12/
Unknown OpenSSL error. This error is commonly encountered when another 
library is not cleaning up the OpenSSL error stack. If you are using 
cryptography with another library that uses OpenSSL try disabling it before 
reporting a bug. Otherwise please file an issue at 
https://github.com/pyca/cryptography/issues with information on how to 
reproduce this. ([_OpenSSLErrorWithText(code=151441516L, lib=9, func=109, 
reason=108, reason_text='error:0906D06C:PEM routines:PEM_read_bio:no start 
line'), _OpenSSLErrorWithText(code=151441516L, lib=9, func=109, reason=108, 
reason_text='error:0906D06C:PEM routines:PEM_read_bio:no start line')])
Request Method: GET
Request URL: 
http://reviewboard-site-name.com/admin/db/scmtools/repository/121/
Django Version: 1.6.11
Exception Type: InternalError
Exception Value: 
Unknown OpenSSL error. This error is commonly encountered when another 
library is not cleaning up the OpenSSL error stack. If you are using 
cryptography with another library that uses OpenSSL try disabling it before 
reporting a bug. Otherwise please file an issue at 
https://github.com/pyca/cryptography/issues with information on how to 
reproduce this. ([_OpenSSLErrorWithText(code=151441516L, lib=9, func=109, 
reason=108, reason_text='error:0906D06C:PEM routines:PEM_read_bio:no start 
line'), _OpenSSLErrorWithText(code=151441516L, lib=9, func=109, reason=108, 
reason_text='error:0906D06C:PEM routines:PEM_read_bio:no start line')])
Exception Location: 
/usr/lib64/python2.6/site-packages/cryptography/hazmat/bindings/openssl/binding.py
 
in _openssl_assert, line 62
Python Executable: /usr/bin/python
Python Version: 2.6.6
Python Path: 
['/var/www/sample.example.com/conf',
 '/usr/lib/python2.6/site-packages/ReviewBoard-2.5.6.1-py2.6.egg',
 '/usr/lib/python2.6/site-packages/Whoosh-2.7.4-py2.6.egg',
 '/usr/lib/python2.6/site-packages/python_dateutil-1.5-py2.6.egg',
 '/usr/lib/python2.6/site-packages/Pygments-2.1.3-py2.6.egg',
 '/usr/lib/python2.6/site-packages/pycrypto-2.6.1-py2.6-linux-x86_64.egg',
 '/usr/lib/python2.6/site-packages/paramiko-2.0.2-py2.6.egg',
 '/usr/lib/python2.6/site-packages/mimeparse-0.1.3-py2.6.egg',
 '/usr/lib/python2.6/site-packages/Markdown-2.4.1-py2.6.egg',
 '/usr/lib/python2.6/site-packages/Djblets-0.9.3-py2.6.egg',
 '/usr/lib/python2.6/site-packages/django_multiselectfield-0.1.4-py2.6.egg',
 '/usr/lib/python2.6/site-packages/django_haystack-2.4.1-py2.6.egg',
 '/usr/lib/python2.6/site-packages/django_evolution-0.7.6-py2.6.egg',
 '/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg',
 '/usr/lib/python2.6/site-packages/pyasn1-0.1.9-py2.6.egg',
 '/usr/lib/python2.6/site-packages/pillowfight-0.2-py2.6.egg',
 '/usr/lib/python2.6/site-packages/django_pipeline-1.3.27-py2.6.egg',
 '/usr/lib/python2.6/site-packages/futures-3.0.5-py2.6.egg',
 '/usr/lib/python2.6/site-packages',
 '/usr/lib64/python2.6/site-packages',
 '/usr/lib64/python2.6/site-packages/PIL',
 '/usr/lib64/python26.zip',
 '/usr/lib64/python2.6',
 '/usr/lib64/python2.6/plat-linux2',
 '/usr/lib64/python2.6/lib-tk',
 '/usr/lib64/python2.6/lib-old',
 '/usr/lib64/python2.6/lib-dynload',
 '/usr/lib64/python2.6/site-packages/gst-0.10',
 '/usr/lib64/python2.6/site-packages/gtk-2.0',
 '/usr/lib64/python2.6/site-packages/webkit-1.0',
 '/usr/lib/python2.6/site-packages/pip-8.1.2-py2.6.egg',
 '/usr/lib/python2.6/site-packages/threadpool-1.3.2-py2.6.egg',
 '/usr/lib/python2.6/site-packages/requests-2.12.3-py2.6.egg',
 '/usr/lib/python2.6/site-packages/gtk-2.0']
Http Logs:


<> - - [19/Dec/2016:09:42:20 +] "GET 
/admin/db/scmtools/repository/64/ HTTP/1.1" 500 31481 
"http://review-boardsite-name.com/admin/db/scmtools/repository/; 
"Mozilla/5.0 (X11; Linux x86_64; rv:45.0) Gecko/20100101 Firefox/45.0"

Mon, 19 Dec 2016 09:39:37 +


Error 2 :  Page gets timeout with below error on web browser.

The connection was reset 
The connection to the server was reset while the page was loading.

The site could be temporarily unavailable or too busy. Try again in a 
few moments.
If you are unable to load any pages, check your computer's network 
connection.
If your computer or network is protected by a firewall or proxy, make 
sure that Firefox is permitted to access the Web.




This issue occur once a while randomly any suggestion on this is highly 
appreciated.






-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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 

Re: ReviewBoard URL is breakign Post upgrade of Review board from 1.7.22 to 2.5.6

2016-10-07 Thread kapil chauhan
Hi Christian ,

I removed that column and ran the rb-site upgrade but still no luck :( 




On Friday, 7 October 2016 20:57:25 UTC+5:30, Christian Hammond wrote:
>
> Hi Kapil,
>
> You'll need to remove that column and finish the upgrade process. You 
> never ran 'rb-site upgrade' on the Review Board site directory (as 
> described in the manual and on that error page).
>
> Once you do that, you should be in good shape.
>
> Please back up your database before running this command, in case 
> something goes wrong due to making hand modifications to the database 
> schema. That'll make it easier to diagnose if it does break.
>
> Christian
>
>
> On Friday, October 7, 2016, kapil chauhan <ckap...@gmail.com > 
> wrote:
>
>> I have manually added show_submitted coulmn in the table which has fixed 
>> this error but now the latest error is this : 
>>
>> Manual server updates required
>>
>> A recent upgrade requires manual updates to be made on this server. After 
>> these changes are made, you should restart your server.
>>
>> If you have any questions or problems, please contact us on our mailing list 
>> <http://groups.google.com/group/reviewboard>.
>> Review Board version mismatch
>>
>> The version of Review Board running does not match the version the site was 
>> last upgraded to. You are running *1.7.22* and the site was last upgraded to 
>> *2.5.6.1*.
>>
>> Please upgrade your site to fix this by running:
>>
>> $ rb-site upgrade /var/www/cr.ci.example.com
>>
>>
>> I ran the rb-site upgrade /var/www/cr.ci.example.com but it didn't fixed 
>> the issue ,As of now am clueless and don't have any idea to proceed further 
>> on this issue. Any suggestion is really appreciated Thanks 
>> 
>>
>> On Thursday, 6 October 2016 22:29:35 UTC+5:30, kapil chauhan wrote:
>>>
>>> Hi Team,
>>>
>>> I am new to Review Board ,I have done Review Board upgrade. Upgrade went 
>>> successful but post upgrade when am trying to browse the reviewboard url it 
>>> is breaking with 500 Error.I have checked the error logs of httpd and found 
>>> below entry which I think can be ignored after going through few posts.
>>>
>>> Error: 
>>> [error]   DeprecationWarning
>>> [Thu Oct 06 16:32:12 2016] [error] 
>>> /usr/lib/python2.6/site-packages/django/views/generic/list_detail.py:10: 
>>> DeprecationWarning: Function-based generic views have been deprecated; use 
>>> class-based views instead.
>>> [Thu Oct 06 16:32:12 2016] [error]   DeprecationWarning
>>>
>>> I am using python 2.6 and its redhat linux 6 version.
>>>
>>> I am also pasting the other configuration files.
>>> #
>>> settings_local.py
>>> #
>>>
>>>
>>> # Database configuration
>>> DATABASES = {
>>> 'default': {
>>> 'ENGINE': 'django.db.backends.mysql',
>>> 'NAME': 'rb',
>>> 'USER': '',
>>> 'PASSWORD': 'x',
>>> 'HOST': 'localhost',
>>> 'PORT': '',
>>> },
>>> }
>>>
>>> # Unique secret key. Don't share this with anybody.
>>> SECRET_KEY = 'xx'
>>>
>>> # Cache backend settings.
>>> CACHES = {
>>> 'default': {
>>> 'BACKEND': 'django.core.cache.backends.me
>>> mcached.MemcachedCache',
>>> 'LOCATION': 'localhost:11211',
>>> },
>>> }
>>>
>>> # Extra site information.
>>> SITE_ID = 1
>>> SITE_ROOT = '/'
>>> FORCE_SCRIPT_NAME = ''
>>> DEBUG = False
>>>
>>> ###
>>>
>>> httpd.conf
>>> ##
>>> <>>
>>>
>>>  
>>> AllowOverride None
>>> Options IncludesNoExec
>>> AddOutputFilter Includes html
>>> AddHandler type-map var
>>> Order allow,deny
>>> Allow from all
>>> LanguagePriority en es de fr
>>> ForceLanguagePriority Prefer Fallback
>>> 
>>>
>>> BrowserMatch "Mozilla/2" nokeepalive
>>> BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
>>> BrowserMatch "RealPlayer 4\.0" force-response-1.0
>>> BrowserMatch "Java/1\.0" force-response-1.0
>>> Brow

Re: ReviewBoard URL is breakign Post upgrade of Review board from 1.7.22 to 2.5.6

2016-10-07 Thread kapil chauhan
I have manually added show_submitted coulmn in the table which has fixed 
this error but now the latest error is this : 

Manual server updates required

A recent upgrade requires manual updates to be made on this server. After these 
changes are made, you should restart your server.

If you have any questions or problems, please contact us on our mailing list 
<http://groups.google.com/group/reviewboard>.
Review Board version mismatch

The version of Review Board running does not match the version the site was 
last upgraded to. You are running *1.7.22* and the site was last upgraded to 
*2.5.6.1*.

Please upgrade your site to fix this by running:

$ rb-site upgrade /var/www/cr.ci.example.com


I ran the rb-site upgrade /var/www/cr.ci.example.com but it didn't fixed 
the issue ,As of now am clueless and don't have any idea to proceed further 
on this issue. Any suggestion is really appreciated Thanks 


On Thursday, 6 October 2016 22:29:35 UTC+5:30, kapil chauhan wrote:
>
> Hi Team,
>
> I am new to Review Board ,I have done Review Board upgrade. Upgrade went 
> successful but post upgrade when am trying to browse the reviewboard url it 
> is breaking with 500 Error.I have checked the error logs of httpd and found 
> below entry which I think can be ignored after going through few posts.
>
> Error: 
> [error]   DeprecationWarning
> [Thu Oct 06 16:32:12 2016] [error] 
> /usr/lib/python2.6/site-packages/django/views/generic/list_detail.py:10: 
> DeprecationWarning: Function-based generic views have been deprecated; use 
> class-based views instead.
> [Thu Oct 06 16:32:12 2016] [error]   DeprecationWarning
>
> I am using python 2.6 and its redhat linux 6 version.
>
> I am also pasting the other configuration files.
> #
> settings_local.py
> #
>
>
> # Database configuration
> DATABASES = {
> 'default': {
> 'ENGINE': 'django.db.backends.mysql',
> 'NAME': 'rb',
> 'USER': '',
> 'PASSWORD': 'x',
> 'HOST': 'localhost',
> 'PORT': '',
> },
> }
>
> # Unique secret key. Don't share this with anybody.
> SECRET_KEY = 'xx'
>
> # Cache backend settings.
> CACHES = {
> 'default': {
> 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
> 'LOCATION': 'localhost:11211',
> },
> }
>
> # Extra site information.
> SITE_ID = 1
> SITE_ROOT = '/'
> FORCE_SCRIPT_NAME = ''
> DEBUG = False
>
> ###
>
> httpd.conf
> ##
> <>>
>
>  
> AllowOverride None
> Options IncludesNoExec
> AddOutputFilter Includes html
> AddHandler type-map var
> Order allow,deny
> Allow from all
> LanguagePriority en es de fr
> ForceLanguagePriority Prefer Fallback
> 
>
> BrowserMatch "Mozilla/2" nokeepalive
> BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
> BrowserMatch "RealPlayer 4\.0" force-response-1.0
> BrowserMatch "Java/1\.0" force-response-1.0
> BrowserMatch "JDK/1\.0" force-response-1.0
>
> BrowserMatch "Microsoft Data Access Internet Publishing Provider" 
> redirect-carefully
> BrowserMatch "MS FrontPage" redirect-carefully
> BrowserMatch "^WebDrive" redirect-carefully
> BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
> BrowserMatch "^gnome-vfs/1.0" redirect-carefully
> BrowserMatch "^XML Spy" redirect-carefully
> BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
>
>
> LoadModule passenger_module 
> /home/user1/.gem/ruby/1.9.1/gems/passenger-5.0.16/buildout/apache2/mod_passenger.so
>
>  PassengerRoot /home/user1/.gem/ruby/1.9.1/gems/passenger-5.0.16
>  PassengerDefaultRuby /usr/bin/ruby
>
>
>
>
> 
> ServerName machine.example.com
> DocumentRoot "/var/www/codereview.example.com/htdocs"
>
> # Error handlers
> ErrorDocument 500 /errordocs/500.html
>
> WSGIPassAuthorization On
> WSGIScriptAlias "/" "/var/www/
> codereview.example.com/htdocs/reviewboard.wsgi/"
>
> 
> AllowOverride All
> Options -Indexes +FollowSymLinks
> Allow from all
> 
>
> #
> #AllowOverride All
> # Order Allow,Deny
> # Allow from all 
># Options -Indexes +FollowSymLinks
># Allow from a
> #
> #ProxyPreserveHost On
> #ProxyPass /sites http://localhost:3000/sites
> #ProxyPassReverse 

Re: ReviewBoard URL is breakign Post upgrade of Review board from 1.7.22 to 2.5.6

2016-10-07 Thread kapil chauhan


On Friday, 7 October 2016 11:48:11 UTC+5:30, kapil chauhan wrote:
>
> Hi Christian,
>
> I did upgrade via easy_install. Please find the logs below 
>
>
>
> ##
> python2.6/site-package
> ##
> [user1@server1 ~]$ ll /usr/lib/python2.6/site-packages/
> total 4348
> -rw-r--r--.  1 root root 30 Feb 24  2013 abrt.pth
> drwxr-xr-x.  2 root root   4096 Jul 31  2013 AddOns-0.6-py2.6.egg-info
> -rw-r--r--.  1 root root650 May  4  2010 AddOns-0.6-py2.6-nspkg.pth
> drwxr-xr-x.  2 root root   4096 Jul 31  2013 Alacarte
> -rw-r--r--.  1 root root  10842 Dec 16  2007 ANSI.py
> -rw-r--r--.  2 root root  10540 Jul  7  2010 ANSI.pyc
> -rw-r--r--.  2 root root  10540 Jul  7  2010 ANSI.pyo
> -rw-r--r--.  1 root root  14299 Apr  3  2008 aotcompile.py
> -rw-r--r--.  2 root root  14580 May  3  2010 aotcompile.pyc
> -rw-r--r--.  2 root root  14580 May  3  2010 aotcompile.pyo
> drwxr-xr-x.  4 root root   4096 Jul 31  2013 babel
> drwxr-xr-x.  2 root root   4096 Jul 31  2013 Babel-0.9.4-py2.6.egg-info
> drwxr-xr-x.  4 root root   4096 Jul 31  2013 beaker
> drwxr-xr-x.  2 root root   4096 Jul 31  2013 Beaker-1.3.1-py2.6.egg-info
> drwxr-xr-x.  2 root root   4096 Jul 31  2013 
> BytecodeAssembler-0.5.1-py2.6.egg-info
> -rw-r--r--.  1 root root666 Nov 20  2010 
> BytecodeAssembler-0.5.1-py2.6-nspkg.pth
> drwxr-xr-x.  2 root root   4096 Jul 31  2013 cas
> -rw-r--r--.  1 root root226 Apr 28  2010 cas-0.15-py2.6.egg-info
> -rw-r--r--.  1 root root   7389 Dec 16  2008 classfile.py
> -rw-r--r--.  1 root root   8031 May  3  2010 classfile.pyc
> -rw-r--r--.  1 root root   7789 May  3  2010 classfile.pyo
> drwxr-xr-x.  8 root root   4096 Jul 31  2013 coherence
> drwxr-xr-x.  2 root root   4096 Jul 31  2013 Coherence-0.6.4-py2.6.egg-info
> drwxr-xr-x.  2 root root   4096 Dec  8  2011 compat-openmpi
> -rw-r--r--.  1 root root312 Jul 25  2010 configobj-4.6.0-py2.6.egg-info
> -rw-r--r--.  1 root root  86447 Apr 17  2009 configobj.py
> -rw-r--r--.  2 root root  66412 Jul 25  2010 configobj.pyc
> -rw-r--r--.  2 root root  66412 Jul 25  2010 configobj.pyo
> drwxr-xr-x.  2 root root   4096 Jul 31  2013 configshell
> -rw-r--r--.  1 root root952 Apr 28  2012 
> configshell-GIT_VERSION-py2.6.egg-info
> -rw-r--r--.  1 root root   5659 Mar  2  2010 cracklib.py
> -rw-r--r--.  2 root root   4553 Mar 29  2011 cracklib.pyc
> -rw-r--r--.  2 root root   4553 Mar 29  2011 cracklib.pyo
> drwxr-xr-x.  2 root root   4096 Jul 31  2013 createrepo
> -rwxr-xr-x.  1 root root  28008 Feb 22  2013 cupsext.so
> drwxr-xr-x.  2 root root   4096 Jul 31  2013 cupshelpers
> -rw-r--r--.  1 root root231 Apr 28  2012 cupshelpers-1.0-py2.6.egg-info
> drwxr-xr-x.  3 root root   4096 Jul 31  2013 dateutil
> drwxr-xr-x.  3 root root   4096 Jul 31  2013 dbus
> -rw-r--r--.  1 root root 33 Apr 28  2010 dbus_bindings.py
> -rw-r--r--.  2 root root167 Apr 28  2010 dbus_bindings.pyc
> -rw-r--r--.  2 root root167 Apr 28  2010 dbus_bindings.pyo
> drwxr-xr-x.  2 root root   4096 Jul 31  2013 decorator-3.0.1-py2.6.egg-info
> -rw-r--r--.  1 root root   8384 Feb 16  2009 decorator.py
> -rw-r--r--.  1 root root   7158 May  4  2010 decorator.pyc
> -rw-r--r--.  1 root root   6959 May  4  2010 decorator.pyo
> drwxr-xr-x.  2 root root   4096 Jul 31  2013 
> DecoratorTools-1.7-py2.6.egg-info
> -rw-r--r--.  1 root root650 May  4  2010 
> DecoratorTools-1.7-py2.6-nspkg.pth
> drwxr-xr-x.  2 root root   4096 Jul 31  2013 
> distribute-0.6.10-py2.6.egg-info
> drwxr-xr-x  17 root root   4096 Mar 26  2014 django
> -rw-r--r--   1 root root   1183 Sep 16  2013 Django-1.4.8-py2.6.egg-info
> drwxr-xr-x   4 root root   4096 Oct  6 11:02 Django-1.6.11-py2.6.egg
> drwxr-xr-x   6 root root   4096 Mar 26  2014 django_evolution
> drwxr-xr-x   2 root root   4096 Mar 26  2014 
> django_evolution-0.6.9-py2.6.egg-info
> drwxr-xr-x   4 root root   4096 Oct  6 11:02 
> django_evolution-0.7.6-py2.6.egg
> drwxr-xr-x   4 root root   4096 Oct  6 11:02 
> django_haystack-2.4.1-py2.6.egg
> drwxr-xr-x   4 root root   4096 Oct  6 11:02 
> django_multiselectfield-0.1.4-py2.6.egg
> drwxr-xr-x   2 root root   4096 Mar 26  2014 
> django_pipeline-1.2.24-py2.6.egg-info
> drwxr-xr-x   4 root root   4096 Oct  6 11:37 
> django_pipeline-1.3.27-py2.6.egg
> drwxr-xr-x  15 root root   4096 Mar 26  2014 djblets
> drwxr-xr-x   2 root root   4096 Mar 26  2014 Djblets-0.7.28-py2.6.egg-info
> drwxr-xr-x   4 root root   4096 Oct  6 11:02 Djblets-0.9.3-py2.6.egg
> drwxr-xr-x   7 root root   4096 Mar 26  2014 docutils
> -rw-r--r--   1 root root   1681 Jul 15  2010 docutils-0.6-py2.6.egg-info
> -rw-r--r--   1 root root502 Oct  6 14:20 easy-install.pth
> -rw-

Re: ReviewBoard URL is breakign Post upgrade of Review board from 1.7.22 to 2.5.6

2016-10-07 Thread kapil chauhan
aise(dj_exc_type, dj_exc_value, traceback)
  File 
"/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg/django/db/backends/__init__.py",
 
line 127, in ensure_connection
self.connect()
  File 
"/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg/django/db/backends/__init__.py",
 
line 115, in connect
self.connection = self.get_new_connection(conn_params)
  File 
"/usr/lib/python2.6/site-packages/Django-1.6.11-py2.6.egg/django/db/backends/mysql/base.py",
 
line 435, in get_new_connection
conn = Database.connect(**conn_params)
  File "/usr/lib64/python2.6/site-packages/MySQLdb/__init__.py", line 81, 
in Connect
return Connection(*args, **kwargs)
  File "/usr/lib64/python2.6/site-packages/MySQLdb/connections.py", line 
187, in __init__
super(Connection, self).__init__(*args, **kwargs2)
django.db.utils.OperationalError: (2002, "Can't connect to local MySQL 
server through socket '/var/lib/mysql/mysql.sock' (2)")
[root@server1 www]# /etc/init.d/mysqld start
Starting mysqld:   [  OK  ]
[root@server1 www]# rb-site upgrade /var/www/cr.ci.example.com
/usr/lib64/python2.6/site-packages/cryptography/__init__.py:26: 
DeprecationWarning: Python 2.6 is no longer supported by the Python core 
team, please upgrade your Python. A future version of cryptography will 
drop support for Python 2.6
  DeprecationWarning
/usr/lib/python2.6/site-packages/pycrypto-2.6.1-py2.6-linux-x86_64.egg/Crypto/Util/number.py:57:
 
PowmInsecureWarning: Not using mpz_powm_sec.  You should rebuild using 
libgmp >= 5 to avoid timing attack vulnerability.
  _warn("Not using mpz_powm_sec.  You should rebuild using libgmp >= 5 to 
avoid timing attack vulnerability.", PowmInsecureWarning)
Rebuilding directory structure
Updating database. This may take a while.

The log output below, including warnings and errors,
can be ignored unless upgrade fails.

--  --
Creating tables ...
Creating table accounts_trophy
Creating table attachments_fileattachmenthistory
Creating table diffviewer_rawfilediffdata
Creating table notifications_webhooktarget_repositories
Creating table notifications_webhooktarget
Creating table webapi_webapitoken
Upgrading Review Board from 1.7.22 to 2.5.6.1
There are unapplied evolutions for auth.
There are unapplied evolutions for contenttypes.
There are unapplied evolutions for accounts.
There are unapplied evolutions for attachments.
There are unapplied evolutions for changedescs.
There are unapplied evolutions for diffviewer.
There are unapplied evolutions for hostingsvcs.
There are unapplied evolutions for notifications.
There are unapplied evolutions for reviews.
There are unapplied evolutions for scmtools.
There are unapplied evolutions for webapi.
Adding baseline version for new models
Evolutions in webapi baseline: webapitoken_jsonfield_null
Evolutions in notifications baseline: webhooktarget_extra_state, 
webhooktarget_extra_data_null
Project signature has changed - an evolution is required
Installing custom SQL ...
Installing indexes ...
Installed 0 object(s) from 0 fixture(s)
Evolution successful.
---  ---

Resetting in-database caches.

Upgrade complete!
[root@server1 www]#







On Friday, 7 October 2016 07:04:51 UTC+5:30, Christian Hammond wrote:
>
> Hi,
>
> Can you locate the python2.6/site-packages directory and show us the 
> directory contents?
>
> How did you perform the upgrade? Do you still have any logs from that 
> process? Were you using yum or easy_install?
>
> Christian
>
>
> On Thursday, October 6, 2016, kapil chauhan <ckap...@gmail.com 
> > wrote:
>
>> Hi David,
>>
>> Nope I don't see any other information in httpd logs.I try to find the 
>> review board log but no luck any idea where I can find the location of it 
>> :( 
>>
>> On Thursday, 6 October 2016 22:40:54 UTC+5:30, David Trowbridge wrote:
>>>
>>> The DeprecationWarning can be ignored.
>>>
>>> Are there any other errors in the httpd logs? Can you check the Review 
>>> Board log file?
>>>
>>> -David
>>>
>>> On Thu, Oct 6, 2016 at 10:59 AM kapil chauhan <ckap...@gmail.com> wrote:
>>>
>>>> Hi Team,
>>>>
>>>> I am new to Review Board ,I have done Review Board upgrade. Upgrade 
>>>> went successful but post upgrade when am trying to browse the reviewboard 
>>>> url it is breaking with 500 Error.I have checked the error logs of httpd 
>>>> and found below entry which I think can be ignored after going through few 
>>>> posts.
>>>>
>>>> Error: 
>>>> [error]   DeprecationWarning
>>>&g

Re: ReviewBoard URL is breakign Post upgrade of Review board from 1.7.22 to 2.5.6

2016-10-06 Thread kapil chauhan
Hi David,

Nope I don't see any other information in httpd logs.I try to find the 
review board log but no luck any idea where I can find the location of it 
:( 

On Thursday, 6 October 2016 22:40:54 UTC+5:30, David Trowbridge wrote:
>
> The DeprecationWarning can be ignored.
>
> Are there any other errors in the httpd logs? Can you check the Review 
> Board log file?
>
> -David
>
> On Thu, Oct 6, 2016 at 10:59 AM kapil chauhan <ckap...@gmail.com 
> > wrote:
>
>> Hi Team,
>>
>> I am new to Review Board ,I have done Review Board upgrade. Upgrade went 
>> successful but post upgrade when am trying to browse the reviewboard url it 
>> is breaking with 500 Error.I have checked the error logs of httpd and found 
>> below entry which I think can be ignored after going through few posts.
>>
>> Error: 
>> [error]   DeprecationWarning
>> [Thu Oct 06 16:32:12 2016] [error] 
>> /usr/lib/python2.6/site-packages/django/views/generic/list_detail.py:10: 
>> DeprecationWarning: Function-based generic views have been deprecated; use 
>> class-based views instead.
>> [Thu Oct 06 16:32:12 2016] [error]   DeprecationWarning
>>
>> I am using python 2.6 and its redhat linux 6 version.
>>
>> I am also pasting the other configuration files.
>> #
>> settings_local.py
>> #
>>
>>
>> # Database configuration
>> DATABASES = {
>> 'default': {
>> 'ENGINE': 'django.db.backends.mysql',
>> 'NAME': 'rb',
>> 'USER': '',
>> 'PASSWORD': 'x',
>> 'HOST': 'localhost',
>> 'PORT': '',
>> },
>> }
>>
>> # Unique secret key. Don't share this with anybody.
>> SECRET_KEY = 'xx'
>>
>> # Cache backend settings.
>> CACHES = {
>> 'default': {
>> 'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
>> 'LOCATION': 'localhost:11211',
>> },
>> }
>>
>> # Extra site information.
>> SITE_ID = 1
>> SITE_ROOT = '/'
>> FORCE_SCRIPT_NAME = ''
>> DEBUG = False
>>
>> ###
>>
>> httpd.conf
>> ##
>> <>>
>>
>>  
>> AllowOverride None
>> Options IncludesNoExec
>> AddOutputFilter Includes html
>> AddHandler type-map var
>> Order allow,deny
>> Allow from all
>> LanguagePriority en es de fr
>> ForceLanguagePriority Prefer Fallback
>> 
>>
>> BrowserMatch "Mozilla/2" nokeepalive
>> BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
>> BrowserMatch "RealPlayer 4\.0" force-response-1.0
>> BrowserMatch "Java/1\.0" force-response-1.0
>> BrowserMatch "JDK/1\.0" force-response-1.0
>>
>> BrowserMatch "Microsoft Data Access Internet Publishing Provider" 
>> redirect-carefully
>> BrowserMatch "MS FrontPage" redirect-carefully
>> BrowserMatch "^WebDrive" redirect-carefully
>> BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
>> BrowserMatch "^gnome-vfs/1.0" redirect-carefully
>> BrowserMatch "^XML Spy" redirect-carefully
>> BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully
>>
>>
>> LoadModule passenger_module 
>> /home/user1/.gem/ruby/1.9.1/gems/passenger-5.0.16/buildout/apache2/mod_passenger.so
>>
>>  PassengerRoot /home/user1/.gem/ruby/1.9.1/gems/passenger-5.0.16
>>  PassengerDefaultRuby /usr/bin/ruby
>>
>>
>>
>>
>> 
>> ServerName machine.example.com
>> DocumentRoot "/var/www/codereview.example.com/htdocs"
>>
>> # Error handlers
>> ErrorDocument 500 /errordocs/500.html
>>
>> WSGIPassAuthorization On
>> WSGIScriptAlias "/" "/var/www/
>> codereview.example.com/htdocs/reviewboard.wsgi/"
>>
>> 
>> AllowOverride All
>> Options -Indexes +FollowSymLinks
>> Allow from all
>> 
>>
>> #
>> #AllowOverride All
>> # Order Allow,Deny
>> # Allow from all 
>># Options -Indexes +FollowSymLinks
>># Allow from a
>> #
>> #ProxyPreserveHost On
>> #ProxyPass /sites http://localhost:3000/sites
>> #ProxyPassReverse /sites http://local

ReviewBoard URL is breakign Post upgrade of Review board from 1.7.22 to 2.5.6

2016-10-06 Thread kapil chauhan
Hi Team,

I am new to Review Board ,I have done Review Board upgrade. Upgrade went 
successful but post upgrade when am trying to browse the reviewboard url it 
is breaking with 500 Error.I have checked the error logs of httpd and found 
below entry which I think can be ignored after going through few posts.

Error: 
[error]   DeprecationWarning
[Thu Oct 06 16:32:12 2016] [error] 
/usr/lib/python2.6/site-packages/django/views/generic/list_detail.py:10: 
DeprecationWarning: Function-based generic views have been deprecated; use 
class-based views instead.
[Thu Oct 06 16:32:12 2016] [error]   DeprecationWarning

I am using python 2.6 and its redhat linux 6 version.

I am also pasting the other configuration files.
#
settings_local.py
#


# Database configuration
DATABASES = {
'default': {
'ENGINE': 'django.db.backends.mysql',
'NAME': 'rb',
'USER': '',
'PASSWORD': 'x',
'HOST': 'localhost',
'PORT': '',
},
}

# Unique secret key. Don't share this with anybody.
SECRET_KEY = 'xx'

# Cache backend settings.
CACHES = {
'default': {
'BACKEND': 'django.core.cache.backends.memcached.MemcachedCache',
'LOCATION': 'localhost:11211',
},
}

# Extra site information.
SITE_ID = 1
SITE_ROOT = '/'
FORCE_SCRIPT_NAME = ''
DEBUG = False

###

httpd.conf
##
<>>

 
AllowOverride None
Options IncludesNoExec
AddOutputFilter Includes html
AddHandler type-map var
Order allow,deny
Allow from all
LanguagePriority en es de fr
ForceLanguagePriority Prefer Fallback


BrowserMatch "Mozilla/2" nokeepalive
BrowserMatch "MSIE 4\.0b2;" nokeepalive downgrade-1.0 force-response-1.0
BrowserMatch "RealPlayer 4\.0" force-response-1.0
BrowserMatch "Java/1\.0" force-response-1.0
BrowserMatch "JDK/1\.0" force-response-1.0

BrowserMatch "Microsoft Data Access Internet Publishing Provider" 
redirect-carefully
BrowserMatch "MS FrontPage" redirect-carefully
BrowserMatch "^WebDrive" redirect-carefully
BrowserMatch "^WebDAVFS/1.[0123]" redirect-carefully
BrowserMatch "^gnome-vfs/1.0" redirect-carefully
BrowserMatch "^XML Spy" redirect-carefully
BrowserMatch "^Dreamweaver-WebDAV-SCM1" redirect-carefully


LoadModule passenger_module 
/home/user1/.gem/ruby/1.9.1/gems/passenger-5.0.16/buildout/apache2/mod_passenger.so
   
 PassengerRoot /home/user1/.gem/ruby/1.9.1/gems/passenger-5.0.16
 PassengerDefaultRuby /usr/bin/ruby
   




ServerName machine.example.com
DocumentRoot "/var/www/codereview.example.com/htdocs"

# Error handlers
ErrorDocument 500 /errordocs/500.html

WSGIPassAuthorization On
WSGIScriptAlias "/" 
"/var/www/codereview.example.com/htdocs/reviewboard.wsgi/"


AllowOverride All
Options -Indexes +FollowSymLinks
Allow from all


#
#AllowOverride All
# Order Allow,Deny
# Allow from all 
   # Options -Indexes +FollowSymLinks
   # Allow from a
#
#ProxyPreserveHost On
#ProxyPass /sites http://localhost:3000/sites
#ProxyPassReverse /sites http://localhost:3000/sites
#ProxyPass /assets http://localhost:3000/assets
#ProxyPassReverse /assets http://localhost:3000/assets

# Alias static media requests to filesystem
Alias /media "/var/www/codereview.example.com/htdocs/media"
Alias /maven2 "/var/www/codereview.example.com/htdocs/maven2"
Alias /static "/var/www/codereview.example.com/htdocs/static"
Alias /errordocs "/var/www/codereview.example.com/htdocs/errordocs"
Alias /favicon.ico 
"/var/www/codereview.example.com/htdocs/static/rb/images/favicon.png"





Any help on this is highly appreciated.

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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.


Review board is having issue with ssl certificate .

2016-02-04 Thread kapil chauhan
When I try to restart the httpd daemon the ssl_error,I try to follow the 
google suggestion but they didn't work.

GoogleLink: 
http://stackoverflow.com/questions/19153353/see-server-name-according-to-ssl-certificates

==> /var/log/httpd/ssl_error_log <==
[Thu Feb 04 10:28:11 2016] [warn] RSA server certificate is a CA 
certificate (BasicConstraints: CA == TRUE !?)
[Thu Feb 04 10:28:11 2016] [warn] RSA server certificate CommonName (CN) 
`XX-dmz-vm20.XX..com' does NOT match server name!?

###

Any idea what else I can do? Really appreciated if someone can help me on 
this.

-- 
Supercharge your Review Board with Power Pack: 
https://www.reviewboard.org/powerpack/
Want us to host Review Board for you? Check out RBCommons: 
https://rbcommons.com/
Happy user? Let us know! https://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.