As you may know I manage quite a few <ahref="http://trac.edgewall.org/">trac</a> installations. A few days ago I upgrade my server from Ubuntu "Dapper Drake" 6.06 to Ubuntu "Feisty Fawn" 7.04. This also upgrade trac 0.9.x to 0.10.3.
I was happy, since trac 0.10.3 has many improvements over 0.9.x, but there was one thing I was not so happy about. After the upgrade, I upgraded all my trac installations and everything seemed to be okay, except for the <ahref="http://trac.edgewall.org/wiki/WebAdmin">WebAdmin plugin</a>. Apparently it was not installed anymore.
What happened? After upgrading the trac package, the plugins directory was emptied. Well, just re-install the WebAdmin plugin for 0.10.x.
That was easy, next I wanted to enable the plugin for all my trac installations by adding the proper configuration to /usr/share/trac/conf/trac.ini, the global trac configuration file that is used by all trac installs.
After restarting Apache (this is needed for some reason to get trac to read the new configuration file), no admin button showed up in any of the projects.
What went wrong is that Ubuntu (or Debian?) maintainers have changed the location of the global configuration file for trac. There are three solutions to this, all of them work fine, although I recommend you use the first one.
<strong>1. Move your global configuration</strong>
The best way to tackle this problem is to move your global configuration file to the new location: /etc/trac/trac.ini
This leaves your original configuration file in tact, but it may be removed by new upgrades.
<strong>3. Change Trac</strong>
You may also change the location where trac looks for the configuration file. Open up /var/lib/python-support/python2.5/trac/siteconfig.py and change the following:</pre>