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': 'xxxx',
'PASSWORD': 'xxxxx',
'HOST': 'localhost',
'PORT': '',
},
}
# Unique secret key. Don't share this with anybody.
SECRET_KEY = 'xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx'
# 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
##############
<<TRIM>>>
<Directory "/var/www/error">
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
</Directory>
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
<IfModule mod_passenger.c>
PassengerRoot /home/user1/.gem/ruby/1.9.1/gems/passenger-5.0.16
PassengerDefaultRuby /usr/bin/ruby
</IfModule>
<VirtualHost *:80>
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/"
<Directory "/var/www/codereview.example.com/htdocs">
AllowOverride All
Options -Indexes +FollowSymLinks
Allow from all
</Directory>
#<Directory "/var/www/SiteSearch/">
# AllowOverride All
# Order Allow,Deny
# Allow from all
# Options -Indexes +FollowSymLinks
# Allow from a
#</Directory>
#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"
</VirtualHost>
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 [email protected].
For more options, visit https://groups.google.com/d/optout.