Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

Upgrade Trac from 0.8.1 to 0.11

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


agorman at firstbest

May 5, 2008, 2:15 PM

Post #1 of 6 (184 views)
Permalink
Upgrade Trac from 0.8.1 to 0.11

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[at]googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


Trac-Mail at RevRagnarok

May 5, 2008, 2:32 PM

Post #2 of 6 (174 views)
Permalink
Re: Upgrade Trac from 0.8.1 to 0.11 [In reply to]

On Mon, May 5, 2008 at 5:15 PM, Art Gorman <agorman[at]firstbest.com> wrote:

>
> Traceback (most recent call last):
>


> DatabaseError: file is encrypted or is not a database
>

http://trac.edgewall.org/search?q=%22file+is+encrypted+or+is+not+a+database%22

--~--~---------~--~----~------------~-------~--~----~
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[at]googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


chris.mulligan at gmail

May 5, 2008, 2:33 PM

Post #3 of 6 (174 views)
Permalink
Re: Upgrade Trac from 0.8.1 to 0.11 [In reply to]

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 <agorman[at]firstbest.com> 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[at]googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


pacopablo at pacopablo

May 5, 2008, 2:46 PM

Post #4 of 6 (174 views)
Permalink
Re: Upgrade Trac from 0.8.1 to 0.11 [In reply to]

Chris Mulligan wrote:
> I don't believe upgrades from 0.8 directly to 0.11 is supported. I

<snip>

> Perhaps someone with more knowledge can comment.

Other than being way out of date, I am unaware of any reason why one
wouldn't be able to upgrade from 0.8 to 0.11

The problem he is having is that he's not using the same version of
SQLite on the new server as he was on the old server.

-John

P.S. OP: please don't start new threads from replies to existing
threads. It really sucks for those that use threaded mail clients and
will surely cause many people to miss the email together.

--~--~---------~--~----~------------~-------~--~----~
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[at]googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


agorman at firstbest

May 9, 2008, 6:54 AM

Post #5 of 6 (156 views)
Permalink
Re: Upgrade Trac from 0.8.1 to 0.11 [In reply to]

I was able to get by the sqlite issue. Thanks for the help. I did the
trac-admin upgrade and resync for svn now when I view my project, the main Wiki page is incorrect. It's viewed like;

Logo

. Logout
. Settings
. Help/Guide
. About Trac


. Wiki
. Timeline
. Roadmap



Rather than
------------------------------------------------------------------------

Logo

Logout Preferences Help/Guide
------------------------------------------------------------------------
| |Wiki|Timeline|Roadmap|Browse|
------------------------------------------------------------------------

Any suggestions?


Thanks again.

--Art Gorman




-----Original Message-----
From: trac-users[at]googlegroups.com [mailto:trac-users[at]googlegroups.com] On Behalf Of John Hampton
Sent: Monday, May 05, 2008 5:46 PM
To: trac-users[at]googlegroups.com
Subject: [Trac] Re: Upgrade Trac from 0.8.1 to 0.11


Chris Mulligan wrote:
> I don't believe upgrades from 0.8 directly to 0.11 is supported. I

<snip>

> Perhaps someone with more knowledge can comment.

Other than being way out of date, I am unaware of any reason why one
wouldn't be able to upgrade from 0.8 to 0.11

The problem he is having is that he's not using the same version of
SQLite on the new server as he was on the old server.

-John

P.S. OP: please don't start new threads from replies to existing
threads. It really sucks for those that use threaded mail clients and
will surely cause many people to miss the email together.



--~--~---------~--~----~------------~-------~--~----~
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[at]googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---


manu.blot at gmail

May 9, 2008, 7:00 AM

Post #6 of 6 (157 views)
Permalink
Re: Upgrade Trac from 0.8.1 to 0.11 [In reply to]

> I was able to get by the sqlite issue. Thanks for the help. I did the
> trac-admin upgrade and resync for svn now when I view my project, the main Wiki page is incorrect. It's viewed like;

...

It usually means the Trac CSS files cannot be served to the web
browser, in other words that the generated URL for CSS files is wrong
/ does not match the web server configuration.
It is likely you have a configuration issue (htdoc_location in
trac.ini, for example)

HTH
Manu

--~--~---------~--~----~------------~-------~--~----~
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[at]googlegroups.com
To unsubscribe from this group, send email to trac-users-unsubscribe[at]googlegroups.com
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact lists@gossamer-threads.com
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.