Hello,

RB was upgraded the to version 2.0.5 - in a test environment.
All dependent tools are custom installed and found no problems.

mysqlhotbackup was used to backup and restore - no problem here.
rb-site upgrade was successful.
More information is available in attached file.

What is the stable version for production upgrade - is it 1.7.27?

Post 2.0.5 upgrade:

*Working:*
  1) Most of admin interface and dashboard is working.
  2) User login is working and dashboard is visible.

*Not working:* so far my observation
  1) Old posts are invisible.
  2) Unable to post new reviews.

*DB:* MySQL version: 5.6.20
*RB *version: 2.0.5

Errors in both non working cases is same as recorded in apache error log.

*Error snip: *in spite of installing subvertpy-0.9.1 and available, still 
the below error was observed.

    [Sat Aug 16 13:03:36.499950 2014] [:error] [pid 42928:tid 
140522877335872]     'SVN integration requires either subvertpy or pysvn'))
    [Sat Aug 16 13:03:36.499955 2014] [:error] [pid 42928:tid 
140522877335872] ImportError: SVN integration requires either subvertpy or 
pysvn

Is some thing wrong with settings to use subvertpy?
Though pysvn is still supported, I wasn't able to get through the pysvn 
installation at the moment.

Please suggest the fix?

Thanks, Ravi

-- 
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 reviewboard+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
1) Tools list installed:
========================
        Python 2.7.8

        pip list
        Django (1.6.5)
        django-evolution (0.7.3)
        django-haystack (2.2.0)
        django-pipeline (1.3.25)
        Djblets (0.8.8)
        docutils (0.12)
        ecdsa (0.11)
        feedparser (5.1.3)
        futures (2.1.6)
        Markdown (2.4.1)
        mimeparse (0.1.3)
        MySQL-python (1.2.5)
        paramiko (1.14.0)
        Pillow (2.5.2)
        pillowfight (0.2)
        pip (1.5.6)
        pycrypto (2.6.1)
        Pygments (1.6)
        python-dateutil (1.5)
        python-ldap (2.4.15)
        python-memcached (1.53)
        pytz (2014.4)
        RBTools (0.6.2)
        recaptcha-client (1.0.6)
        ReviewBoard (2.0.5)
        setuptools (5.7)
        subvertpy (0.9.1)
        Whoosh (2.6.0)
        wsgiref (0.1.2)


2) Error on the screen - while posting first review:
====================================================

        <tools root>/bin/rbt post -d --server <RB site URL> --summary "My first 
test post in development RB" --branch test_branch --diff-filename ~/.diff_file 
-r 18684
        >>> RBTools 0.6.2
        >>> Python 2.7.8 (default, Aug 14 2014, 16:00:08)
        [GCC 4.1.2 20080704 (Red Hat 4.1.2-54)]
        >>> Running on Linux-2.6.18-128.el5-x86_64-with-redhat-5.3-Tikanga
        >>> Home = /home/ravi
        >>> Current directory = /home/ravi/test_branch
        >>> Checking for a Subversion repository...
        >>> Running: svn info --non-interactive
        >>> Running: diff --version
        >>> repository info: Path: <svn URL> Base path: 
/ravi/branches/test_branch, Supports changesets: False
        >>> Making HTTP GET request to <RB site URL>/api/
        >>> Making HTTP GET request to <RB site URL>/api/review-requests/18684/
        >>> Making HTTP GET request to <RB site URL>/18684/diffs/
        >>> Making HTTP POST request to <RB site URL>/18684/diffs/
        >>> Got HTTP error: 500: <!DOCTYPE html>

        <html>
         <head>
          <title>500 - Internal Server Error | Review Board</title>
         </head>
         <body>
          <h1>Something broke! (Error 500)</h1>
          <p>
           It appears something broke when you tried to go to here. This is 
either
           a bug in Review Board or a server configuration error. Please report
           this to your administrator.
          </p>
         </body>
        </title>

        Traceback (most recent call last):
          File "<tools root>/bin/rbt", line 9, in <module>
                load_entry_point('RBTools==0.6.2', 'console_scripts', 'rbt')()
          File 
"tools/lib/python2.7/site-packages/RBTools-0.6.2-py2.7.egg/rbtools/commands/main.py",
 line 134, in main
                command.run_from_argv([RB_MAIN, command_name] + args)
          File "<tools 
root>/lib/python2.7/site-packages/RBTools-0.6.2-py2.7.egg/rbtools/commands/__init__.py",
 line 416, in run_from_argv
                exit_code = self.main(*args) or 0
          File "<tools 
root>/lib/python2.7/site-packages/RBTools-0.6.2-py2.7.egg/rbtools/commands/post.py",
 line 784, in main
                submit_as=self.options.submit_as)
          File "<tools 
root>/tools/lib/python2.7/site-packages/RBTools-0.6.2-py2.7.egg/rbtools/commands/post.py",
 line 551, in post_request
                raise CommandError(u'\n'.join(error_msg))
        rbtools.commands.CommandError: Error uploading diff


        HTTP 500

        Your review request still exists, but the diff is not attached.

        http://<RB site URL>/r/18684/


3) APACHE Error log
===================

        [Sat Aug 16 12:02:31.547123 2014] [:error] [pid 39907:tid 
139653164935488] ERROR:root:Exception thrown for user ravi at 
        http://<RB site URL>/api/review-requests/18684/diffs/
        [Sat Aug 16 12:02:31.547162 2014] [:error] [pid 39907:tid 
139653164935488]
        [Sat Aug 16 12:02:31.547170 2014] [:error] [pid 39907:tid 
139653164935488] SVN integration requires either subvertpy or pysvn
        [Sat Aug 16 12:02:31.547175 2014] [:error] [pid 39907:tid 
139653164935488] Traceback (most recent call last):
        [Sat Aug 16 12:02:31.547180 2014] [:error] [pid 39907:tid 
139653164935488]   File 
"/home/trsronly/rb2x-dev/tools/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/core/handlers/base.py",
 line 112, in get_response
        [Sat Aug 16 12:02:31.547186 2014] [:error] [pid 39907:tid 
139653164935488]     response = wrapped_callback(request, *callback_args, 
**callback_kwargs)
        [Sat Aug 16 12:02:31.547191 2014] [:error] [pid 39907:tid 
139653164935488]   File 
"/home/trsronly/rb2x-dev/tools/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/views/decorators/cache.py",
 line 52, in _wrapped_view_func
        [Sat Aug 16 12:02:31.547197 2014] [:error] [pid 39907:tid 
139653164935488]     response = view_func(request, *args, **kwargs)
        [Sat Aug 16 12:02:31.547201 2014] [:error] [pid 39907:tid 
139653164935488]   File 
"/home/trsronly/rb2x-dev/tools/lib/python2.7/site-packages/Django-1.6.5-py2.7.egg/django/views/decorators/vary.py",
 line 19, in inner_func
        [Sat Aug 16 12:02:31.547206 2014] [:error] [pid 39907:tid 
139653164935488]     response = func(*args, **kwargs)
        [Sat Aug 16 12:02:31.547211 2014] [:error] [pid 39907:tid 
139653164935488]   File 
"/home/trsronly/rb2x-dev/tools/lib/python2.7/site-packages/Djblets-0.8.8-py2.7.egg/djblets/webapi/resources.py",
 line 494, in __call__
        [Sat Aug 16 12:02:31.547216 2014] [:error] [pid 39907:tid 
139653164935488]     request, method, view, api_format=api_format, *args, 
**kwargs)
        [Sat Aug 16 12:02:31.547221 2014] [:error] [pid 39907:tid 
139653164935488]   File 
"/home/trsronly/rb2x-dev/tools/lib/python2.7/site-packages/Djblets-0.8.8-py2.7.egg/djblets/webapi/resources.py",
 line 565, in call_method_view
        [Sat Aug 16 12:02:31.547226 2014] [:error] [pid 39907:tid 
139653164935488]     return view(request, *args, **kwargs)
        [Sat Aug 16 12:02:31.547231 2014] [:error] [pid 39907:tid 
139653164935488]   File 
"/home/trsronly/rb2x-dev/tools/lib/python2.7/site-packages/Djblets-0.8.8-py2.7.egg/djblets/webapi/resources.py",
 line 747, in post
        [Sat Aug 16 12:02:31.547236 2014] [:error] [pid 39907:tid 
139653164935488]     return self.create(*args, **kwargs)
        [Sat Aug 16 12:02:31.547247 2014] [:error] [pid 39907:tid 
139653164935488]   File 
"/home/trsronly/rb2x-dev/tools/lib/python2.7/site-packages/Djblets-0.8.8-py2.7.egg/djblets/webapi/decorators.py",
 line 117, in _call
        [Sat Aug 16 12:02:31.547253 2014] [:error] [pid 39907:tid 
139653164935488]     return view_func(*args, **kwargs)
        [Sat Aug 16 12:02:31.547258 2014] [:error] [pid 39907:tid 
139653164935488]   File 
"/home/trsronly/rb2x-dev/tools/lib/python2.7/site-packages/Djblets-0.8.8-py2.7.egg/djblets/webapi/decorators.py",
 line 138, in _checklogin
        [Sat Aug 16 12:02:31.547263 2014] [:error] [pid 39907:tid 
139653164935488]     return view_func(*args, **kwargs)
        [Sat Aug 16 12:02:31.547268 2014] [:error] [pid 39907:tid 
139653164935488]   File 
"/home/trsronly/rb2x-dev/tools/lib/python2.7/site-packages/Djblets-0.8.8-py2.7.egg/djblets/webapi/decorators.py",
 line 117, in _call
        [Sat Aug 16 12:02:31.547273 2014] [:error] [pid 39907:tid 
139653164935488]     return view_func(*args, **kwargs)
        [Sat Aug 16 12:02:31.547278 2014] [:error] [pid 39907:tid 
139653164935488]   File 
"/home/trsronly/rb2x-dev/tools/lib/python2.7/site-packages/ReviewBoard-2.0.5-py2.7.egg/reviewboard/webapi/decorators.py",
 line 110, in _check
        [Sat Aug 16 12:02:31.547283 2014] [:error] [pid 39907:tid 
139653164935488]     return view_func(*args, **kwargs)
        [Sat Aug 16 12:02:31.547287 2014] [:error] [pid 39907:tid 
139653164935488]   File 
"/home/trsronly/rb2x-dev/tools/lib/python2.7/site-packages/Djblets-0.8.8-py2.7.egg/djblets/webapi/decorators.py",
 line 117, in _call
        [Sat Aug 16 12:02:31.547292 2014] [:error] [pid 39907:tid 
139653164935488]     return view_func(*args, **kwargs)
        [Sat Aug 16 12:02:31.547296 2014] [:error] [pid 39907:tid 
139653164935488]   File 
"/home/trsronly/rb2x-dev/tools/lib/python2.7/site-packages/Djblets-0.8.8-py2.7.egg/djblets/webapi/decorators.py",
 line 117, in _call
        [Sat Aug 16 12:02:31.547301 2014] [:error] [pid 39907:tid 
139653164935488]     return view_func(*args, **kwargs)
        [Sat Aug 16 12:02:31.547305 2014] [:error] [pid 39907:tid 
139653164935488]   File 
"/home/trsronly/rb2x-dev/tools/lib/python2.7/site-packages/Djblets-0.8.8-py2.7.egg/djblets/webapi/decorators.py",
 line 287, in _validate
        [Sat Aug 16 12:02:31.547310 2014] [:error] [pid 39907:tid 
139653164935488]     return view_func(*args, **new_kwargs)
        [Sat Aug 16 12:02:31.547315 2014] [:error] [pid 39907:tid 
139653164935488]   File 
"/home/trsronly/rb2x-dev/tools/lib/python2.7/site-packages/ReviewBoard-2.0.5-py2.7.egg/reviewboard/webapi/resources/diff.py",
 line 283, in create
        [Sat Aug 16 12:02:31.547319 2014] [:error] [pid 39907:tid 
139653164935488]     request=request)
        [Sat Aug 16 12:02:31.547324 2014] [:error] [pid 39907:tid 
139653164935488]   File 
"/home/trsronly/rb2x-dev/tools/lib/python2.7/site-packages/ReviewBoard-2.0.5-py2.7.egg/reviewboard/reviews/forms.py",
 line 95, in __init__
        [Sat Aug 16 12:02:31.547329 2014] [:error] [pid 39907:tid 
139653164935488]     data, *args, **kwargs)
        [Sat Aug 16 12:02:31.547333 2014] [:error] [pid 39907:tid 
139653164935488]   File 
"/home/trsronly/rb2x-dev/tools/lib/python2.7/site-packages/ReviewBoard-2.0.5-py2.7.egg/reviewboard/diffviewer/forms.py",
 line 41, in __init__
        [Sat Aug 16 12:02:31.547338 2014] [:error] [pid 39907:tid 
139653164935488]     if 
self.repository.get_scmtool().get_diffs_use_absolute_paths():
        [Sat Aug 16 12:02:31.547343 2014] [:error] [pid 39907:tid 
139653164935488]   File 
"/home/trsronly/rb2x-dev/tools/lib/python2.7/site-packages/ReviewBoard-2.0.5-py2.7.egg/reviewboard/scmtools/models.py",
 line 167, in get_scmtool
        [Sat Aug 16 12:02:31.547348 2014] [:error] [pid 39907:tid 
139653164935488]     return cls(self)
        [Sat Aug 16 12:02:31.547352 2014] [:error] [pid 39907:tid 
139653164935488]   File 
"/home/trsronly/rb2x-dev/tools/lib/python2.7/site-packages/ReviewBoard-2.0.5-py2.7.egg/reviewboard/scmtools/svn/__init__.py",
 line 73, in __init__
        [Sat Aug 16 12:02:31.547357 2014] [:error] [pid 39907:tid 
139653164935488]     local_site_name)
        [Sat Aug 16 12:02:31.547361 2014] [:error] [pid 39907:tid 
139653164935488]   File 
"/home/trsronly/rb2x-dev/tools/lib/python2.7/site-packages/ReviewBoard-2.0.5-py2.7.egg/reviewboard/scmtools/svn/__init__.py",
 line 392, in build_client
        [Sat Aug 16 12:02:31.547370 2014] [:error] [pid 39907:tid 
139653164935488]     'SVN integration requires either subvertpy or pysvn'))
        [Sat Aug 16 12:02:31.547375 2014] [:error] [pid 39907:tid 
139653164935488] ImportError: SVN integration requires either subvertpy or pysvn

Reply via email to