upgrade from 1.6.11 to 2.0.2 failed - rb is taking a nap

2014-07-02 Thread c mu
Hi,
i'm trying to upgrade mein RB. I followed the instructions and there was no 
error (easy_install -U ReviewBoard, rb-site upgrade..)

but if I try to open the website, I get the following:

MOD_PYTHON ERROR

ProcessId:  2977
Interpreter:'reviewboard_review-board'

ServerName: 'reviewboard.xx.de'
DocumentRoot:   '/clients01/review-board/htdocs'

URI:'/dashboard/'
Location:   '/'
Directory:  None
Filename:   '/clients01/review-board/htdocs/dashboard'
PathInfo:   '/'

Phase:  'PythonHandler'
Handler:'django.core.handlers.modpython'

Traceback (most recent call last):

  File /usr/lib/python2.7/dist-packages/mod_python/importer.py, line 1537, in 
HandlerDispatch
default=default_handler, arg=req, silent=hlist.silent)

  File /usr/lib/python2.7/dist-packages/mod_python/importer.py, line 1202, in 
_process_target
module = import_module(module_name, path=path)

  File /usr/lib/python2.7/dist-packages/mod_python/importer.py, line 304, in 
import_module
return __import__(module_name, {}, {}, ['*'])

ImportError: No module named modpython





Mod Pyhton is loaded an enabled (it worked with 1.6.11)










dpkg -l |grep python

ii  libapache2-mod-python  3.3.1-9+b3 amd64
Python-embedding module for Apache 2

ii  libpython2.6   2.6.8-1.1  amd64
Shared Python runtime library (version 2.6)

ii  libpython2.7   2.7.3-6+deb7u2 amd64
Shared Python runtime library (version 2.7)

ii  python 2.7.3-4+deb7u1 all  
interactive high-level object-oriented language (default version)

ii  python-central 0.6.17 all  
register and build utility for Python packages

ii  python-dev 2.7.3-4+deb7u1 all  
header files and a static library for Python (default)

ii  python-ldap2.4.10-1   amd64
LDAP interface module for Python

ii  python-ldaptor 0.0.43+debian1-7   all  
pure-Python library for LDAP operations

ii  python-minimal 2.7.3-4+deb7u1 all  
minimal subset of the Python language (default version)

ii  python-mysqldb 1.2.3-2amd64
Python interface to MySQL

ii  python-openssl 0.13-2+deb7u1  amd64
Python 2 wrapper around the OpenSSL library

ii  python-pam 0.4.2-13   amd64
Python interface to the PAM library

ii  python-pkg-resources   0.6.24-1   all  
Package Discovery and Resource Access using pkg_resources

ii  python-pyparsing   1.5.6+dfsg1-2  all  
Python parsing module

ii  python-serial  2.5-2.1all  
pyserial - module encapsulating access for the serial port

ii  python-setuptools  0.6.24-1   all  
Python Distutils Enhancements (setuptools compatibility)

ii  python-support 1.0.15 all  
automated rebuilding support for Python modules

ii  python-svn 1.7.5-1.1  amd64
A(nother) Python interface to Subversion

ii  python-twisted-bin 12.0.0-1   amd64
Event-based framework for internet applications

ii  python-twisted-core12.0.0-1   all  
Event-based framework for internet applications

ii  python-twisted-mail12.0.0-1   all  
SMTP, IMAP and POP protocol implementation

ii  python-twisted-names   12.0.0-1   all  
DNS protocol implementation with client and server

ii  python-twisted-web 12.0.0-1   all  
HTTP protocol implementation together with clients and servers

ii  python-zope.interface  3.6.1-3amd64
Interfaces for Python

ii  python2.6  2.6.8-1.1  amd64
Interactive high-level object-oriented language (version 2.6)

ii  python2.6-minimal  2.6.8-1.1  amd64
Minimal subset of the Python language (version 2.6)

ii  python2.7  2.7.3-6+deb7u2 amd64
Interactive high-level object-oriented language (version 2.7)

ii  python2.7-dev  2.7.3-6+deb7u2 amd64
Header files and a static library for Python (v2.7)

ii  python2.7-minimal  2.7.3-6+deb7u2 amd64
Minimal subset of the Python language (version 2.7)












dpkg -l |grep apache

ii  apache2  

Re: upgrade from 1.6.11 to 2.0.2 failed - rb is taking a nap

2014-07-02 Thread Christian Hammond
mod_python is no longer supported by Django, Apache, or us. You’ll need to move 
to mod_wsgi.

You can generate a temporary site in another directory in order to get a sample 
apache-wsgi.conf file that you can refer to when upgrading your Apache 
configuration.

Christian

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

On July 2, 2014 at 2:33:57 AM, c mu (cmu.tr...@gmail.com) wrote:

Hi,
i'm trying to upgrade mein RB. I followed the instructions and there was no 
error (easy_install -U ReviewBoard, rb-site upgrade..)

but if I try to open the website, I get the following:

MOD_PYTHON ERROR

ProcessId:  2977
Interpreter:'reviewboard_review-board'

ServerName: 'reviewboard.xx.de'
DocumentRoot:   '/clients01/review-board/htdocs'

URI:'/dashboard/'
Location:   '/'
Directory:  None
Filename:   '/clients01/review-board/htdocs/dashboard'
PathInfo:   '/'

Phase:  'PythonHandler'
Handler:'django.core.handlers.modpython'

Traceback (most recent call last):

  File /usr/lib/python2.7/dist-packages/mod_python/importer.py, line 1537, in 
HandlerDispatch
default=default_handler, arg=req, silent=hlist.silent)

  File /usr/lib/python2.7/dist-packages/mod_python/importer.py, line 1202, in 
_process_target
module = import_module(module_name, path=path)

  File /usr/lib/python2.7/dist-packages/mod_python/importer.py, line 304, in 
import_module
return __import__(module_name, {}, {}, ['*'])

ImportError: No module named modpython








Mod Pyhton is loaded an enabled (it worked with 1.6.11)











dpkg -l |grep python

ii  libapache2-mod-python  3.3.1-9+b3 amd64
Python-embedding module for Apache 2

ii  libpython2.6   2.6.8-1.1  amd64
Shared Python runtime library (version 2.6)

ii  libpython2.7   2.7.3-6+deb7u2 amd64
Shared Python runtime library (version 2.7)

ii  python 2.7.3-4+deb7u1 all  
interactive high-level object-oriented language (default version)

ii  python-central 0.6.17 all  
register and build utility for Python packages

ii  python-dev 2.7.3-4+deb7u1 all  
header files and a static library for Python (default)

ii  python-ldap2.4.10-1   amd64
LDAP interface module for Python

ii  python-ldaptor 0.0.43+debian1-7   all  
pure-Python library for LDAP operations

ii  python-minimal 2.7.3-4+deb7u1 all  
minimal subset of the Python language (default version)

ii  python-mysqldb 1.2.3-2amd64
Python interface to MySQL

ii  python-openssl 0.13-2+deb7u1  amd64
Python 2 wrapper around the OpenSSL library

ii  python-pam 0.4.2-13   amd64
Python interface to the PAM library

ii  python-pkg-resources   0.6.24-1   all  
Package Discovery and Resource Access using pkg_resources

ii  python-pyparsing   1.5.6+dfsg1-2  all  
Python parsing module

ii  python-serial  2.5-2.1all  
pyserial - module encapsulating access for the serial port

ii  python-setuptools  0.6.24-1   all  
Python Distutils Enhancements (setuptools compatibility)

ii  python-support 1.0.15 all  
automated rebuilding support for Python modules

ii  python-svn 1.7.5-1.1  amd64
A(nother) Python interface to Subversion

ii  python-twisted-bin 12.0.0-1   amd64
Event-based framework for internet applications

ii  python-twisted-core12.0.0-1   all  
Event-based framework for internet applications

ii  python-twisted-mail12.0.0-1   all  
SMTP, IMAP and POP protocol implementation

ii  python-twisted-names   12.0.0-1   all  
DNS protocol implementation with client and server

ii  python-twisted-web 12.0.0-1   all  
HTTP protocol implementation together with clients and servers

ii  python-zope.interface  3.6.1-3amd64
Interfaces for Python

ii  python2.6  2.6.8-1.1  amd64
Interactive high-level object-oriented language (version 2.6)

ii  python2.6-minimal  2.6.8-1.1  amd64
Minimal subset of the Python language (version 2.6)


Re: upgrade from 1.6.11 to 2.0.2 failed - rb is taking a nap

2014-07-02 Thread c mu
Okay, I did that. But now, I get a new error. here's my apache2 config:

VirtualHost *:80
ServerName de-rb01.domain.de
DocumentRoot /clients01/review-board/htdocs
# Error handlers
ErrorDocument 500 /errordocs/500.html
WSGIPassAuthorization On
WSGIScriptAlias / 
/clients01/review-board/htdocs/reviewboard.wsgi/

Directory /clients01/review-board/htdocs
AllowOverride All

Options -Indexes FollowSymLinks

Allow from all

/Directory


# Alias static media requests to filesystem

Alias /media /clients01/review-board/htdocs/media

Alias /errordocs /clients01/review-board/htdocs/errordocs

Alias /favicon.ico 
/clients01/review-board/htdocs/media/rbcommons/images/favicon.png

/VirtualHost



Error Message:

OperationalError at /dashboard/

no such table: extensions_registeredextension

Request Method:GETRequest URL:http://de-rb01.domain.de/dashboard/Django 
Version:1.6.5Exception Type:OperationalErrorException Value:

no such table: extensions_registeredextension

Exception 
Location:/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/db/backends/sqlite3/base.py
 
in execute, line 451Python Executable:/usr/bin/pythonPython Version:2.7.3Python 
Path:

['/clients01/review-board/conf',
 '/usr/local/lib/python2.7/dist-packages/python_memcached-1.53-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/recaptcha_client-1.0.6-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/pytz-2014.4-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/python_dateutil-1.5-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/paramiko-1.14.0-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/flup-1.0.3.dev_20110405-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/Pygments-1.6-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/ecdsa-0.11-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/pycrypto-2.6.1-py2.7-linux-x86_64.egg',
 '/usr/local/lib/python2.7/dist-packages/PIL-1.1.7-py2.7-linux-x86_64.egg',
 '/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.2-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/Whoosh-2.6.0-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/mimeparse-0.1.3-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/Markdown-2.4.1-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/docutils-0.11-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_haystack-2.1.0-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/Djblets-0.8.5-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_evolution-0.7.2-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/pillowfight-0.2-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/feedparser-5.1.3-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/django_pipeline-1.3.24-py2.7.egg',
 '/usr/local/lib/python2.7/dist-packages/futures-2.1.6-py2.7.egg',
 '/usr/lib/python2.7',
 '/usr/lib/python2.7/plat-linux2',
 '/usr/lib/python2.7/lib-tk',
 '/usr/lib/python2.7/lib-old',
 '/usr/lib/python2.7/lib-dynload',
 '/usr/local/lib/python2.7/dist-packages',
 '/usr/lib/python2.7/dist-packages',
 '/usr/lib/pymodules/python2.7']

Server time:Wed, 2 Jul 2014 14:15:00 +


Environment:

Request Method: GETRequest URL: http://de-rb01.domain.de/dashboard/
Django Version: 1.6.5Python Version: 2.7.3Installed Applications:
[u'django.contrib.admin', u'django.contrib.auth',
 u'django.contrib.contenttypes', u'django.contrib.sites',
 u'django.contrib.sessions', u'django.contrib.staticfiles', u'djblets',
 u'djblets.configforms', u'djblets.datagrid', u'djblets.extensions',
 u'djblets.feedview', u'djblets.gravatars', u'djblets.log',
 u'djblets.pipeline', u'djblets.siteconfig', u'djblets.util',
 u'djblets.webapi', u'haystack', u'pipeline', u'reviewboard',
 u'reviewboard.accounts', u'reviewboard.admin', u'reviewboard.attachments',
 u'reviewboard.changedescs', u'reviewboard.datagrids',
 u'reviewboard.diffviewer', u'reviewboard.extensions',
 u'reviewboard.hostingsvcs', u'reviewboard.notifications',
 u'reviewboard.reviews', u'reviewboard.reviews.ui', u'reviewboard.scmtools',
 u'reviewboard.site', u'reviewboard.ssh', u'reviewboard.webapi',
 u'django_evolution']Installed Middleware:
[u'django.middleware.gzip.GZipMiddleware',
 u'reviewboard.admin.middleware.InitReviewBoardMiddleware',
 u'django.middleware.clickjacking.XFrameOptionsMiddleware',
 u'django.middleware.common.CommonMiddleware',
 u'django.middleware.doc.XViewMiddleware',
 u'django.middleware.http.ConditionalGetMiddleware',
 u'django.middleware.locale.LocaleMiddleware',
 u'django.contrib.sessions.middleware.SessionMiddleware',
 u'django.contrib.auth.middleware.AuthenticationMiddleware',
 u'django.contrib.messages.middleware.MessageMiddleware',
 u'djblets.siteconfig.middleware.SettingsMiddleware',
 u'reviewboard.admin.middleware.LoadSettingsMiddleware',