Hi.
Today I upgraded SQLite, Subversion and other software
on our trac host. When I now go to http://host:8000/, I see:
Available Projects
* race: Error
(The Trac Environment needs to be upgraded. Run "trac-admin
/export/home/webservd/trac/race upgrade")
Okay, so it want's me to run the "upgrade" command. But when I do, I get an
error:
--($ ~/trac/race)-- trac-admin /export/home/webservd/trac/race upgrade
Traceback (most recent call last):
File "/export/home/webservd/.software/bin/trac-admin", line 8, in <module>
load_entry_point('Trac==0.11.1', 'console_scripts', 'trac-admin')()
File
"/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/admin/console.py",
line 1295, in run
return admin.onecmd(command)
File
"/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/admin/console.py",
line 123, in onecmd
rv = cmd.Cmd.onecmd(self, line) or 0
File "/export/home/webservd/.software/Python-2.5.2/lib/python2.5/cmd.py",
line 219, in onecmd
return func(arg)
File
"/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/admin/console.py",
line 1145, in do_upgrade
self.__env.upgrade(backup=do_backup)
File
"/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/env.py",
line 442, in upgrade
participant.upgrade_environment(db)
File "build/bdist.solaris-2.10-sun4u/egg/tractags/model.py", line 35, in
upgrade_environment
File "build/bdist.solaris-2.10-sun4u/egg/tractags/model.py", line 60, in
_upgrade_db
File
"/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/db/util.py",
line 51, in execute
return self.cursor.execute(sql)
File
"/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/db/sqlite_backend.py",
line 58, in execute
args or [])
File
"/export/home/webservd/.software/Python-2.5.2/lib/python2.5/site-packages/Trac-0.11.1-py2.5.egg/trac/db/sqlite_backend.py",
line 50, in _rollback_on_error
return function(self, *args, **kwargs)
pysqlite2.dbapi2.OperationalError: table tags already exists
(See http://pastebin.com/wQMZndnj if it's too messed up *G*)
What to do?
Alexander
--
↯ Lifestream (Twitter, Blog, …) ↣ http://alexs77.soup.io/ ↯
↯ Chat (Jabber/Google Talk) ↣ [email protected] , AIM: alexws77 ↯
--
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?hl=en.