Trac Environment needs to be upgraded

32 views
Skip to first unread message

.M.

unread,
May 6, 2009, 4:01:53 AM5/6/09
to Agilo for Scrum
Hi

I'm unable to add agilo to a trac env. Trac refuses to upgrade,
saying:

chief:/home/www-apps/trac/dirtgirl# trac-admin . upgrade
Database is up to date, no upgrade necessary.

There are no errors in the log, only debug alerts that lots of agilo
modules are loading and this warning

2009-05-06 08:30:24,892 Trac[__init__] WARNING: Component
<agilo.init.AgiloInit object at 0x9da25cc> requires environment
upgrade

My environment is

Trac: 0.11.3
Python: 2.4.4 (#1, Oct 22 2008, 19:49:52) [GCC 4.1.2 20061115
(prerelease) (Debian 4.1.1-21)]
setuptools: 0.6c9
SQLite: 3.5.9
pysqlite: 2.3.3
Genshi: 0.5.1
mod_python: 3.2.10
Pygments: 0.11.1
jQuery: 1.2.6

with agilo-0.7.3.3_r1417_20090313-py2.4.egg

Any advice?

Thanks
.M.

Felix Schwarz

unread,
May 6, 2009, 8:09:49 AM5/6/09
to ag...@googlegroups.com

.M. schrieb:


> I'm unable to add agilo to a trac env. Trac refuses to upgrade,
> saying:
>
> chief:/home/www-apps/trac/dirtgirl# trac-admin . upgrade
> Database is up to date, no upgrade necessary.
>
> There are no errors in the log, only debug alerts that lots of agilo
> modules are loading and this warning

The easiest explanation for that would be that you still have agilo 0.6
installed (and just randomly the old version is found from trac-admin
but not from the webserver). Can you check this?

Besides that, can you tell use what's inside of trac's system table?

fs

cybernytrix

unread,
May 6, 2009, 11:55:25 AM5/6/09
to Agilo for Scrum
I had the same problem on a clean install of 0.7.2. One thing I was
doing different was that I was using the inherit option to pull in a
global trac.ini. I solved it by making agilo.* = disabled in the
global file. After the environment is setup, the local trac.ini has
agilo.* = enabled. Then I run "trac-admin upgrade" and it works
correctly.

Hope it helps.

-Ashwin

.M.

unread,
May 7, 2009, 5:32:13 AM5/7/09
to Agilo for Scrum

> The easiest explanation for that would be that you still have agilo 0.6
> installed (and just randomly the old version is found from trac-admin
> but not from the webserver). Can you check this?

0.7.3.3 is the first version I've ever installed.

> Besides that, can you tell use what's inside of trac's system table?

sqlite> select * from system;
database_version|21
initial_database_version|21
youngest_rev|

.M.

unread,
May 7, 2009, 5:44:39 AM5/7/09
to Agilo for Scrum
Thanks for the suggestions. Still no luclck.

I can't find any global trac.ini file on my system. Have tried with
and without agilo.* = enabled

.M.

unread,
May 7, 2009, 6:10:04 AM5/7/09
to Agilo for Scrum
I built agilo from source and that did the trick.

Not sure if this is a problem with doco, code or me.

Maybe I need to file a bug report? Simply dropping the plugin in the
directory or via webadmin definitely didn't trigger anything.

.M.

cybernytrix

unread,
May 7, 2009, 11:37:49 PM5/7/09
to Agilo for Scrum
Trac does not install any global trac.ini. You can do it this way if
you will have multiple projects running on the same server and you
need dictate some common settings. Also, I installed the plugin via
"python setup.py install" - global install.

Felix Schwarz

unread,
May 15, 2009, 4:38:27 AM5/15/09
to ag...@googlegroups.com
Hi,

.M. schrieb:


> I built agilo from source and that did the trick.
>
> Not sure if this is a problem with doco, code or me.
>
> Maybe I need to file a bug report? Simply dropping the plugin in the
> directory or via webadmin definitely didn't trigger anything.

I just checked again and I was not able to reproduce the bug so filing a
bug report without a reproducible test case is not worth so much. If you
can find out more information, we'll be glad to help.

Also the downloadable egg file seems to be reasonable (besides the fact
that it contains the installation guide three times in different locations).

fs

Reply all
Reply to author
Forward
0 new messages