Well, I have 0.9.6 installed now. I used the .tar and python2.4.
However, When I copy the other server's db's over the net to the new
box, I get:
Trac detected an internal error:
file is encrypted or is not a database
Traceback (most recent call last):
File "trac.cgi", line 20, in ?
cgi_frontend.run()
File "/usr/lib/python2.4/site-packages/trac/web/cgi_frontend.py",
line 123, in run
env = get_environment(req, os.environ, threaded=False)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 335,
in get_environment
return _open_environment(env_path, threaded)
File "/usr/lib/python2.4/site-packages/trac/web/main.py", line 44, in
_open_environment
return open_environment(env_path)
File "/usr/lib/python2.4/site-packages/trac/env.py", line 375, in
open_environment
if env.needs_upgrade():
File "/usr/lib/python2.4/site-packages/trac/env.py", line 279, in
needs_upgrade
db = self.get_db_cnx()
File "/usr/lib/python2.4/site-packages/trac/env.py", line 137, in
get_db_cnx
return self.__cnx_pool.get_cnx()
File "/usr/lib/python2.4/site-packages/trac/db.py", line 157, in
get_cnx
cnx = self._cnx_class(**self._args)
File "/usr/lib/python2.4/site-packages/trac/db.py", line 283, in
__init__
cnx = sqlite.connect(path, timeout=timeout)
File "/usr/lib/python2.4/site-packages/sqlite/__init__.py", line 61,
in connect
return Connection(*args, **kwargs)
File "/usr/lib/python2.4/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 can get the website working on 0.9.6 if i create a new trac db:
trac-admin /var/trac/project initenv.
Then I can browse the svn source, etc.
So, I was trying to work around this by copying just the attachments,
but to no avail.
Do I need export on the old and then import the db on the new box?
-jouell
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---