Opened 15 years ago
Closed 15 years ago
#6832 closed defect (fixed)
Unable to upgrade trac after plugin Install
Reported by: | Owned by: | jeangui | |
---|---|---|---|
Priority: | normal | Component: | DefaultCcPlugin |
Severity: | normal | Keywords: | |
Cc: | miguel.joy@… | Trac Release: | 0.11 |
Description
I am able to successfully install the defaultcc plugin into my trac environment using easy_install, however, I get the following error after attempting to upgrade my trac environment:
Traceback (most recent call last):
File "/usr/local/bin/trac-admin", line 8, in <module>
load_entry_point('Trac==0.11.5rc1', 'console_scripts', 'trac-admin')()
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.5rc1-py2.5.egg/trac/admin/console.py", line 1314, in run
return admin.onecmd(command)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.5rc1-py2.5.egg/trac/admin/console.py", line 133, in onecmd
rv = cmd.Cmd.onecmd(self, line) or 0
File "/usr/local/lib/python2.5/cmd.py", line 219, in onecmd
return func(arg)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.5rc1-py2.5.egg/trac/admin/console.py", line 1154, in do_upgrade
self.env.upgrade(backup=do_backup)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.5rc1-py2.5.egg/trac/env.py", line 455, in upgrade
self.backup(backup_dest)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.5rc1-py2.5.egg/trac/env.py", line 423, in backup
return DatabaseManager(self).backup(dest)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.5rc1-py2.5.egg/trac/db/api.py", line 115, in backup
return connector.backup(dest)
File "/usr/local/lib/python2.5/site-packages/Trac-0.11.5rc1-py2.5.egg/trac/db/postgres_backend.py", line 137, in backup
p = Popen(args, env=environ, stderr=PIPE, close_fds=close_fds)
File "/usr/local/lib/python2.5/subprocess.py", line 594, in init
errread, errwrite)
File "/usr/local/lib/python2.5/subprocess.py", line 1097, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
My trac is running on an Linux machine using the Postgre db.
Attachments (0)
Change History (2)
comment:1 Changed 15 years ago by
Cc: | miguel.joy@… added; anonymous removed |
---|
comment:2 Changed 15 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
I fixed this myself. Trac is unable to perform a backup of a PostGreSQL db so I had to do this manually.. and then perform the trac upgrade without the backup option:
trac-admin /path/to/projenv upgrade --no-backup
After I did these steps.. the plugin seems to work fine now.