Opened 17 years ago
Last modified 17 years ago
#470 closed defect
Database upgrade fails on PostgreSQL — at Version 3
| Reported by: | Owned by: | Radek Bartoň | |
|---|---|---|---|
| Priority: | normal | Component: | DiscussionPlugin |
| Severity: | blocker | Keywords: | |
| Cc: | Trac Release: | 0.9 |
Description (last modified by )
Hello. I have done the following:
- Downloaded and unzipped the plugin from it's homepage on trac-hacks file name is
discussionplugin-r967.zip - I have built the egg using
python setup.py bdist_eggand installed it witheasy_install --always-unzipoptions. - I have added the following lines to the global trac.ini:
[components] tracdiscussion.* = enabled [discussion] title = Discussion
- I have tried upgrading the environment with:
trac-admin /path/to/env upgrade --no-backup
Unfortunately, it ended up with an error:
Command failed: ERROR: column "discussion_version" does not exist
INSERT INTO system VALUES ("discussion_version", 1);
I'm using the following:
- Ubuntu 6.06 Dapper Drake
- Apache 2.0.xx
- mod_python
- Python 2.4
- Trac 0.9.5
- PostgreSQL 8.1
Thanks, Hrvoje Velic
Change History (3)
comment:1 Changed 17 years ago by
comment:2 Changed 17 years ago by
First of all, thanks for your work on this. This plugin looks like a good value add for Trac.
However, I'm also having the same type of issues with an upgrade error using PostgreSQL with the following setup
- Redhat Enterprise Linux AW4
- Apache 2.2.x
- mod_python
- Python 2.4
- Trac 0.10 dev (r3345)
- PostgreSQL 8.1
Just another data point.
Thanks, Ken Auberry
Note: See
TracTickets for help on using
tickets.



Sorry for the mess in original post. Forgot to use Wiki Formatting...
A much better formatted version follows:
1) Downloaded and unzipped the plugin from it's homepage on trac-hacks file name is: discussionplugin-r967.zip
2) I have built the egg using python setup.py bdist_egg and installed it with easy_install —always-unzip options.
3) I have added the following lines to the global trac.ini:
4) I have tried upgrading the environment with:
Unfortunately, it ended up with an error:
Command failed: ERROR: column "discussion_version" does not exist INSERT INTO system VALUES ("discussion_version", 1);I'm using the following:
Thanks,
Hrvoje Velic