This forum is no longer active. Please post your questions to our new community site

Forums Trac

database problem after adding new project

Subscribe to database problem after adding new project 6 post(s), 4 voice(s)

 
Avatar mikett 7 post(s)

Hi all,
I have a problem with upgrade to the database in BitNami Trac Stack. I’m using windows xp (if this helps).

The situation looks like this:
1) I’ve installed the latest bitnami trac stack without any problems,
2) I’ve added users, some plugins (like account manager),
3) I’ve called the script setenv.bat and then used trac-admin.exe to create additional project.

So far, so good.
4) Now I’ve installed another plugin in the original project (mastertickets, to be precise),
5) now I need to update the database, so I run the usual upgrade command,
6) the original projects works fine, new features are working.

Now to the problem:
7) I want to use the new plugin in the additional project. Fortunately it’s already shown in the installed plugins list.
8) I’ve tried both ways – enabling the plugin via web interface and enabling it via trac.ini file. after this operation I get the same error as in (5) “need to upgrade the database”,
9) however when I now run trac-admin with upgrade option I get the message:
“Database is up to date, no upgrade necessary”.

But still I can’t access the project, as it needs the update!
When I disable the plugin from the additional project I can access it (but without the plugin features).

Can anyone help me?

 
Avatar victoria Administrator 134 post(s)

Hi,

Have you taken a look at the point “8.3.1 Installing Trac plugins and Python eggs” in the README file? I’m not sure this is the issue but you can try it.

Best regards,

Victoria.

 
Avatar mikett 7 post(s)

Yes, I’ve looked at this point. And sadly it seems that this is not the issue. I’m adding the eggs via web interface and they’re working fine for the project that was first updated. Only the other projects have blocked the option to update their database.

The problem does not come up when the plugin doesn’t need a database update. Meaning, installed in one project can be also activated in the other. Only the plugins that require to rebuild the database are erroneous.

Regards,
Mike

 
Avatar slueder 6 post(s)

any update on this issue, did you find a solution? I think I’m running into the same issue…
thanks,
Sue

 
Avatar mikett 7 post(s)

For anyone who encounters this problem – I did found a way of solving it.
I’ve installed the autoupdate plugin (still – I think you need to install it prior to installing any other plugin). With the auto-update everything works smoothly, so it’s fine by me.

 
Avatar Beltrán Rueda Administrator 3,714 post(s)

Thanks, this will be helpful for other users.

Forums Trac