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 +0000
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',
u'djblets.extensions.middleware.ExtensionsMiddleware',
u'djblets.log.middleware.LoggingMiddleware',
u'reviewboard.accounts.middleware.TimezoneMiddleware',
u'reviewboard.admin.middleware.CheckUpdatesRequiredMiddleware',
u'reviewboard.admin.middleware.X509AuthMiddleware',
u'reviewboard.site.middleware.LocalSiteMiddleware',
u'djblets.extensions.middleware.ExtensionsMiddlewareRunner']
Traceback:File
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/core/handlers/base.py"
in get_response 88. response = middleware_method(request)File
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.2-py2.7.egg/reviewboard/admin/middleware.py"
in process_request 36. initialize()File
"/usr/local/lib/python2.7/dist-packages/ReviewBoard-2.0.2-py2.7.egg/reviewboard/__init__.py"
in initialize 115. get_extension_manager().load()File
"/usr/local/lib/python2.7/dist-packages/Djblets-0.8.5-py2.7.egg/djblets/extensions/manager.py"
in load 405. self._load_extensions(full_reload)File
"/usr/local/lib/python2.7/dist-packages/Djblets-0.8.5-py2.7.egg/djblets/extensions/manager.py"
in _load_extensions 416. for registered_ext in
RegisteredExtension.objects.all():File
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/db/models/query.py"
in __iter__ 96. self._fetch_all()File
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/db/models/query.py"
in _fetch_all 857. self._result_cache = list(self.iterator())File
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/db/models/query.py"
in iterator 220. for row in compiler.results_iter():File
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/db/models/sql/compiler.py"
in results_iter 713. for rows in self.execute_sql(MULTI):File
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/db/models/sql/compiler.py"
in execute_sql 786. cursor.execute(sql, params)File
"/usr/local/lib/python2.7/dist-packages/Djblets-0.8.5-py2.7.egg/djblets/log/middleware.py"
in execute 52. return self.cursor.execute(sql, params)File
"/usr/local/lib/python2.7/dist-packages/Django-1.6.5-py2.7.egg/django/db/backends/sqlite3/base.py"
in execute 451. return Database.Cursor.execute(self, query, params)
Exception Type: OperationalError at /dashboard/Exception Value: no such
table: extensions_registeredextension
Am Mittwoch, 2. Juli 2014 11:38:17 UTC+2 schrieb 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 - [email protected] <javascript:>
> Review Board - http://www.reviewboard.org
> Beanbag, Inc. - http://www.beanbaginc.com
>
> On July 2, 2014 at 2:33:57 AM, c mu ([email protected] <javascript:>)
> 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.xxxxxx.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-ldap 2.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-2 amd64
> 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.1 all
> 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-core 12.0.0-1 all
> Event-based framework for internet applications
> ii python-twisted-mail 12.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-3 amd64
> 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 2.2.22-13+deb7u1 amd64
> Apache HTTP Server metapackage
> ii apache2-mpm-prefork 2.2.22-13+deb7u1 amd64
> Apache HTTP Server - traditional non-threaded model
> ii apache2-utils 2.2.22-13+deb7u1 amd64
> utility programs for webservers
> ii apache2.2-bin 2.2.22-13+deb7u1 amd64
> Apache HTTP Server common binary files
> ii apache2.2-common 2.2.22-13+deb7u1 amd64
> Apache HTTP Server common files
> ii libapache2-mod-fcgid 1:2.3.6-1.2+deb7u1 amd64
> an alternative module compat with mod_fastcgi
> ii libapache2-mod-php5 5.4.4-14+deb7u11 amd64
> server-side, HTML-embedded scripting language (Apache 2 module)
> ii libapache2-mod-python 3.3.1-9+b3 amd64
> Python-embedding module for Apache 2
> ii libapache2-mod-wsgi 3.3-4+deb7u1 amd64
> Python WSGI adapter module for Apache
>
>
>
>
>
>
> Whats going wrong? I googled a several hours about mod_python error, but
> cant find the solution..
>
>
>
> --
> 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 [email protected] <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 [email protected].
For more options, visit https://groups.google.com/d/optout.