#8788 closed defect (fixed)
T & E plugin always in need of an upgrade
Reported by: | Owned by: | Russ Tyndall | |
---|---|---|---|
Priority: | normal | Component: | TimingAndEstimationPlugin |
Severity: | normal | Keywords: | |
Cc: | Trac Release: | 0.12 |
Description
I am running Trac 0.12 on a Windows 2003 server, served up via Apache 2.2 with Python 2.7.
The issue that I am running into is I installed the T & E plugin with permissions branch the exact egg is timingandestimationplugin 1.1.3b, timingandestimationplugin-1.1.3b-py2.7.egg. The plugin downloaded and installed except for when I enable TimeTrackingSetupParticipant Then the admin tells me I am in need up of an upgrade.
I launch the command prompt, run the trac-admin upgrade, which reports that T& E is in need of an upgrade. The upgrade runs, suggest I upgrade the wiki as well which I do. I restart apache, ensuring that the trac.ini plugin hasn't had it's permissions changed, redeploy and am still told that the T & E plugin is in need of an upgrade and to run upgrade via trac-admin. When I go back to the command prompt and re-run the upgrade, the initial message sasys T& E is in need of an upgrade in the DB, it doesn't seem to matter how many times I run the upgrade, trac-admin still says it's in need of a DB upgrade, and therefore so does the web admin.
Have attached log file.
Attachments (1)
Change History (5)
Changed 14 years ago by
comment:1 Changed 14 years ago by
comment:2 Changed 14 years ago by
[10182] removed some parts of the fields upgrade check to make it more configurable 1.1.4 and 1.1.4b
comment:3 Changed 14 years ago by
Resolution: | → fixed |
---|---|
Status: | new → closed |
Apparently some of my fields were slightly off in ticket-custom field.
comment:4 Changed 14 years ago by
Thanks for updating the ticket. If you have a chance, I would be interested to know how they got "slightly off". I mostly want to verify that it is not a bug in the installer script.
Thanks, Russ
I looked at the log file you uploaded and see that the thing triggering the upgrade is this plugins custom fields do not seem to be installed.
Is there any reason that any of those fields would not be in the "ticket-custom" section of your trac.ini (such as you having intentionally removed them)? The install process puts these in place, so I cannot see why they would be missing unless some the upgrade script doesnt have permission to write to the trac.ini and it is not noticing that, or you are manually removing the fields.
Additionally I noticed that it was requiring the order of some of the fields to be specified (ie: totalhours.order must exist in the trac.ini). It also installs this ordering during the upgrade process, so this shouldn't be a problem, however, I removed this check in version 1.1.4 and 1.1.4b which will be pushed up shortly.
If you still cannot figure out how to get this to work or the upgrade to succeed, please post your trac.ini and maybe I can spot whats going wrong (dont forget to remove an database connection info and other sensitive information before you do). I dont recall these fields being installed ever being a problem in the past but there is a first time for everything
HTH & Cheers, Russ
PS your ticket-custom section should look something like: