Opened 10 years ago

Closed 9 years ago

#2437 closed defect (fixed)

Reported by: Owned by: anonymous Russ Tyndall normal TimingAndEstimationPlugin normal Gunnar Thielebein 0.11

Description

When I install t&e plugin it fails to upgrade the (pg) database.

Message that appears:

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

comment:1 Changed 10 years ago by anonymous

Cc: Gunnar Thielebein added; anonymous removed

comment:2 Changed 10 years ago by Russ Tyndall

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.

comment:3 Changed 10 years ago by anonymous

hm, so you think its database related? please tell me if you need some further info...

cheers

comment:4 Changed 10 years ago by Russ Tyndall

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 9 years ago by Gunnar Thielebein

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 9 years ago by anonymous

Resolution: → fixed new → closed

Modify Ticket

Change Properties