Trac Again

Well I finally got Trac up and running. Trac itself wasn’t so bad, there were just twenty things I had to set up before I could even get to that point. Once trac-admin stopped crashing things were a piece of cake. I’m following something similar to these instructions for managing multiple projects.

8 thoughts on “Trac Again

  1. I’m jealous. I’ve had Trac and the other half dozen dependencies sitting on my desktop for about a fortnight. Maybe I should just bite the bullet and say I’ll have them all installed and running before the week is out…

  2. The instructions (correctly) say to use “chown -R apache /var/lib/trac/project1/” for everything. I have found, that once subversion becomes an integral part of your life, having an alias to “sudo -u $HTTP_USER” makes much more sense. Remember to run svnadmin recover as root and then chown things back to $HTTP_USER, though, should the need arise.

    There’s one more thing to keep in mind – db transaction logs are important, but can get quite large and messy. svnadmin has a parameter named -list-unused-dblogs which you could xargs to a rm to reclaim space and – sometimes – speed up commits and checkouts.

  3. Be very careful. there’s a bug report at the trac site about it corrupting your SVN repository. I’ve had this 2-3 times already. Fortunately it was recoverable every time so far. But beware. See the following: bug 741 and bug 571

  4. just installed Trac on my Windows laptop. I know I know, but it was easy. There are step by step directions in the Trac Wiki on how to do the install. I already had Apache2 setup, just had to setup Python. Say what you want about Windows, but I think my setup went much easier than Matt’s.

  5. Yes, very simple…

    bash-2.05b# emerge -uDav trac

    These are the packages that I would merge, in order:

    Calculating dependencies …done!
    [blocks B ] >=net-www/apache-2* (from pkg dev-util/subversion-1.1.1-r3)
    [ebuild U ] sys-devel/gettext-0.12.1-r2 [0.12.1] -emacs +nls 0 kB
    [ebuild U ] sys-devel/bison-1.875d [1.875] -debug +nls -static 862 kB
    [ebuild U ] sys-libs/zlib-1.2.2 [1.2.1-r3] -build -debug 363 kB
    [ebuild U ] sys-libs/readline-4.3-r5 [4.3-r4] 0 kB
    [ebuild U ] sys-apps/diffutils-2.8.7 [2.8.4-r4] -debug +nls -static 1,033 kB
    [ebuild U ] dev-java/java-config-1.2.11 [1.2.10] 0 kB
    [ebuild NS ] dev-java/blackdown-jdk-1.4.2.01 -doc +mozilla 0 kB
    [ebuild U ] sys-libs/db-4.1.25_p1-r4 [4.1.25_p1-r3] -bootstrap -doc +java* -nocxx -tcltk 0 kB
    [ebuild U ] sys-apps/texinfo-4.7-r1 [4.6] -build -debug +nls -static 0 kB
    [ebuild U ] sys-apps/groff-1.19.1-r2 [1.18.1-r4] +X* -debug 0 kB
    [ebuild U ] sys-apps/man-1.5p [1.5m-r1] -debug +nls 228 kB
    [ebuild U ] sys-libs/gdbm-1.8.3-r1 [1.8.0-r5] +berkdb -debug 0 kB
    [ebuild U ] sys-devel/libperl-5.8.5 [5.8.4-r1] +berkdb -debug +gdbm -ithreads (-uclibc) 11,651 kB
    [ebuild U ] dev-lang/perl-5.8.5-r4 [5.8.4-r1] +berkdb -debug -doc +gdbm -ithreads -perlsuid (-uclibc) 0 kB
    [ebuild U ] dev-libs/openssl-0.9.7e [0.9.7d-r1] -debug -emacs (-uclibc) 2,971 kB
    [ebuild U ] dev-libs/expat-1.95.8 [1.95.7] -test 0 kB
    [ebuild U ] app-arch/bzip2-1.0.2-r4 [1.0.2-r3] -build -debug -static 649 kB
    [ebuild U ] sys-devel/gcc-config-1.3.8-r4 [1.3.6-r1] 0 kB
    [ebuild U ] sys-devel/binutils-2.15.92.0.2-r1 [2.14.90.0.8-r1] -bootstrap* -build -debug -multitarget +nls (-uclibc) 10,824 kB
    [ebuild U ] sys-devel/gcc-3.3.5-r1 [3.3.4-r1] -bootstrap -boundschecking -build -debug +fortran* -gcj -gtk -hardened (-ip28) (-multilib) -multislot (-n32) (-n64) +nls -nocxx -objc -static (-uclibc) 23,578 kB
    [ebuild U ] sys-apps/gawk-3.1.3-r2 [3.1.3-r1] -build +nls (-uclibc) 2,029 kB
    [ebuild U ] dev-libs/libpcre-5.0 [4.5] -debug 454 kB
    [ebuild NS ] sys-devel/autoconf-2.13 0 kB
    [ebuild N ] sys-devel/autoconf-wrapper-2-r1 0 kB
    [ebuild U ] sys-devel/autoconf-2.59-r6 [2.59-r4] 0 kB
    [ebuild UD] sys-devel/automake-1.5 [1.8.5-r1] (-uclibc) 0 kB
    [ebuild NS ] sys-devel/automake-1.8.5-r3 (-uclibc) 0 kB
    [ebuild NS ] sys-devel/automake-1.6.3 (-uclibc) 0 kB
    [ebuild NS ] sys-devel/automake-1.7.9-r1 (-uclibc) 0 kB
    [ebuild NS ] sys-devel/automake-1.4_p6 (-uclibc) 0 kB
    [ebuild N ] sys-devel/automake-wrapper-1-r1 0 kB
    [ebuild NS ] sys-devel/automake-1.9.4 (-uclibc) 734 kB
    [ebuild U ] sys-libs/cracklib-2.7-r10 [2.7-r8] -debug +pam (-uclibc) 0 kB
    [ebuild U ] sys-libs/pam-0.77-r6 [0.77] +berkdb -debug -pwdb (-selinux) 112 kB
    [ebuild U ] sys-fs/e2fsprogs-1.35-r1 [1.35] -debug -diet +nls -static 0 kB
    [ebuild U ] sys-apps/util-linux-2.12i-r1 [2.12-r4] +crypt* -debug +nls +pam +perl (-selinux) -static1,933 kB
    [ebuild U ] sys-apps/baselayout-1.9.4-r6 [1.9.4-r3] -bootstrap* -build -debug -livecd (-selinux) -static (-uclibc) 0 kB
    [ebuild U ] sys-libs/glibc-2.3.4.20040808-r1 [2.3.3.20040420-r1] -build -debug -erandom -hardened (-multilib) +nls -nptl -pic -userlocales 0 kB
    [ebuild U ] dev-libs/libxml2-2.6.16 [2.6.11] -debug +ipv6* +python +readline 3,027 kB
    [ebuild N ] dev-perl/Locale-gettext-1.01-r1 3 kB
    [ebuild U ] sys-apps/help2man-1.33.1 [1.29] +nls 73 kB
    [ebuild U ] sys-apps/coreutils-5.2.1-r4 [5.2.1] -acl -build -debug +nls (-selinux) -static (-uclibc)89 kB

    Total size of downloads: 60,622 kB

    !!! Error: The above package list contains packages which cannot be installed
    !!! on the same system.

SHARE YOUR THOUGHTS