Opened 17 years ago
Closed 17 years ago
#2437 closed defect (fixed)
trac-admin upgrade fails
Reported by: | anonymous | Owned by: | Russ Tyndall |
---|---|---|---|
Priority: | normal | Component: | TimingAndEstimationPlugin |
Severity: | normal | Keywords: | |
Cc: | tekknokrat | Trac Release: | 0.11 |
Description
When I install t&e plugin it fails to upgrade the (pg) database.
Message that appears:
trac-admin sandbox/ upgrade --no-backup Timing and Estimation needs an upgrade Upgrading Database Upgrading reports Upgrading fields Done Upgrading Upgrade done.
but no tables/columns are created.
for note: This trac environment was migrated from 0.10.4 to current 0.11dev-r6397. t&e is from trunk: r3094
I have dumped a sql log of the upgrade process here: http://pastebin.com/f11557992
Attachments (0)
Change History (6)
comment:1 Changed 17 years ago by
Cc: | tekknokrat added; anonymous removed |
---|
comment:2 Changed 17 years ago by
comment:3 Changed 17 years ago by
hm, so you think its database related? please tell me if you need some further info...
cheers
comment:4 Changed 17 years ago by
I am not actually sure why it is in the state it is in (perhaps a different setting of auto commit or something).
Try executing:
UPDATE system SET value=0 WHERE name='custom_report_manager_version'
and running the upgrade again with it recording. Currently, it sees that it isn't missing the table 'custom_report', due to the version number. With a sqllog of the first call to upgrade after executing that statement, I might be able to spot what is going wrong.
Thanks,
Russ
comment:5 Changed 17 years ago by
Sorry for the delay. I was today able to test this. The upgrade process wents fine with setting the value to 0! I see no other error messages so far...
comment:6 Changed 17 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
I am working on this. I dont run trac with postgres so it may take me a couple tries to guess what is going wrong. Hopefully though, given the log you sent I should be able to spot whats wrong.