Recent upgrade to 1.7.1 broke my site.

2013-01-08 Thread Custom Apps
Hi,

Today, I upgraded my review board installation to 1.7.1. By doing this, My 
site is broken. I get internal server error. In the apache log file, I see 
the following lines. 

[Tue Jan 08 14:55:08 2013] [notice] Apache/2.2.14 (Ubuntu) 
Phusion_Passenger/2.2.7 PHP/5.3.2-1ubuntu4.17 with Suhosin-Patch 
mod_python/3.3.1 Python/2.6.5 mod_wsgi/2.8 configured -- resuming normal 
operations
[Tue Jan 08 22:55:17 2013] [error] 
/usr/lib/python2.6/dist-packages/mod_python/importer.py:32: 
DeprecationWarning: the md5 module is deprecated; use hashlib instead
[Tue Jan 08 22:55:17 2013] [error]   import md5
[Tue Jan 08 22:55:19 2013] [error] 
/usr/lib/python2.6/dist-packages/mod_python/importer.py:32: 
DeprecationWarning: the md5 module is deprecated; use hashlib instead
[Tue Jan 08 22:55:19 2013] [error]   import md5

My apache config is 

VirtualHost *:80
ServerName review.board
DocumentRoot /var/www/review.board/htdocs

# Error handlers
ErrorDocument 500 /errordocs/500.html

WSGIPassAuthorization On
WSGIScriptAlias / /var/www/review.board/htdocs/reviewboard.wsgi/
# Serve django pages
Location /
PythonPath ['/var/www/review.board/conf'] + sys.path
SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
SetEnv PYTHON_EGG_CACHE /var/www/review.board/tmp/egg_cache
SetEnv HOME /var/www/review.board/data
SetHandler mod_python
PythonHandler django.core.handlers.modpython
PythonAutoReload Off
#PythonDebug Off
PythonDebug On
# Used to run multiple mod_python sites in the same apache
PythonInterpreter reviewboard_crs_aaryanapps_net
/Location

# Serve static media without running it through mod_python
# (overrides the above)
Location /media
SetHandler None
/Location
Location /errordocs
SetHandler None
/Location
Location /static
SetHandler None
/Location

Directory /var/www/review.board/htdocs
AllowOverride All
/Directory

# Alias static media requests to filesystem
Alias /media /var/www/review.board/htdocs/media
Alias /errordocs /var/www/review.board/htdocs/errordocs
Alias /static /var/www/review.board/htdocs/static
/VirtualHost


Not sure what else to look for and where. 

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




Re: Recent upgrade to 1.7.1 broke my site.

2013-01-08 Thread David Trowbridge
DeprecationWarnings are harmless. There's probably something else (either
in the apache log or the reviewboard log).


-David


On Tue, Jan 8, 2013 at 3:01 PM, Custom Apps sme...@customapps.in wrote:

 Hi,

 Today, I upgraded my review board installation to 1.7.1. By doing this, My
 site is broken. I get internal server error. In the apache log file, I see
 the following lines.

 [Tue Jan 08 14:55:08 2013] [notice] Apache/2.2.14 (Ubuntu)
 Phusion_Passenger/2.2.7 PHP/5.3.2-1ubuntu4.17 with Suhosin-Patch
 mod_python/3.3.1 Python/2.6.5 mod_wsgi/2.8 configured -- resuming normal
 operations
 [Tue Jan 08 22:55:17 2013] [error]
 /usr/lib/python2.6/dist-packages/mod_python/importer.py:32:
 DeprecationWarning: the md5 module is deprecated; use hashlib instead
 [Tue Jan 08 22:55:17 2013] [error]   import md5
 [Tue Jan 08 22:55:19 2013] [error]
 /usr/lib/python2.6/dist-packages/mod_python/importer.py:32:
 DeprecationWarning: the md5 module is deprecated; use hashlib instead
 [Tue Jan 08 22:55:19 2013] [error]   import md5

 My apache config is

 VirtualHost *:80
 ServerName review.board
 DocumentRoot /var/www/review.board/htdocs

 # Error handlers
 ErrorDocument 500 /errordocs/500.html

 WSGIPassAuthorization On
 WSGIScriptAlias / /var/www/review.board/htdocs/reviewboard.wsgi/
 # Serve django pages
 Location /
 PythonPath ['/var/www/review.board/conf'] + sys.path
 SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
 SetEnv PYTHON_EGG_CACHE /var/www/review.board/tmp/egg_cache
 SetEnv HOME /var/www/review.board/data
 SetHandler mod_python
 PythonHandler django.core.handlers.modpython
 PythonAutoReload Off
 #PythonDebug Off
 PythonDebug On
 # Used to run multiple mod_python sites in the same apache
 PythonInterpreter reviewboard_crs_aaryanapps_net
 /Location

 # Serve static media without running it through mod_python
 # (overrides the above)
 Location /media
 SetHandler None
 /Location
 Location /errordocs
 SetHandler None
 /Location
 Location /static
 SetHandler None
 /Location

 Directory /var/www/review.board/htdocs
 AllowOverride All
 /Directory

 # Alias static media requests to filesystem
 Alias /media /var/www/review.board/htdocs/media
 Alias /errordocs /var/www/review.board/htdocs/errordocs
 Alias /static /var/www/review.board/htdocs/static
 /VirtualHost


 Not sure what else to look for and where.

 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




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




Re: Recent upgrade to 1.7.1 broke my site.

2013-01-08 Thread Custom Apps
I am not an expert in this. So not sure what else to look for. Even though 
they are deprecationwarning, they seem to have error tag. Can this be an 
issue? The apache log also has these entries. 

[Tue Jan 08 23:04:46 2013] [error]   import md5
/usr/lib/python2.6/dist-packages/mod_python/importer.py:32: 
DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
/usr/local/lib/python2.6/dist-packages/Django-1.4.3-py2.6.egg/django/core/handlers/modpython.py:131:
 
DeprecationWarning: The mod_python handler is deprecated; use a WSGI or 
FastCGI server instead.
  DeprecationWarning)
/usr/local/lib/python2.6/dist-packages/Django-1.4.3-py2.6.egg/django/views/generic/list_detail.py:10:
 
DeprecationWarning: Function-based generic views have been deprecated; use 
class-based views instead.
  DeprecationWarning
/usr/lib/python2.6/dist-packages/mod_python/importer.py:32: 
DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
/usr/local/lib/python2.6/dist-packages/Django-1.4.3-py2.6.egg/django/core/handlers/modpython.py:131:
 
DeprecationWarning: The mod_python handler is deprecated; use a WSGI or 
FastCGI server instead.
  DeprecationWarning)
/usr/local/lib/python2.6/dist-packages/Django-1.4.3-py2.6.egg/django/views/generic/list_detail.py:10:
 
DeprecationWarning: Function-based generic views have been deprecated; use 
class-based views instead.
  DeprecationWarning
/usr/lib/python2.6/dist-packages/mod_python/importer.py:32: 
DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
/usr/local/lib/python2.6/dist-packages/Django-1.4.3-py2.6.egg/django/core/handlers/modpython.py:131:
 
DeprecationWarning: The mod_python handler is deprecated; use a WSGI or 
FastCGI server instead.
  DeprecationWarning)
/usr/local/lib/python2.6/dist-packages/Django-1.4.3-py2.6.egg/django/views/generic/list_detail.py:10:
 
DeprecationWarning: Function-based generic views have been deprecated; use 
class-based views instead.
  DeprecationWarning
[Tue Jan 08 15:06:21 2013] [notice] caught SIGTERM, shutting down
PHP Warning:  PHP Startup: Unable to load dynamic library 
'/usr/lib/php5/20090626/pdo_sqlite.so' - 
/usr/lib/php5/20090626/pdo_sqlite.so: undefined symbol: 
php_pdo_register_driver in Unknown on line 0
PHP Warning:  Module 'mysql' already loaded in Unknown on line 0
PHP Warning:  Module 'sqlite3' already loaded in Unknown on line 0
[Tue Jan 08 15:06:22 2013] [notice] mod_python: Creating 8 session mutexes 
based on 150 max processes and 0 max threads.
[Tue Jan 08 15:06:22 2013] [notice] mod_python: using mutex_directory /tmp
[Tue Jan 08 15:06:22 2013] [notice] Apache/2.2.14 (Ubuntu) 
Phusion_Passenger/2.2.7 PHP/5.3.2-1ubuntu4.17 with Suhosin-Patch 
mod_python/3.3.1 Python/2.6.5 mod_wsgi/2.8 configured -- resuming normal 
operations
/usr/local/lib/python2.6/dist-packages/Django-1.4.3-py2.6.egg/django/core/handlers/modpython.py:131:
 
DeprecationWarning: The mod_python handler is deprecated; use a WSGI or 
FastCGI server instead.
  DeprecationWarning)
/usr/local/lib/python2.6/dist-packages/Django-1.4.3-py2.6.egg/django/views/generic/list_detail.py:10:
 
DeprecationWarning: Function-based generic views have been deprecated; use 
class-based views instead.
  DeprecationWarning
~



On Tuesday, January 8, 2013 3:03:47 PM UTC-8, David Trowbridge wrote:

 DeprecationWarnings are harmless. There's probably something else (either 
 in the apache log or the reviewboard log).


 -David


 On Tue, Jan 8, 2013 at 3:01 PM, Custom Apps sme...@customapps.injavascript:
  wrote:

 Hi,

 Today, I upgraded my review board installation to 1.7.1. By doing this, 
 My site is broken. I get internal server error. In the apache log file, I 
 see the following lines. 

  [Tue Jan 08 14:55:08 2013] [notice] Apache/2.2.14 (Ubuntu) 
 Phusion_Passenger/2.2.7 PHP/5.3.2-1ubuntu4.17 with Suhosin-Patch 
 mod_python/3.3.1 Python/2.6.5 mod_wsgi/2.8 configured -- resuming normal 
 operations
 [Tue Jan 08 22:55:17 2013] [error] 
 /usr/lib/python2.6/dist-packages/mod_python/importer.py:32: 
 DeprecationWarning: the md5 module is deprecated; use hashlib instead
 [Tue Jan 08 22:55:17 2013] [error]   import md5
 [Tue Jan 08 22:55:19 2013] [error] 
 /usr/lib/python2.6/dist-packages/mod_python/importer.py:32: 
 DeprecationWarning: the md5 module is deprecated; use hashlib instead
 [Tue Jan 08 22:55:19 2013] [error]   import md5

 My apache config is 

 VirtualHost *:80
 ServerName review.board
 DocumentRoot /var/www/review.board/htdocs

 # Error handlers
 ErrorDocument 500 /errordocs/500.html

 WSGIPassAuthorization On
 WSGIScriptAlias / /var/www/review.board/htdocs/reviewboard.wsgi/
 # Serve django pages
 Location /
 PythonPath ['/var/www/review.board/conf'] + sys.path
 SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
 SetEnv PYTHON_EGG_CACHE /var/www/review.board/tmp/egg_cache
 SetEnv HOME /var/www/review.board/data
 

Re: Recent upgrade to 1.7.1 broke my site.

2013-01-08 Thread Custom Apps
OK. My bad. Somehow I upgraded the wrong site. So the database was not 
upgraded and the error was coming of missing db tables. Doing rb-site 
upgrade for the correct host fixed this. 

Sorry for this. 

Thanks



On Tuesday, January 8, 2013 3:03:47 PM UTC-8, David Trowbridge wrote:

 DeprecationWarnings are harmless. There's probably something else (either 
 in the apache log or the reviewboard log).


 -David


 On Tue, Jan 8, 2013 at 3:01 PM, Custom Apps sme...@customapps.injavascript:
  wrote:

 Hi,

 Today, I upgraded my review board installation to 1.7.1. By doing this, 
 My site is broken. I get internal server error. In the apache log file, I 
 see the following lines. 

  [Tue Jan 08 14:55:08 2013] [notice] Apache/2.2.14 (Ubuntu) 
 Phusion_Passenger/2.2.7 PHP/5.3.2-1ubuntu4.17 with Suhosin-Patch 
 mod_python/3.3.1 Python/2.6.5 mod_wsgi/2.8 configured -- resuming normal 
 operations
 [Tue Jan 08 22:55:17 2013] [error] 
 /usr/lib/python2.6/dist-packages/mod_python/importer.py:32: 
 DeprecationWarning: the md5 module is deprecated; use hashlib instead
 [Tue Jan 08 22:55:17 2013] [error]   import md5
 [Tue Jan 08 22:55:19 2013] [error] 
 /usr/lib/python2.6/dist-packages/mod_python/importer.py:32: 
 DeprecationWarning: the md5 module is deprecated; use hashlib instead
 [Tue Jan 08 22:55:19 2013] [error]   import md5

 My apache config is 

 VirtualHost *:80
 ServerName review.board
 DocumentRoot /var/www/review.board/htdocs

 # Error handlers
 ErrorDocument 500 /errordocs/500.html

 WSGIPassAuthorization On
 WSGIScriptAlias / /var/www/review.board/htdocs/reviewboard.wsgi/
 # Serve django pages
 Location /
 PythonPath ['/var/www/review.board/conf'] + sys.path
 SetEnv DJANGO_SETTINGS_MODULE reviewboard.settings
 SetEnv PYTHON_EGG_CACHE /var/www/review.board/tmp/egg_cache
 SetEnv HOME /var/www/review.board/data
 SetHandler mod_python
 PythonHandler django.core.handlers.modpython
 PythonAutoReload Off
 #PythonDebug Off
 PythonDebug On
 # Used to run multiple mod_python sites in the same apache
 PythonInterpreter reviewboard_crs_aaryanapps_net
 /Location

 # Serve static media without running it through mod_python
 # (overrides the above)
 Location /media
 SetHandler None
 /Location
 Location /errordocs
 SetHandler None
 /Location
 Location /static
 SetHandler None
 /Location

 Directory /var/www/review.board/htdocs
 AllowOverride All
 /Directory

 # Alias static media requests to filesystem
 Alias /media /var/www/review.board/htdocs/media
 Alias /errordocs /var/www/review.board/htdocs/errordocs
 Alias /static /var/www/review.board/htdocs/static
 /VirtualHost


 Not sure what else to look for and where. 

 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...@googlegroups.com javascript:
 For more options, visit this group at 
 http://groups.google.com/group/reviewboard?hl=en
  
  




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