I don't believe upgrades from 0.8 directly to 0.11 is supported. I realize
it may be a pain, but I suggest upgrading in steps. You also can't just copy
the file, you need to upgrade the environment with trac-admin as discussed
below.

First, upgrade to 0.9.4 via these instructions:
http://trac.edgewall.org/wiki/0.10/TracUpgrade#From0.8.xto0.9

Then upgrade to 0.10.4 via these instructions:
http://trac.edgewall.org/wiki/0.10/TracUpgrade#From0.9.xto0.10.x

The finally run the upgrade to 0.11rc1 via these instructions:
http://trac.edgewall.org/wiki/TracUpgrade

Perhaps someone with more knowledge can comment.

On Mon, May 5, 2008 at 5:15 PM, Art Gorman <[EMAIL PROTECTED]> wrote:

>
> I'm in the process of out placing an older server and need to move trac. I
> did not install the original installation. The old server has 0.8.1 and the
> new has 0.11b I did the trac-admin hotcopy then move the data over to the
>  new server and tried to connect and got the following errors:
>
> Traceback (most recent call last):
>  File "/usr/lib/python2.5/site-packages/Trac-0.11b2
> py2.5.egg/trac/web/api.py", line 339, in send_error
>    'text/html')
>  File
> "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/web/chrome.py",
> line 673, in render_template
>    data = self.populate_data(req, data)
>  File
> "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/web/chrome.py",
> line 581, in populate_data
>    d['chrome'].update(req.chrome)
>  File
> "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/web/api.py",
> line 168, in __getattr__
>    value = self.callbacks[name](self)
>  File
> "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/web/chrome.py",
> line 452, in prepare_request
>    for category, name, text in contributor.get_navigation_items(req):
>  File
> "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/ticket/web_ui.py",
> line 133, in get_navigation_items
>    if 'TICKET_CREATE' in req.perm:
>  File
> "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/perm.py", line
> 521, in has_permission
>    return self._has_permission(action, resource)
>  File
> "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/perm.py", line
> 535, in _has_permission
>    check_permission(action, perm.username, resource, perm)
>  File
> "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/perm.py", line
> 424, in check_permission
>    perm)
>  File
> "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/perm.py", line
> 282, in check_permission
>    get_user_permissions(username)
>  File
> "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/perm.py", line
> 357, in get_user_permissions
>    for perm in self.store.get_user_permissions(username):
>  File
> "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/perm.py", line
> 175, in get_user_permissions
>    cursor.execute("SELECT username,action FROM permission")
>  File
> "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/db/util.py",
> line 51, in execute
>    return self.cursor.execute(sql)
>  File
> "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/db/sqlite_backend.py",
> line 58, in execute
>    args or [])
>  File
> "/usr/lib/python2.5/site-packages/Trac-0.11b2-py2.5.egg/trac/db/sqlite_backend.py",
> line 50, in _rollback_on_error
>    return function(self, *args, **kwargs)
> DatabaseError: file is encrypted or is not a database
>
>
> Any suggestions would be appreciated.
>
> --Art Gorman
>
> >
>

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to