Forum: 

Howto use turnkey roundup appliance for multiple trackers

Chris's picture

Since roundup-server was deactivated in favor of Apache2, I am missing a guide to run multiple trackers with roundup appliance.

I need to run three trackers independently within the same virtual machine.

 

Is this possible in the way that it was with roundup-server?

Chris's picture

The roundup installation notes describe the way Apache can be used as server.

See:

http://roundup.sourceforge.net/docs/installation.html#installation  (in pararagraph "Apache HTTP Server with mod_python")

 

There is an example mod_python configuration. The problem is, that there is no file

/etc/apache2/mods-available/mod_python.conf

which I can edit the way descibed. If I create that file it is not used while restarting Apache2.

 

What am I missing?


Alon Swartz's picture

The roundup apache configuration file you are looking for is located here:
/etc/roundup/apache.conf
Hope that helps.
Chris's picture

Thanks Alon! That helped indeed. =)

 

You can add trackers by

roundup-admin install

Then you have to modify the config.ini within that new trackers directory to your needs.

roundup-admin initialise

chown www-data /path/to/tracker/db -R

chgrp www-data /path/to/tracker/db -R

 

Next step would then be to change the two AliasMatch lines in '/etc/roundup/apache.conf'  to:

 

AliasMatch ^/(.+)/@@file/(.*) /var/lib/roundup/$1/html/$2
AliasMatch ^/([^/]+)/(?!@@file/)(.*) /var/lib/roundup/$1/dummy.py/$2
 

Apache2 restart is required

 

Then you can access the installed trackers with base URL followed by trackername.

 

 

But I still have a problem when I want to log onto the new installed tracker via the web-interface.

It doesn't come up with an error message while entering credentials but doesn't show up username either! Instead it shows credential fields again.

 

Any ideas?


Chris's picture

Solution for not being able to log in was that I set up two trackers with same prefix in path and did not set web-variable properly in the trackers' config.ini.


Chris's picture

Adding this line to /etc/roundup/apache.conf won't hurt either, according to the roundup installation notes:

 

# roundup requires a slash after tracker name - add it if missing
RedirectMatch permanent ^/([^/]+)$ /$1/

Guest's picture

I'm trying to install roundup on a LAMP server.  Chances are I made a mistake along the way, there is no /etc/roundup/apache.conf file.  I'm doing the section in the documentation for Apache HTTP Server with mod_python.  I edited the /etc/apache2/envvars file and added

LD_PRELOAD=/usr/lib/libpthread.so

export LD_PRELOAD

Now, I'm at a loss on how to set up the trackers.  Any help would be greatly appreciated!

Thanks,

John

Chris's picture

Are you using a turnkey LAMP Appliance as base?

 

Which documentation are you referring to by "section in the documentation for Apache HTTP Server with mod_python" (+ link)?


Guest's picture

No, I am not.  I Googled my problem, and this site was my best hit.  I'm new to the UNIX world, and am not aware of what turnkey does.  I'll need to do another Google.

The doc I'm referring to is from the roundup site.

Thanks,

John

Chris's picture

To find a file named "apache.conf" within your linux type this

 

sudo find / | grep apache.conf

(root-Password needs to be entered thereafter)

 

If you know any word (e.g. "hello") within a file to be found you can search like this:

grep -rsniH hello /


Post new comment