Koozali.org: home of the SME Server

[ANNOUNCE] smeserver-trac contrib

Offline Marco Hess

  • *
  • 149
  • +0/-0
    • http://www.through-ip.com
[ANNOUNCE] smeserver-trac contrib
« Reply #45 on: May 17, 2007, 04:51:20 PM »
Quote from: "hedererjs"
is the subversion repository created when creating an smeserver-trac project?


Not sure what you mean here. The subversion repository is created separately through the Subversion panel in server-manager. That should have been installed when you installed smeserver-trac. When there is no subversion repository, you will not get the option to create a trac project.

Also, you can create multiple trac projects that point to the same subversion repository or different paths within the repository.

Regards,

Marco
Adelaide - Australia

Offline hedererjs

  • *
  • 33
  • +0/-0
    • http://www.asperience.fr
[ANNOUNCE] smeserver-trac contrib
« Reply #46 on: May 17, 2007, 09:25:02 PM »
didn't sleep enough! thanks for your response.

Offline hedererjs

  • *
  • 33
  • +0/-0
    • http://www.asperience.fr
[ANNOUNCE] smeserver-trac contrib
« Reply #47 on: May 19, 2007, 02:52:17 PM »
when I go in "Settings and Session Management" under Trac, name and email are not filled. is this normal ?

Offline hedererjs

  • *
  • 33
  • +0/-0
    • http://www.asperience.fr
[ANNOUNCE] smeserver-trac contrib
« Reply #48 on: May 19, 2007, 03:09:19 PM »
what is the "backend" for this contrib: mysql or SQLite ?

=> I've found SQLite config. Did you tried configuring with MySQL?

Offline hedererjs

  • *
  • 33
  • +0/-0
    • http://www.asperience.fr
[ANNOUNCE] smeserver-trac contrib
« Reply #49 on: May 19, 2007, 04:05:20 PM »
access to bugzilla don't work today. so I put this here: I've been obliged to do a
Quote
chown www:www /home/e-smith/files/trac/asperprotect/conf/trac.ini


because I had some errors when "applying changes" to my trac project.

Offline edbneutron

  • 10
  • +0/-0
Re: [ANNOUNCE] smeserver-trac contrib
« Reply #50 on: October 31, 2007, 03:13:49 PM »
Hello,

thaks for the trac contrib!

Unfortunately i am not able to install it....
whe doing

yum  --enablerepo=through-ip install smeserver-trac

i get:

No Match for argument: smeserver-trac

So maybe the repository is not working....
Any Idea?
Thanks

Offline Marco Hess

  • *
  • 149
  • +0/-0
    • http://www.through-ip.com
Re: [ANNOUNCE] smeserver-trac contrib
« Reply #51 on: November 04, 2007, 10:01:39 AM »
yum  --enablerepo=through-ip install smeserver-trac
No Match for argument: smeserver-trac

Have you tried:

yum --enablerepo=smedev --enablerepo=through-ip install smeserver-trac

as per the instructions in the Wiki?

smeserver-trac comes from smedev. My through-ip repository only holds some auxilary rpm's to support trac.

Marco
Adelaide - Australia

Offline edbneutron

  • 10
  • +0/-0
Re: [ANNOUNCE] smeserver-trac contrib
« Reply #52 on: November 05, 2007, 09:29:31 AM »
Yeah,... It´s the same i´m afraid...

Code: [Select]
# yum --enablerepo=smedev --enablerepo=through-ip install smeserver-trac
==============================================================
WARNING: Additional commands may be required after running yum
==============================================================
Loading "fastestmirror" plugin
Loading "smeserver" plugin
Setting up Install Process
Setting up repositories
through-ip                100% |=========================|  951 B    00:00     
smedev                    100% |=========================|  951 B    00:00     
smeaddons                 100% |=========================|  951 B    00:00     
updates                   100% |=========================|  951 B    00:00     
base                      100% |=========================| 1.1 kB    00:00     
smeos                     100% |=========================|  951 B    00:00     
smeupdates                100% |=========================|  951 B    00:00     
Loading mirror speeds from cached hostfile
Reading repository metadata in from local files
primary.xml.gz            100% |=========================|  21 kB    00:00     
sqlite cache needs updating, reading in metadata
smedev    : ################################################## 99/99
Excluding Packages from CentOS - updates
Finished
Excluding Packages from CentOS - os
Finished
Parsing package install arguments
No Match for argument: smeserver-trac
Nothing to do
==============

regards

seven3

Re: [ANNOUNCE] smeserver-trac contrib
« Reply #53 on: November 10, 2007, 12:57:47 PM »
Hi i'm sorry have someone find a mirror for this pack??

Offline edbneutron

  • 10
  • +0/-0
Re: [ANNOUNCE] smeserver-trac contrib
« Reply #54 on: November 26, 2007, 11:37:44 AM »
Helo,
today i was able to download/install it! :D

On the contribs wiki if ound the the following command:
Code: [Select]
expand-template /etc/yum.conf
yum --enablerepo=snetram --enablerepo=through-ip install smeserver-trac
The Repo snetram seems to be new. You can configure it by using:

Code: [Select]
/sbin/e-smith/db yum_repositories set snetram repository \
BaseURL http://www.snetram.nl/yum/ \
MirrorList http://mirror.contribs.org/smeserver/contribs/jmartens/mirrorlist \
EnableGroups no \
GPGCheck no \
Name repository@snetram.nl \
Visible yes \
status disabled

Regards!

Offline timb

  • **
  • 41
  • +0/-0
    • http://www.tbitc.com
Recent yum update seems to have broken my trac
« Reply #55 on: December 04, 2007, 07:12:00 AM »
Hi,
I was using the trac contrib quite a bit until it broke a few days ago.

A bunch of updates were waiting for my server and I installed them, in there was the new trac-10-4? update. From that moment on my trac installation has died. Fortunately I had backed up the /home/e-smith/files/trac directory prior to the update.

I need access to my trac's immediately so that I can do some real work

I have spent quite some time today attempting to back up the rpm's for trac to what was installed previously - (I had the rpm's stashed away on another server where the update has not been applied yet and that trac is working fine BTW) no luck

In desperation I have yum removed it all and fought a massively difficult war attempting to get the current version installed fresh. Sadly still the same bug!

In a fresh trac install (tried on my old server and on a completely new build in vmware) I cannot successfully create a project. The project is created with a red warning that it didnt work, and then visiting the project's web site offers the error  "Trac Error: Unsupported version control system "svn". Check that the Python bindings for "svn" are correctly installed.

I have tried updating the subversion installation and the smeserver-subversion contribs and this has not helped.

Has any one installed subversion/trac in the last couple of days? Did it work?
What is the state of both contribs?
Did you upgrade to the later trac? Is it working alright for you?
Are they currently compatible with each other?
Would it be a good idea to roll them together?

Said nicely - Is it a good idea that yum remove smeserver-trac takes all the project files and trashes them? It sure didn't seem like a good idea this morning when I lost 8 project's wiki's bug tickets etc.

Bless me for having 2 backups one only 30 minutes old. On problem is I cant seem to get trac running again.

I think I am a little frazzled because my entire income stream has been shutdown and I have delivery deadlines galore.  Perhaps I have missed something simple...

thanks


"

Offline Marco Hess

  • *
  • 149
  • +0/-0
    • http://www.through-ip.com
Re: Recent yum update seems to have broken my trac
« Reply #56 on: December 05, 2007, 12:59:49 AM »
Hi timb,
Sorry to hear about your troubles. It is a bit difficult to work out from your message what exactly the problem seems to be. Using
Code: [Select]
tail -f /var/log/messages is a good way to diagnose what is going on behind the scenes.

A bunch of updates were waiting for my server and I installed them, in there was the new trac-10-4? update.

I am a bit curious as to how you would have gotten a new trac through updates. As far as I know, there should not be any trac in the default repositories. Do you have extra repositories enabled by default?

I was able to reproduce an issue with trac and it seems it now needs the subversion-python package installed.

As a workaround, use:

Code: [Select]
yum --enablerepo=snetram install subversion-python
I updated smeserver-trac to 0.4-35 and added the dependency. Installed on a fresh and up to date SME, it works as expected.

However, in installing I had a little problem with the mod_dav_svn where yum seems to think there is a missing dependency:
Code: [Select]
--> Processing Dependency: subversion = 1.4.4-1 for package: mod_dav_svn
--> Finished Dependency Resolution
Error: Missing Dependency: subversion = 1.4.4-1 is needed by package mod_dav_svn

This can be worked around by installing subversion and trac via some intermediate steps:

Code: [Select]
yum --enablerepo=base install subversion
yum --enablerepo=snetram install smeserver-subversion
yum --enablerepo=snetram --enablerepo=through-ip install smeserver-trac

Also, please note that the rpm for trac itself needs to come from the through-ip repository as this is a patched version of trac to support the http authentication in SME.

Regards,

Marco





« Last Edit: December 05, 2007, 02:37:41 AM by thf »
Adelaide - Australia

Offline timb

  • **
  • 41
  • +0/-0
    • http://www.tbitc.com
Re: [ANNOUNCE] smeserver-trac contrib
« Reply #57 on: December 05, 2007, 01:17:20 AM »
Thanks for your reply Marco

I must admit I was bordering on meltdown when my repositories broke - I am an extremely busy guy at the moment, and this is an interuption I really couldnt afford.

Never mind.

I am a bit curious as to how you would have gotten a new trac through updates. As far as I know, there should not be any trac in the default repositories. Do you have extra repositories enabled by default?

Yes Dag snetram throughip dungog ... which makes it seem that I couldn't have seen another trac. I know I wasn't hand installing it. So this will probably remain a mystery. But I remember seeing it go through and thinking - ah finally the new 10.4 is out - that will be nice.....

I was able to reproduce an issue with trac and it seems it now needs the subversion-python package installed.
My overnight attempts to repair this problem have shown this - and I have just applied your yum suggestion and that has changed my error message. I am now missing the right neon.. But that's my doing. I have been yum removing.....
I confess that late late last night I decided to terminate my main server's trac and svn functions and virtualise a separate server in order to better maintain and control what happens to it. This is a discussion that has been going on in my head for the last few months, so now I will go ahead with it.

I will let you know how my re-installation on my virtual server goes. For a bit of entertainment I will attempt to repair my main server's installation too.

thanks
timb


Offline Marco Hess

  • *
  • 149
  • +0/-0
    • http://www.through-ip.com
Re: [ANNOUNCE] smeserver-trac contrib
« Reply #58 on: December 05, 2007, 03:26:54 AM »
Yes Dag snetram throughip dungog ...

Personally I don't think it is a good idea to have any of these repositories enabled by default. It is also not the recommended way from the FAQ:
http://wiki.contribs.org/SME_Server:Documentation:FAQ#Repositories_Adding_Removing_Disabling

Regards,

Marco

« Last Edit: December 05, 2007, 03:39:26 AM by thf »
Adelaide - Australia

Offline timb

  • **
  • 41
  • +0/-0
    • http://www.tbitc.com
Re: [ANNOUNCE] smeserver-trac contrib
« Reply #59 on: December 05, 2007, 03:43:43 AM »
Sorry my mistake.
None of those repos are enabled by default....

Which even more makes me wonder about me seeing that trac 10.4 coming through...

Must look for a log file for that yum update

timb