Hi.

I am Migrating Trac to a new box (Linux to Linux). I no little about
trac, really.

Everything works well (I can login and browse source ) except when I
copied /var/trac/<project> from the old srv to the new one (to "import"
the existing settings and tickets, I get:

Oops...

Trac detected an internal error:

file is encrypted or is not a database
Traceback (most recent call last):
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 531, in
cgi_start
    real_cgi_start()
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 513, in
real_cgi_start
    env = open_environment()
  File "/usr/lib/python2.3/site-packages/trac/core.py", line 190, in
open_environment
    version = env.get_version()
  File "/usr/lib/python2.3/site-packages/trac/Environment.py", line
160, in get_version
    cnx = self.get_db_cnx()
  File "/usr/lib/python2.3/site-packages/trac/Environment.py", line 88,
in get_db_cnx
    timeout=10000)
  File "/usr/lib/python2.3/site-packages/sqlite/__init__.py", line 61,
in connect
    return Connection(*args, **kwargs)
  File "/usr/lib/python2.3/site-packages/sqlite/main.py", line 445, in
__init__
    self.db = _sqlite.connect(database, mode)
DatabaseError: file is encrypted or is not a database

I have seen:

http://trac-hacks.org/ticket/402

http://trac.edgewall.org/ticket/2585


but am still stuck, and unsure how to proceed.


Here are some versions:

old:

/usr/bin/sqlite3 -version
3.2.2

/usr/bin/sqlite -version
2.8.5

 trac-admin --version

Trac Admin Console 0.9


new:

 /usr/bin/sqlite3 -version
3.2.2

/usr/bin/sqlite -version
2.8.16

trac-admin --version

Trac Admin Console 0.8.1


What do I need to go to either get the new install up to 0.9?
or convert the 0.9 db to 0.8? Other Thoughts?

Thanks!
-john


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

Reply via email to