trac installation on Suse

35 views
Skip to first unread message

Cinthia Nelson

unread,
Jul 2, 2009, 12:31:50 PM7/2/09
to Trac Users
I am still trying to get Trac up and running after hours at my job. My
boss first asked me to use Windows but that turned into a nightmare so
he agreed to let me use Suse Linux since one of our other offices is
using that platform.

I first made sure I had subversion 1.6.2 set up on the Linux box
first. That was very straightforward. On the client side the users
choose whatever tool they want for the client platform.

I am using python2.6 with no problems. I installed the sqlite3
database. I am not sure the pysqlite drivers are installed because I
cannot find them.

As it turns out Suse has a package for Trac 0.11.4. I gave that a
try.

Just to test I can run the tracd and one of the test projects shows up
but I cannot set up any users. I downloaded the account manager
plugin but I still do not seem to be able to configure any users. The
reference file I found for Suse Trac says use rctrac to invoke the
daemon?? We are using svnserve not apache.

I am just wondering if I should uninstall the Suse Trac and just
install the Trac packages and their dependents manually.

Cindy

Nelson, Cynthia L.

unread,
Jul 2, 2009, 4:46:18 PM7/2/09
to trac-...@googlegroups.com
My apologies. It actually does not appear to be a problem with Trac nor svn. I am able to make tickets and they are stored correctly when I am just an anonymous user. However, I cannot login to Trac because my authentication is not setup correctly.

It appears the sqlite3 installation is not correct. I am suspecting that I don't have the drivers for the database since I cannot find them anywhere. Suse does not appear to have a package for pysqlite.

Cindy

Roger Oberholtzer

unread,
Jul 3, 2009, 2:06:07 AM7/3/09
to trac-...@googlegroups.com
On Thu, 2009-07-02 at 16:46 -0400, Nelson, Cynthia L. wrote:
> My apologies. It actually does not appear to be a problem with Trac nor svn. I am able to make tickets and they are stored correctly when I am just an anonymous user. However, I cannot login to Trac because my authentication is not setup correctly.
>
> It appears the sqlite3 installation is not correct. I am suspecting that I don't have the drivers for the database since I cannot find them anywhere. Suse does not appear to have a package for pysqlite.

I run Trac on SUSE, but I installed it by hand, as I am using trac
0.12multirepos. I think there are a couple of python packages that are
not provided by SUSE. Odd about the missing pysql if there is a trac
rpm. I think you should report a bug on suse's bugzilla. That wat it
will get fixed.

I can say that it runs flawlessly on openSUSE 11.0, where mine is
hosted. I use apache as the server and for authentication. I would be
very interested to hear how you set up authentication. My SUSE machine
has joined the local MS Active Domain. I am planning on trying to get
the authentication against that via apache working when I have some free
time :)


Paul Malmsten

unread,
Jul 2, 2009, 5:03:52 PM7/2/09
to trac-...@googlegroups.com
Cindy,

Hm. Since you mentioned that data can be stored by the anonymous user, then it sounds like the database is functioning fine. Trac uses sqlite for tickets and other data, but it does not directly use it for authentication.

Take a look at this page for instructions on how to set up authentication (it assumes that you are using apache): http://trac.edgewall.org/wiki/TracAuthenticationIntroduction

~Paul Malmsten

Nelson, Cynthia L.

unread,
Jul 6, 2009, 9:44:30 AM7/6/09
to trac-...@googlegroups.com
Thanks for the info Paul and Roger,
 
I tested sqlite this morning from a command line and it appears to be working correctly.  I think I need to focus on the authentication for Trac.  I think I need to read the docs again.
 
Cindy


From: trac-...@googlegroups.com [mailto:trac-...@googlegroups.com] On Behalf Of Paul Malmsten
Sent: Thursday, July 02, 2009 5:04 PM
To: trac-...@googlegroups.com
Subject: [Trac] Re: trac installation on Suse

Nelson, Cynthia L.

unread,
Jul 6, 2009, 3:41:50 PM7/6/09
to trac-...@googlegroups.com
Hi Paul,
 
Another question. I spoke with one of the guys in our other office where they have been using Trac for quite some time. It turns out they are using the daemon tracd for everything.  They do not use apache at all. Also it turns out they are using Postgres and not Sqlite. It seems that the users are authenticated against a users table in Postgres.  I could probably do the same thing in Sqlite but I suppose I should try to stay complient with our other locations so I will use Postgres.
 
Now I am point of deciding between IDENT or md5 in the config file for Postgres. I saw a few tickets from a while back regarding a fix that was done to support IDENT.
 
Anyway I was really fishing at the end of last week since everybody seemed to be on vacation but me.  I appreciate your help.
 
Thanks for your time.
 
Cindy


From: trac-...@googlegroups.com [mailto:trac-...@googlegroups.com] On Behalf Of Paul Malmsten
Sent: Thursday, July 02, 2009 5:04 PM
To: trac-...@googlegroups.com
Subject: [Trac] Re: trac installation on Suse

Paul Malmsten

unread,
Jul 6, 2009, 10:16:14 PM7/6/09
to trac-...@googlegroups.com
Cindy,

That's interesting that they're using a database for authentication; Trac doesn't seem to support it natively, so I imagine your coworkers are using a plugin alongside tracd and PostgreSQL.

As for your question, I unfortunately don't have any experience with configuring PostgreSQL, so I can't really help you decide between IDENT and md5. Experimenting with PostgreSQL is still on my list of projects for this summer.

Good luck,
~Paul Malmsten

Nelson, Cynthia L.

unread,
Jul 7, 2009, 10:38:59 AM7/7/09
to trac-...@googlegroups.com
Hi Paul,
 
I am going to contact my coworkers today. I will share any information I get with you since it is on your "to do" list. Unfortunately the one person who did most of the Trac installation is out of the country this week.
 
Cindy


From: trac-...@googlegroups.com [mailto:trac-...@googlegroups.com] On Behalf Of Paul Malmsten
Sent: Monday, July 06, 2009 10:16 PM

Anu Ramachandra

unread,
Jul 7, 2009, 2:20:51 PM7/7/09
to trac-...@googlegroups.com

Hello,

 

I just set up trac and subversion on our new server and we are checking out the features.

 

Is it possible to do the following –

 

When you do a code svn check-in, can it close a Trac bug automatically?

In Trac, when we view a bug, can we see the source code changes related to the bug?

 

 

Thanks,

Anu

 

Иван Бессарабов

unread,
Jul 7, 2009, 2:52:15 PM7/7/09
to trac-...@googlegroups.com
It it possible to close ticket automaticly on svn commit. You should
write something like "Fixing bug with small letters. Closes #124." in
svn comment and the ticket #124 will be closed. It can be done with
http://trac.edgewall.org/browser/trunk/contrib/trac-post-commit-hook

It is also possible to place into ticket comment the links to the
changesets: r1, [1] or changeset:1
Or you can write r1:10 to place link to svn commits. This feature is
working out of the box.


2009/7/7 Anu Ramachandra <a...@molecularimprints.com>
--
bessarabov

Emmanuel Blot

unread,
Jul 7, 2009, 2:52:23 PM7/7/09
to trac-...@googlegroups.com
> When you do a code svn check-in, can it close a Trac bug automatically?
> In Trac, when we view a bug, can we see the source code changes related to
> the bug?

Yes, with the help of the trac hook scripts for SVN (see /contrib
directory and many threads about these features in the ML archive).

Reply all
Reply to author
Forward
0 new messages