Re: [Trac] Change user name

2015-03-06 Thread Steffen Hoffmann
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On 06.03.2015 21:41, Ryan Ollos wrote:
> On Fri, Mar 6, 2015 at 2:55 AM, Mattias Vannergård
> mailto:mattias.vannerg...@gmail.com>> wrote:
> 
> Hi!
> 
> According to, amongst other, this
> thread 
> https://groups.google.com/forum/#!searchin/trac-users/change$20user/trac-users/lpA2qSWgOPM/Ok7EesP7ATIJ
> 
> it seems like a non-simplistic task to change the user id in a trac db.
> 
> I have written a small C#-program that does this, if anyone is
> interested.
> 
> Or if anyone knows a current plugin, you may feel free to share.
> 
> BR
> /Mattias
> 
> 
> It could be nice if AccountManagerPlugin supported this, but it seems
> unlikely that it would be widely used, and as the other thread noted,
> it's not entirely trivial to implement (which you likely found when
> writing your C# program).

Sure, this is not trivial, and maybe I don't get it by now, but what
about current functionality in AccountManagerPlugin [1] trunk? Isn't it
just what you're asking for?

Steffen Hoffmann


[1] http://trac-hacks.org/ticket/10945
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAlT6SasACgkQ31DJeiZFuHdWdQCfQ7BW6mWwm2lALEm5JAC7WSXP
0EIAn2rbmU5dtLdqvxYk7kpvwHzRIdnF
=UVqc
-END PGP SIGNATURE-

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Slow Performance

2015-03-06 Thread Felix Pfeifer
Hi Ryan,

i could solve the problem otherwise. My first configuration was with cgi.
Now i use wsgi and it works fluently. There are no more environment
startups for each requests.

Greetings,
Felix

On 6 March 2015 at 21:06, Ryan Ollos  wrote:
> On Thu, Mar 5, 2015 at 1:17 AM, Felix Pfeifer 
> wrote:
>>
>> Hi,
>>
>> I installed Trac 1.0.1 and it is very slow. I followed
>> ticket:7490#comment:102
>> and tested trac.ini for changes like this:
>> # ls --full-time trac.ini
>> -rw--- 1 apache apache 5040 2015-03-05 09:50:57.489739647 +0100
>> trac.ini
>> # ls --full-time trac.ini
>> -rw--- 1 apache apache 5040 2015-03-05 09:50:57.489739647 +0100
>> trac.ini
>> # ls --full-time trac.ini
>> -rw--- 1 apache apache 5040 2015-03-05 09:50:57.489739647 +0100
>> trac.ini
>> # ls --full-time trac.ini
>> -rw--- 1 apache apache 5040 2015-03-05 09:50:57.489739647 +0100
>> trac.ini
>> # ls --full-time trac.ini
>> -rw--- 1 apache apache 5040 2015-03-05 09:50:57.489739647 +0100
>> trac.ini
>>
>> After each ls command I clicked a random link in my Trac project. Each
>> time
>> I click a new line in my trac.log appears (log level INFO):
>> 2015-03-05 09:51:14,209 Trac[env] INFO: 
>> environment startup [Trac 1.0.1] 
>> 2015-03-05 09:51:24,103 Trac[env] INFO: 
>> environment startup [Trac 1.0.1] 
>> 2015-03-05 09:51:32,519 Trac[env] INFO: 
>> environment startup [Trac 1.0.1] 
>> 2015-03-05 09:58:03,364 Trac[env] INFO: 
>> environment startup [Trac 1.0.1] 
>> 2015-03-05 09:58:23,684 Trac[env] INFO: 
>> environment startup [Trac 1.0.1] 
>>
>> Is that maybe the reason for the bad performance? I was able to
>> solve all the problems causing warnings in the log, but i don't have
>> any clue what to do with this.
>>
>> I installed Trac on Slackware ARM Linux current and Slackware Linux 14.1
>> (x86).
>> I used the install script from slackbuilds.org.
>>
>> And well - i am a Trac (and Apache) newby!
>
>
> There's a severe performance issue with setuptools 5.4 - 5.6. Recommended
> solution is to either upgrade or downgrade setuptools. It's documented here:
> http://trac.edgewall.org/wiki/TracInstall#Usingeasy_install
>
> I recommend starting the investigation with that.
>
> If the problem is not there, please describe your web server configuration.
> http://trac.edgewall.org/wiki/TracInstall#WebServer
>
> --
> You received this message because you are subscribed to the Google Groups
> "Trac Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to trac-users+unsubscr...@googlegroups.com.
> To post to this group, send email to trac-users@googlegroups.com.
> Visit this group at http://groups.google.com/group/trac-users.
> For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Question about TracD

2015-03-06 Thread Ryan Ollos
On Fri, Mar 6, 2015 at 1:54 PM, Christer .  wrote:

> I have a question about Tracd.
>
> I want to set up Trac on my computer which is connected to a network (and
> internet)
>
> Is it possible to use Tracd and make my installation of Trac totally
> "silent" outside my computer. What I mean, I want it to be  absolute
> impossible to see my installation of Trac via the network or internet.
>
>
> Do I need some special settings for this?
>
> Any help is appreciated!
>

I don't see this as being a Trac-specific setting. You would just need to
restrict access to the port so that only localhost can connect. For example,
http://serverfault.com/questions/247176/iptables-only-allow-localhost-access

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] Question about TracD

2015-03-06 Thread Christer .
I have a question about Tracd. 
 
I want to set up Trac on my computer which is connected to a network (and 
internet)
 
Is it possible to use Tracd and make my installation of Trac totally "silent" 
outside my computer. What I mean, I want it to be  absolute impossible to see 
my installation of Trac via the network or internet.
 
 
Do I need some special settings for this?
 
Any help is appreciated!
 
Christer
  

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Change user name

2015-03-06 Thread Ryan Ollos
On Fri, Mar 6, 2015 at 2:55 AM, Mattias Vannergård <
mattias.vannerg...@gmail.com> wrote:

> Hi!
>
> According to, amongst other, this thread
> https://groups.google.com/forum/#!searchin/trac-users/change$20user/trac-users/lpA2qSWgOPM/Ok7EesP7ATIJ
>
> it seems like a non-simplistic task to change the user id in a trac db.
>
> I have written a small C#-program that does this, if anyone is interested.
>
> Or if anyone knows a current plugin, you may feel free to share.
>
> BR
> /Mattias
>

It could be nice if AccountManagerPlugin supported this, but it seems
unlikely that it would be widely used, and as the other thread noted, it's
not entirely trivial to implement (which you likely found when writing your
C# program).

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Translate users from svn with account-manager to Git with wsgi/LDAP-authentication

2015-03-06 Thread Ryan Ollos
On Fri, Feb 27, 2015 at 3:21 AM, Mattias Vannergård <
mattias.vannerg...@gmail.com> wrote:

> Hi!
>
> I am moving an old Trac 0.12.2 project from a setup with svn using the
> AccountManager-plugin (version 3.4.2) to a new Trac-server using Git with
> wsgi and LDAP authentication.
>

Are you running Trac 1.0+ and using tracopt.versioncontrol.git?


> How should I translate the user accounts from the old Trac-installation to
> the new?
> I get the environment upgraded, and I can view the wiki, but the Tickets
> are nowhere, and I see the message:
> *Warning:* Error with navigation contributor "AccountModule"
>

You definitely need to update your AccountManagerPlugin to version 0.4.4

If you still get errors, please set Trac logging to debug level, restart
your web server and send us the errors you see in the log.
http://trac.edgewall.org/wiki/TracLogging


> It says I am logged in as my user account via the wsgi LDAP
> authentication, but the connection to users in the database is lost, and
> needs to be updated some way.
>

I suggest trying to resolve the other errors before tackling this issue.


> Maybe I have to rename the users in the old Trac first, but I don't see
> how it can be done with the AccountManager. Translating the authors in svn
> to the new authors in Git is just a translation text file. Can it be done
> the same way for Trac?
>

There's a [git] trac_user_rlookup option you could try,
http://trac.edgewall.org/wiki/TracIni#git-section

The discussion in this ticket may be relevant as well,
http://trac.edgewall.org/ticket/10640

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Trac 1.0 + Bitten + mySql Lite Support

2015-03-06 Thread Ryan Ollos
On Thu, Feb 26, 2015 at 9:46 AM,  wrote:

> Hello,
>
> My name is Tom and my development team has had trac set up with bitten and
> a mysql lite
>

You are either running SQLite or MySQL, so that would be a good point to
clarify, though I assume that's just a typo and you mean SQLite.


> database for the last four years. Unfortunately, the most trac
> knowledgeable colleagues have since left, and having taken over the
> responsibilities, I have a lot of questions to ask as well as problems to
> solve toward optimizing our setup for performance and reliability. I've
> also found the trac documentation not entirely easy to navigate, and not
> having worked with it before, the learning curve has been against me.
>
> Would someone be able to point me to the right resource for trac and
> bitten support, if this is not it?
>

The is the place to ask about Trac questions.


> At the moment, my trac site has gotten very slow, the mysql database gets
> locked fairly often, and the trac host machine is constantly at ~100% cpu
> load.
>

It would be good if you can provide a list of plugins you are running.
Disabling plugins one at a time to determine if one of them is causing the
trouble is a good debug technique.

What version of Trac are you running?


> We would also be interested in bringing someone in for a day to help with
> these issues. We're located in San Francisco, California.
>
> Thank you very much!
>
> Tom
>

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Duplicate tickets being generated

2015-03-06 Thread Ryan Ollos
On Fri, Mar 6, 2015 at 9:34 AM,  wrote:

> Using the Apache Bloodhound, occasionally, two identical tickets are
> created. Modify one and the other gets modified as well.
>
> Anybody seen this in either Trac or Bloodhound?
>

It's an issue that has been observed with Bloodhound and is not known to be
a Trac issue.  The issue should be discussed on bloodhound-user email list.
https://issues.apache.org/bloodhound/wiki/BloodhoundContactInfo

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


Re: [Trac] Slow Performance

2015-03-06 Thread Ryan Ollos
On Thu, Mar 5, 2015 at 1:17 AM, Felix Pfeifer 
wrote:

> Hi,
>
> I installed Trac 1.0.1 and it is very slow. I followed
> ticket:7490#comment:102 
> and tested trac.ini for changes like this:
> # ls --full-time
> trac.ini
>
> -rw--- 1 apache apache 5040 2015-03-05 09:50:57.489739647 +0100
> trac.ini
>
> # ls --full-time
> trac.ini
>
> -rw--- 1 apache apache 5040 2015-03-05 09:50:57.489739647 +0100
> trac.ini
>
> # ls --full-time
> trac.ini
>
> -rw--- 1 apache apache 5040 2015-03-05 09:50:57.489739647 +0100
> trac.ini
>
> # ls --full-time
> trac.ini
>
> -rw--- 1 apache apache 5040 2015-03-05 09:50:57.489739647 +0100
> trac.ini
>
> # ls --full-time trac.ini
> -rw--- 1 apache apache 5040 2015-03-05 09:50:57.489739647 +0100
> trac.ini
>
> After each ls command I clicked a random link in my Trac project. Each time
> I click a new line in my trac.log appears (log level INFO):
> 2015-03-05 09:51:14,209 Trac[env] INFO: 
> environment startup [Trac 1.0.1] 
> 2015-03-05 09:51:24,103 Trac[env] INFO: 
> environment startup [Trac 1.0.1] 
> 2015-03-05 09:51:32,519 Trac[env] INFO: 
> environment startup [Trac 1.0.1] 
> 2015-03-05 09:58:03,364 Trac[env] INFO: 
> environment startup [Trac 1.0.1] 
> 2015-03-05 09:58:23,684 Trac[env] INFO: 
> environment startup [Trac 1.0.1] 
>
> Is that maybe the reason for the bad performance? I was able to
> solve all the problems causing warnings in the log, but i don't have
> any clue what to do with this.
>
> I installed Trac on Slackware ARM Linux current and Slackware Linux 14.1
> (x86).
> I used the install script from slackbuilds.org.
>
> And well - i am a Trac (and Apache) newby!
>

There's a severe performance issue with setuptools 5.4 - 5.6. Recommended
solution is to either upgrade or downgrade setuptools. It's documented here:
http://trac.edgewall.org/wiki/TracInstall#Usingeasy_install

I recommend starting the investigation with that.

If the problem is not there, please describe your web server configuration.
http://trac.edgewall.org/wiki/TracInstall#WebServer

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] Change user name

2015-03-06 Thread Mattias Vannergård
Hi!

According to, amongst other, this 
thread 
https://groups.google.com/forum/#!searchin/trac-users/change$20user/trac-users/lpA2qSWgOPM/Ok7EesP7ATIJ

it seems like a non-simplistic task to change the user id in a trac db.

I have written a small C#-program that does this, if anyone is interested.

Or if anyone knows a current plugin, you may feel free to share.

BR
/Mattias

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] Duplicate tickets being generated

2015-03-06 Thread eric . roth
Using the Apache Bloodhound, occasionally, two identical tickets are 
created. Modify one and the other gets modified as well.

Anybody seen this in either Trac or Bloodhound?

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] Translate users from svn with account-manager to Git with wsgi/LDAP-authentication

2015-03-06 Thread Mattias Vannergård
Hi!

I am moving an old Trac 0.12.2 project from a setup with svn using the 
AccountManager-plugin (version 3.4.2) to a new Trac-server using Git with 
wsgi and LDAP authentication.

How should I translate the user accounts from the old Trac-installation to 
the new?

I get the environment upgraded, and I can view the wiki, but the Tickets 
are nowhere, and I see the message:
*Warning:* Error with navigation contributor "AccountModule"

It says I am logged in as my user account via the wsgi LDAP authentication, 
but the connection to users in the database is lost, and needs to be 
updated some way.

Maybe I have to rename the users in the old Trac first, but I don't see how 
it can be done with the AccountManager. Translating the authors in svn to 
the new authors in Git is just a translation text file. Can it be done the 
same way for Trac?

BR
/Mattias

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] Slow Performance

2015-03-06 Thread Felix Pfeifer
Hi,

I installed Trac 1.0.1 and it is very slow. I followed 
ticket:7490#comment:102 
and tested trac.ini for changes like this:
# ls --full-time 
trac.ini


-rw--- 1 apache apache 5040 2015-03-05 09:50:57.489739647 +0100 
trac.ini
  

# ls --full-time 
trac.ini


-rw--- 1 apache apache 5040 2015-03-05 09:50:57.489739647 +0100 
trac.ini
  

# ls --full-time 
trac.ini


-rw--- 1 apache apache 5040 2015-03-05 09:50:57.489739647 +0100 
trac.ini
  

# ls --full-time 
trac.ini


-rw--- 1 apache apache 5040 2015-03-05 09:50:57.489739647 +0100 
trac.ini
  

# ls --full-time trac.ini
-rw--- 1 apache apache 5040 2015-03-05 09:50:57.489739647 +0100 trac.ini

After each ls command I clicked a random link in my Trac project. Each time
I click a new line in my trac.log appears (log level INFO):
2015-03-05 09:51:14,209 Trac[env] INFO:  
environment startup [Trac 1.0.1] 
2015-03-05 09:51:24,103 Trac[env] INFO:  
environment startup [Trac 1.0.1] 
2015-03-05 09:51:32,519 Trac[env] INFO:  
environment startup [Trac 1.0.1] 
2015-03-05 09:58:03,364 Trac[env] INFO:  
environment startup [Trac 1.0.1] 
2015-03-05 09:58:23,684 Trac[env] INFO:  
environment startup [Trac 1.0.1] 

Is that maybe the reason for the bad performance? I was able to
solve all the problems causing warnings in the log, but i don't have
any clue what to do with this.

I installed Trac on Slackware ARM Linux current and Slackware Linux 14.1 
(x86).
I used the install script from slackbuilds.org.

And well - i am a Trac (and Apache) newby!

Greetings,
Felix

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] Trac 1.0 + Bitten + mySql Lite Support

2015-03-06 Thread toluima
Hello,

My name is Tom and my development team has had trac set up with bitten and 
a mysql lite database for the last four years. Unfortunately, the most trac 
knowledgeable colleagues have since left, and having taken over the 
responsibilities, I have a lot of questions to ask as well as problems to 
solve toward optimizing our setup for performance and reliability. I've 
also found the trac documentation not entirely easy to navigate, and not 
having worked with it before, the learning curve has been against me.

Would someone be able to point me to the right resource for trac and bitten 
support, if this is not it? At the moment, my trac site has gotten very 
slow, the mysql database gets locked fairly often, and the trac host 
machine is constantly at ~100% cpu load.
We would also be interested in bringing someone in for a day to help with 
these issues. We're located in San Francisco, California.

Thank you very much!

Tom


-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.