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

Forums Trac

Howto add a new project to bitnami trac?

Subscribe to Howto add a new project to bitnami trac? 7 post(s), 3 voice(s)

 
Avatar shapour65 4 post(s)

Hi
I installed Bitnami Trac on windows 2008 with an initial project, eveything seams ok, I followed steps in “https://bitnami.com/forums/forums/trac/topics/adding-another-project”

A new project is add to path where my first project is however it is not displayed on “Available Projects” Page. (I restarted TracAtapch servise), and more directory structure of new project is different from startup project installed on Bitnami Trac installation.

What else configuration/steps is needed to add new project when Bitnami Trac is used?

Thanks a lot

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

Hi,

I tried to reproduce this issue but I can not. Try to run the following command from the Start Menu console for Trac as Administrator user:

> trac-admin C:\test initenv

It is not necessary to restart Apache server, you should see the new project in the available project files.

 
Avatar shapour65 4 post(s)

Thanks for reply,
I did run
trac-admin C:\test initenv, then giving project name and “sqlite:db/trac.db” as database,
a new trac project was created in test directory with the following content:
Directories: “attachments, config, db, htdocs, log, plugins, templates” and files: “README, VERSION
which is a usual trac project, but no link was added to “Available Projects” page.

(Initial project has: Directories : .egg-cache initialprojec, where initialprojec containt tracs usual directories.)

Sure some thing is not doing its job properly!!?? Is there a way to add new project manualy editint config files?

Any comment?

Thanks

 
Avatar shapour65 4 post(s)

by the way, newly created trac project can be run using trad command as: “tracd —port 8002 projectdirectory” and is avaliable at “http://127.0.0.1:8002/mhrs”

 
Avatar victoria Administrator 134 post(s)

Hi,

I have just tested this in a Windows XP machine. If you go to your projects folder (default is BitNami Trac Stack projects) and create a new project inside, it appears in the “Available Projects” Page. You don’t need even restart Apache.

Please go to the Windows “Start Menu —> BitNami Trac Stack —> Use BitNami Trac Stack” and execute “trac-admin MyProject initenv”. You should be in the projects directory so you don’t need to specify a full path for the location of the new project.

Could you try it again? Just in case refresh the browser when you go to the “Available Projects” Page. If it doesn’t work, could you try opening the
“Use BitNami Trac Stack” as administrator (right click with the mouse and select run as administrator) and repeat the steps?

 
Avatar shapour65 4 post(s)

Hi,

I resolved problem, the point is that, new projects must always be created within the directory where .egg-cache is,
while installing Bitnami, an initial project is optinally created, this requires a directory for trac (say MYTRAC) and a project name (say PROJECT1), problem arises here that installer uses MYTRAC\PROJECT1 as a directory for all trac projects, however MYTRAC is where I want to be the directory for trac projects.
Then upon creating second project I give MYTRAC as project directory, and new project is created as MYTRAC\NEWPROJECT, however bitnami requires it to be in MYTRAC\PROJECT1\NEWPROJECT

Thanks alot

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

I’m glad to hear this. thanks for posting the solution.

Forums Trac