12

Installing trac

Posted March 23rd, 2005. Filed under Uncategorized

trac has to have one of the hardest OpenSource installations I’ve ever come across. I mean all those Python modules, dependencies with SQLite, SubVersion etc. etc.

Tried to get pysqlite to compile with SQLite, lots of errors everywhere. I then finally got it working (apparently you need pysqlite from CVS), but now trac-admin is complaining about not being able to find libsqlite.so.0

Still trying to get the thing to work, it’s so painful (but should be worth it)

Why can’t it just be simple, and PHP?

If you have enjoyed this entry. Please feel free to bookmark it using your favorite social bookmarking site

12 Responses so far

  1. Are you installing/evaluating it for s9y development or something else?

  2. Tom Sommer says:

    I was planning on using it at work, but also test it for Serendipity.

  3. alberto says:

    I use cvstrac (cvstrac.org), it’s pretty lightweight and easy to install. It works with sqlite and has a complete wiki-bug_tracking-cvs_browsing integration.

    bye, alberto.

  4. Tom Sommer says:

    Sorry, but that’s just a little too ugly :)

  5. dinesh says:

    At last! I thought perhaps I was just rather stupid but you’ve confirmed my experience with Trac; the dependencies are insane. I’m new to open source and I have to say the experience has been poor (maybe Trac wasn’t the best thing to start with). The only reason I persevere with it is that Trac looks ideal for my need. For open source to be attractive to the average home user the whole installtion of apps MUST be made as easy as for commercial apps on MS and Apple. Sorry but rpm, dpkg, apt yast just don’t cut it for home users (and me!) who need stuff to ‘just work’.

    Another solution might be to use a hosted Trac service like wush.net (personally, I want more control over the environment)

  6. YESYES says:

    YES! If anyone finds a hosted solution that will allow a TRAC install, I will immediately become their best customer. I have a BUNCH of clients that would love to use a system like TRAC, but it has to be possible to install it on a shared server at say $5-$10 a month. Something like Dreamhost. Is that so much to ask?!?

  7. Chandra says:

    I have to agree Installing TRAC was painful. I have heard railplayground.com now supports Trac in one of their plans. I was able to get it setup under my home directory in my current shared hosting plan . I wrote things down so people can benefit :

    http://chandraonline.net/blog/?p=17

  8. Gizmola says:

    Recently I set up Trac with subversion for a project I’m working on in Scale. At least with Gentoo, it wasn’t too bad, since emerge did a lot of the work for me. It also made decisions that I might not have made if I was going to be setting it up myself — it’s hard to tell. One thing I have to say: it certainly isn’t fast. I’m using it on a shared server, and it’s slow as molasses, even using mod_python. But it does work as advertised, and I’ve fallen in love with its built in wiki.

    One of the bewildering parts is that there are just so many security options. I settled for KISS… i have a user/password file created using htpasswd2 which I’ve configured to be shared both by the subversion/webdav install, and Trac.

    One major issue, is that there is no way with the wiki to have a secured page. Apparently you can use a Trac plugin, but I’d exhaused my available screw around time, and had to leave that off the list.

    The other thing that’s annoying is that with subversion, if you have keyword expansions like $id$ in your source files, svn works very differently from cvs in that these expansions don’t actually change the source file, so it becomes the responsibility of the client to handle the expansion (or that’s my take on it.) From what I’ve seen, Trac doesn’t handle that either, so while the repository browsing is really nice, you don’t get the expansions, and just see the $id$ in the source, rather than seeing the user/last modified etc. that you would expect if you were using cvs.

  9. Dieter says:

    I don’t know if you’re still looking for a shared host that will allow a Trac install, but you might want to check out dreamhost (http://www.dreamhost.com/r.cgi?54891), I know that they allow Trac installs. I’m a HUGE dh fan, and have been a happy customer for a long time.

    I found some recent dh-specific install instructions over at http://e.cactuswax.net/articles/2006/07/04/installing-trac-on-dreamhost incidentally. Good luck!

    -d.

  10. Bernard says:

    I been working with trac 0.10.2 for two weeks but i really can’t make it work.. i have a trac 0.8 and it was running very well but i need to have the benefits of webadmin console thats why i want to upgrade into higher one.. im getting tired of this error:
    Creating and Initializing Project
    Failed to create environment. global name ’sqlite’ is not defined
    Traceback (most recent call last):
    File “/usr/local/lib/python2.3/site-packages/trac/scripts/admin.py”, line 613, in do_initenv
    options=options)
    File “/usr/local/lib/python2.3/site-packages/trac/env.py”, line 124, in __init__
    self.create(options)
    File “/usr/local/lib/python2.3/site-packages/trac/env.py”, line 229, in create
    DatabaseManager(self).init_db()
    File “/usr/local/lib/python2.3/site-packages/trac/db/api.py”, line 69, in init_db
    connector.init_db(**args)
    File “/usr/local/lib/python2.3/site-packages/trac/db/sqlite_backend.py”, line 121, in init_db
    cnx = sqlite.connect(path, timeout=int(params.get(‘timeout’, 10000)))
    NameError: global name ’sqlite’ is not defined
    Failed to initialize environment. 1
    Traceback (most recent call last):
    File “/usr/local/lib/python2.3/site-packages/trac/scripts/admin.py”, line 617, in do_initenv
    sys.exit(1)
    can anyone knows why? i already installed Python2.3.6, clearsilver 0.9.3, Pysqlite2.3.2, sqllite 3.3.8 and trac 0.10.2 but still nothing has happened any help pls..

    thanks,
    Bernard

  11. Robby says:

    Trac is a bitch to install. It’s a great system to use, but I refuse to invest in a system that is so gratuitously difficult to get going. The installation problems left me feeling uneasy about maintaining it or ever having to move it. I’ll stick with Mantis.

    Did you ever get it working?

  12. Tom Sommer says:

    I got it working on another server by using RPMs – Manual install just isn’t gonna work with Trac, so I gave up on that. Must admit I find it troubling that it can be so hard to install a small piece of web software.

Leave a Comment