Opened 13 years ago
Closed 8 years ago
#9532 closed defect (worksforme)
Doesn't accept successful database upgrade
Reported by: | Antti Kaihola | Owned by: | |
---|---|---|---|
Priority: | normal | Component: | TracHoursPlugin |
Severity: | normal | Keywords: | database upgrade |
Cc: | Trac Release: | 0.11 |
Description
I followed the instructions to install and enable TracHoursPlugin and its dependencies on a Trac 0.12 installation.
I ran trac-admin myenv upgrade
and it was successful.
However, when browsing to http://myserver/myenv
, I still get this message:
Error TracError: The Trac Environment needs to be upgraded. Run "trac-admin /www/trac/myenv upgrade"
I restarted trac, ran trac-admin myenv upgrade again
and got this:
Database is up to date, no upgrade necessary.
But the same error is still shown when I try to visit the site.
Any advice on how to debug this?
Attachments (1)
Change History (16)
comment:1 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
comment:5 Changed 13 years ago by
The same problem is reported in TimingAndEstimationPlugin from time to time (e.g. #9519). I wonder if it's possible that the file ownership problem (which is the actual problem) is signalled by the GUI as warning or error.
comment:6 Changed 13 years ago by
Trac:comment:17:ticket:5535 seems to indicate that a fix is on its way to Trac v0.13.
comment:7 follow-up: 8 Changed 13 years ago by
Resolution: | invalid |
---|---|
Status: | closed → reopened |
Trac Release: | 0.12 → 0.11 |
Hello, I've been having this problem too. Checked the permissions both of the .ini file and the sqlite db file and they were fine. It is something within the plugin which I built with python setup.py bdist_egg
...
If I disable TracHours and restart apache the upgrade message goes away. I'm attaching my log file in case that it can come helpful.
comment:8 follow-up: 9 Changed 12 years ago by
Replying to gustavo@42ideas.mx:
Hello, I've been having this problem too.
Could you confirm that you repeatedly run trac-admin $ENV upgrade
but the upgrade message persists?
comment:9 follow-up: 10 Changed 12 years ago by
Replying to rjollos:
Replying to gustavo@42ideas.mx:
Hello, I've been having this problem too.
Could you confirm that you repeatedly run
trac-admin $ENV upgrade
but the upgrade message persists?
Sure, I'll take some time today and let you know. Was the plugin updated?
comment:10 follow-up: 11 Changed 12 years ago by
comment:11 follow-up: 12 Changed 12 years ago by
Replying to rjollos:
Replying to grubio:
Sure, I'll take some time today and let you know. Was the plugin updated?
Yes, latest version is 0.6dev-r11981. There's also another database upgrade related issue in #10308 that I've been trying to decipher. Some comments in #8690 seem to be related to the issue you see.
What version should I try? The branch for 0.11 or the trunk? Remember I'm using 0.11.4
comment:12 follow-up: 13 Changed 12 years ago by
Replying to anonymous:
What version should I try? The branch for 0.11 or the trunk? Remember I'm using 0.11.4
You'll want to use the 0.11 branch for now. I'm working to get the trunk compatible with Trac 0.11.
Everything looks normal in your log file. Do you have the exact same symptoms as reported in comment:description? That is, does trac-admin $TRACENV upgrade
seem to have no effect and you just get repeatedly prompted to upgrade? Some more details about your configuration would also be helpful (Database, Python version, ...).
Just curious, what keeps you on 0.11.4 rather than upgrading to at least 0.11.7?
comment:13 follow-up: 14 Changed 12 years ago by
Replying to rjollos:
Replying to anonymous:
What version should I try? The branch for 0.11 or the trunk? Remember I'm using 0.11.4
You'll want to use the 0.11 branch for now. I'm working to get the trunk compatible with Trac 0.11.
Everything looks normal in your log file. Do you have the exact same symptoms as reported in comment:description? That is, does
trac-admin $TRACENV upgrade
seem to have no effect and you just get repeatedly prompted to upgrade? Some more details about your configuration would also be helpful (Database, Python version, ...).Just curious, what keeps you on 0.11.4 rather than upgrading to at least 0.11.7?
Ok, I'm gonna try on another fresh env since this one seems to be pretty messed up. The reason I'm staying in 0.11.4 is because I have those envs in a dreamhost account and they offer this "one click" no hassle installation so that's what I did, tried 0.12.x by hand but many plugins still don't work so I sticked with 0.11.x branch, did not noticed that there is a 0.11.7 update though (the one click installer don't show updates, guess I'm gonna have to update it manually)
comment:14 Changed 12 years ago by
Replying to grubio:
.. tried 0.12.x by hand but many plugins still don't work so I sticked with 0.11.x branch, did not noticed that there is a 0.11.7 update though (the one click installer don't show updates, guess I'm gonna have to update it manually)
I'd highly recommend you go with 0.12 or even 1.0. Both represent major improvements over the previous release.
What plugins aren't working for you with 0.12? My experience is that 0.12 support is pretty equivalent to 0.11 support by now, if not better. Many newer plugins only support 0.12 and greater. If a plugin has not been adapted to 0.12 by now, in most cases it is unmaintained and has numerous unfixed issues by now.
If you point me to the plugins that you are having trouble with on 0.12, I might be able to help with getting the 0.12 issues resolved. In many cases a plugin only requires an hour or two of work to get it up and running on 0.12.
comment:15 Changed 8 years ago by
Owner: | Ryan J Ollos deleted |
---|---|
Status: | reopened → new |
comment:16 Changed 8 years ago by
Resolution: | → worksforme |
---|---|
Status: | new → closed |
This was a problem in my trac.ini permissions. Sorry.