Re: [Trac] Trac 1.0 + Bitten + mySql Lite Support
On 03/11/2015 04:24 PM, Steffen Hoffmann wrote: Hm, I'm running past 10k tickets with a lot more than 5 users on SQLite by now, and this is not even latest Trac stable but plugins mostly still using the depreciated Trac 0.11 db API. I think *concurrent* user requests are the issue, not total number of registered users, and ticket count might be not much of an issue in general. Yeah, and with 5 people hammering on it pretty much constantly, we'd get table lock timeouts. Now we've got about 10 heavy users and 15000 tickets, and it's quite nice. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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] How to test emailnotifications of trac in local host ? Particularly Mail2Trac plugin and Email2Trac plugin ?
On 02/04/2015 05:10 PM, Sri Ram Kannan wrote: So, if you send email to sriram...@gmail.com javascript:, and it's from tr...@yourdomain.com javascript:, you need to be able to hit reply and the email goes to tr...@yourdomain.com javascript:, which means that you need to set up a mailserver @ yourdomain.com http://yourdomain.com which will accept email and route it to the email2trac script. Can you explain this point much in detail on how to achieve it ? Do I need to install mail server as you mentioned in the earlier mail using your notes ? Exim ? Yes, you need to install a mailserver. Exim is the one I use. Mike responded in another thread and suggested Postfix. Either are very valid choices which do the same thing. I would recommend against using the sendmail server, as it is very old and complicated. 4. How to receive the mail locally in the machine to see rather than sending to the gmail. Once your mailserver is working, you'd want to change the email address associated with that user in the admin panel, so instead of trying to send it to sriram...@gmail.com javascript:, you want it to go to sriram...@yourdomain.com javascript:. You may also want to change the trac config to use the local mail server. Then you can check that email account instead of the IMAP account and get email there. And please explain to how to do change the trac config to use the local mail server. See http://trac.edgewall.org/wiki/TracNotification Specifically, you want to be certain that smtp_server is not set to google's servers. I appreciate your immediate response and you gave a clear idea about the issue now. Thanks a ton! Sorry for the delay in this reply - I'm in US Eastern Time zone, and I went home. :-) -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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] How to test emailnotifications of trac in local host ? Particularly Mail2Trac plugin and Email2Trac plugin ?
On 02/04/2015 11:06 AM, Sri Ram Kannan wrote: But I don't know hot to setup smtp server locally so that I can receive and see the emails generated by Trac syystem ? You would need to set up a mailserver in your system to send and receive email. Whether that server merely forwards on to another server or is a full-fledged mailserver and runs something like an IMAP daemon to allow you to access it is likely mostly determined by your needs. Explanation of this task is not really Trac related, and thus is out of scope for this list, but I'll try to be helpful (see below). I request someone to update me about this. I'm doing this setup in ubuntu 14.0.4 I use exim in my setup, and my notes are here: https://github.com/mattcaron/misc_notes/blob/master/install.linode.ubuntu.12.04 This is for 12.04. 14.04 should be similar. Item 12 has exim (SMTP) notes. Item 11 has dovecot (IMAP) notes. Item 13 integrates the two. I stress that these are my internal notes, and not a howto, they should be regarded as expert level documentation. However, it may provide a starting point to give you searchable terms for better-written tutorials. There are also reference links in my notes. Once you have the mailserver set up, email2trac should be simple - you simply add a router just after the begin routers section, which is like this: == # This router only handles local trac@ addresses (for whatever domain). # It requires the email2trac.py script to exist and passes mails off to # that script via the trac_transport. trac_router: driver = accept require_files = /usr/local/bin/email2trac.py local_parts = trac transport = trac_transport == and then, right after the begin transports line, you need to add this transport: == # This transport is used for the Trac to e-mail gateway. The order in # this section doesn't matter; a transport has to be explicitly referred # to by a router in the routers section in order to be used. # # This works by piping e-mails to the email2trac.py script, run as the # www-data user. trac_transport: driver = pipe command = /usr/local/bin/email2trac.py current_directory = /tmp home_directory = /tmp user = www-data group = www-data == This will take an email of trac@anything and send it to email2trac.py. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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] How to test emailnotifications of trac in local host ? Particularly Mail2Trac plugin and Email2Trac plugin ?
On 02/04/2015 04:16 PM, Sri Ram Kannan wrote: Hi Mathew, Thanks for replying back. I would look into your notes to install the mail server. Before that, can you say how to test Email2Trac and Mail2Trac plugins locally ? I have installed the Trac in my local machine successfully. I don't have the idea of how to proceed to test the plugins. I'll answer each point individually and try to help. I'm also not familiar with Mail2Trac. I only use email2trac and achieve the behavior which I think you're trying to get working. Looking at http://trac-hacks.org/wiki/MailToTracPlugin, it seems that MailToTrac and Email2Trac may provide the same functions, so you would want to pick one, and not do both. To be precise where I'm struggling to continue is: 1. Able to create a ticket and the ticket is sent to Gmail successfully. It sounds like this is working. 2. No clue on where the email generated is stored in the local machine. It isn't. Email is only stored on the local machine until the remote machine (Google's servers) accept it for delivery. Then it is deleted. 3. The main functionality to check is to modify the ticket and send to Email2Trac and Mail2Trac plugin so that the modification must be added as a comment in the ticket page. I presume you mean that you want to reply to the email and have it get added to the ticket. For that, you need a local mailserver that accepts email destined for the original from address. So, if you send email to sriram.ss...@gmail.com, and it's from t...@yourdomain.com, you need to be able to hit reply and the email goes to t...@yourdomain.com, which means that you need to set up a mailserver @ yourdomain.com which will accept email and route it to the email2trac script. 4. How to receive the mail locally in the machine to see rather than sending to the gmail. Once your mailserver is working, you'd want to change the email address associated with that user in the admin panel, so instead of trying to send it to sriram.ss...@gmail.com, you want it to go to sriram.ss...@yourdomain.com. You may also want to change the trac config to use the local mail server. Then you can check that email account instead of the IMAP account and get email there. I kindly request you to explain if possible step - by - step so that I can understand easily. I'm working in ubuntu 14.0.4 and see a good article for email2trac on windows but not for ubuntu. IIRC, Installation is standard Unix configure/make/make install: https://oss.trac.surfsara.nl/email2trac/wiki/Email2tracInstallation You could follow the Debian Package instructions, but I believe I just followed No package manager. And this covers the config: https://oss.trac.surfsara.nl/email2trac/wiki/Email2tracConfiguration And the stuff I posted earlier covers adding it to your exim. Unfortunately, I can't be more specific than this, because the specifics are determined by your site's individual requirements. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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] Needing Urgent Help!!!! Traceback
Just a quick guess, but have you tried disabling or restoring the tracusermanager plugin, since that's what it seems to be complaining about not finding? On 11/13/2014 04:10 PM, Richard Smith wrote: I seemed to have broken one of our main links in TRAC our Admin Link. Our primary directory labeled NOVA is spitting out this message whenever I try and access it. The story behind this is I was trying to load a plugin and accidentally clicked on the API.py and now I'm getting this whenever I try and connect to that link. I cannot simply load from our backup because coworkers have been writting to it all day. My question is how can I go about fixing this? If data is stored on the D drive then I could just reload the C drive and be alright (The other projects are on the D drive) I am not sure how TRAC saves their information regarding tickets though and am quite hesitant to take do that in the case of losing a days worth of work. I amextremely green when it comes to TRAC. Our TRAC does work but it is limping. I hope this is enough information for you guys and hope to hear from you guys soon! Thanks, Richard Traceback (most recent call last): File C:\Program Files (x86)\VisualSVN Server\trac\python\lib\site-packages\trac-0.12.2-py2.6-win32.egg\trac\web\api.py, line 440, in send_error data, 'text/html') File C:\Program Files (x86)\VisualSVN Server\trac\python\lib\site-packages\trac-0.12.2-py2.6-win32.egg\trac\web\chrome.py, line 832, in render_template template = self.load_template(filename, method=method) File C:\Program Files (x86)\VisualSVN Server\trac\python\lib\site-packages\trac-0.12.2-py2.6-win32.egg\trac\web\chrome.py, line 793, in load_template self.get_all_templates_dirs(), auto_reload=self.auto_reload, File C:\Program Files (x86)\VisualSVN Server\trac\python\lib\site-packages\trac-0.12.2-py2.6-win32.egg\trac\web\chrome.py, line 506, in get_all_templates_dirs dirs.extend(provider.get_templates_dirs() or []) File d:\trac\nova\plugins\api.py, line 266, in get_templates_dirs File C:\Program Files (x86)\VisualSVN Server\trac\python\lib\site-packages\setuptools-0.6c11-py2.6.egg\pkg_resources.py, line 881, in resource_filename return get_provider(package_or_requirement).get_resource_filename( File C:\Program Files (x86)\VisualSVN Server\trac\python\lib\site-packages\setuptools-0.6c11-py2.6.egg\pkg_resources.py, line 201, in get_provider __import__(moduleOrReq) ImportError: No module named tracusermanager -- 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 mailto:trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com mailto: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. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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 migration, milestones
Dump and reload the DB. On 10/09/2014 09:14 AM, anna-maria.kotulla wrote: Dear All, I have to migrate Trac from one server to another one. I could not find a method to transfer the milestones, can you suggest me a solution? Thank you in advance, Anna -- 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 mailto:trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com mailto: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. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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 migration, milestones
On 10/09/2014 09:29 AM, Matthew Caron wrote: Dump and reload the DB. On 10/09/2014 09:14 AM, anna-maria.kotulla wrote: Dear All, I have to migrate Trac from one server to another one. I could not find a method to transfer the milestones, can you suggest me a solution? Thank you in advance, Sorry, looking at Greg's response, I realize that this was woefully underexplained (I knew what I meant in my head, you must know what I mean too, right? :-) ) I also top-posted, bad me. You shouldn't need to migrate anything individually. If you're using a DB server, dump it on the old box, move the dump to the new box and load it there. Also copy over the trac install dir, and you should be good to go. If you're using sqlite, I believe that the DB file is stored in a subdir of the trac install dir, so you just need to copy it over. This will grab everything, and move it from your old machine to your new one. As long as the base trac infrastructure properly installed on the new machine (webserver, DB server or support files, python stuff, etc.) it should just work. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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 isn't sending me verification emails
Judging by the links in your email, you tried to register on the server trac.haskell.org, right? I would speculate that something is wrong with their Trac setup and you should contact them and let them know. On 09/30/2014 10:57 AM, Eric Crockett wrote: Several months ago, I tried to register for a Trac account. As a new user, I got the warning *Warning:*Your permissions have been limited until you verify your email address http://trac.haskell.org/numeric-prelude/verify_email. If I change my email address, I get a new message saying *Notice:*An email has been sent to (email address) with a token to verify your new email address http://trac.haskell.org/numeric-prelude/verify_email. However, no such email ever arrives. I rediscovered today why I wanted a Trac account, and am experiencing the same issue: I'm still not getting a verification email. Any ideas? -- 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 mailto:trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com mailto: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. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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] Reporter/Owners who have left
On 03/19/2014 02:57 PM, Rich Alderson wrote: Updates to the ticket are still being mailed to the original owner (bouncing since he is no longer here). One oddity is that his forwarding entry in /etc/mail/aliases was removed the day he left, so there should not be any way for the mail to leave the system on which Trac is running (company mail is handled by Exchange/Outlook, user authentication is AD). If his email address is explicitly set to user@domain, then it is going to look up the MX record for @domain, and will not use the local alias, since there is no alias for user@domain (and there likely was only one for user to begin with). You can always look at the local mail log file, and update the ticket. My guess is that you'll see 3 pieces of mail go out - one to you, one to the ticket owner, one to the original reporter. I can't see any trace(s) of the original owner anywhere in Trac. I'm not really fond of the idea that I need to run a SQL session to manipulate the Trac database directly, for obvious reasons. Please elucidate what reasons you feel are obvious. I would think that a simple: select * from session_attribute where name = 'email' and sid = 'user'; would be pretty harmless. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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] Configuring LDAP on Trac/Windows
On 02/26/2014 08:01 PM, Josh Santangelo wrote: Is it true that LDAP can only be configured on Trac if it's running under Apache? No. http://trac-hacks.org/wiki/AccountManagerPlugin/AuthStores#LDAP -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] Consistent setup of TimingAndEstimationPlugin, EstimationToolsPlugin and TracJsGanttPlugin, help needed
On 02/06/2014 04:22 AM, Kristian Nørgaard wrote: *In what way should I use and interpret estimatedhours?* I have tried 3 different approaches: 1. Interpret estimatedhours as a dynamically changed field, in the meaning of most recently estimated TOTAL time It seems odd to re-estimate with a total time, maybe you already worked 100 hours on a ticket, then the obvious thing you want to do is estimate how many hours are left (not the total). This is how we use it. It may seem odd to you, but never seemed odd to us, so the oddity is not universal. 3. Interpret estimatedhours as a fixed field, in the meaning of INITIAL estimated total time. This doesn't make much sense for the various graphs unless you add another custom field remaininghours to mean the recently estimated remaining time. Our reports often find the first change to the estimatedhours field which makes it a nonzero value, for estimate accuracy analysis at project end. In a sense, this is a derived value. So either I am not understanding these things right or everyone is just accepting to live with such inconsistencies? We don't see 1 as an inconsistency. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] Accidentally deleted the report while editing the sql query
On 02/05/2014 11:30 AM, Soha wrote: Please help me fix this issue as it is a major issue for us now. I think there is no way to retrieve the deleted report. Sure there is - you restore it from the nightly DB snapshot you made either by copying the sqlite DB, or using pg_dump. Here is an example postgres backup script: #!/bin/bash if [ `whoami` != 'postgres' ]; then echo Please run this as user postgres; exit 255; fi FILE=$(mktemp /opt/trac/eng/db/postgres.bak.`date +%F`.XX) if [ $? -eq 0 ]; then pg_dump trac $FILE lzma $FILE; fi cron that bad Larry, and you're good to go. (And, if you're not doing this, you must enjoy living dangerously.) -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] Re: New users Help needed
On 02/06/2014 07:28 AM, RjOllos wrote: PS : there is a bug with log in / log out : While connected as a classique user, I loggout , and while trying to logging again, Trac autmaticcaly log me, instead of give the choice of loggin / password as another user (admin for instance ..). This is a known issue with browser (not Trac): http://trac.edgewall.org/ticket/791 In addition to many other useful features, the AccountManagerPlugin (http://trac-hacks.org/wiki/AccountManagerPlugin) adds an HTML form-based login which works around this issue. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] Import from one Trac to another?
On 01/30/2014 08:08 PM, Josh Santangelo wrote: Hi there -- I am currently using Trac as a hosted service with a sqlite backend. I'm trying to set up my own install of Trac with a postgres backend, and want to import tickets from the old system to the new one. I see a number of solutions for importing tickets from other systems (or Excel) to Trac, but not from Trac to Trac. Am I missing something? http://trac.edgewall.org/wiki/TracUpgrade#SQLitetoPostgreSQL -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] Password Im FileZilla file manager client
On 01/15/2014 08:11 AM, Kaden Robinson wrote: I'm trying to set up a Minecraft server on Tree Puncher.com (my host) They said I had to download FileZilla for me to do things with files. The only thing holding me back from completing my server is FileZilla, because I type in my host, my username, port, then my password. It says it cant read my password because its dots: Please Specify Password I have tried through all the settings, looking for a way to turn password hide off. So please, for the sake of my server tell me how to turn password hide off in Filezilla or fix this bug, that shouldn't happen to any web-site, which I'm kind of mad about because it's not cheap to pay for a server to be run, then FileZilla is the only thing holding you back. What does this have to do with Trac? -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] Getting No handler matched request to /trac on Trac copy to a new server
On 01/16/2014 03:51 PM, Stas Oskin wrote: Hi, I've copied Trac to a new server, and getting this error now. Both the Trac and it's Apache conf files were copied 1-to-1, but still it appears as Trac unable to find the handler. Any ideas? Check the apache log? -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] Re: Few questions regarding software version
On 12/16/2013 04:56 AM, Ala Maison wrote: Hello, After enabling the trac website, i checked that it worked so now i have 000-default and trac in my sites-enabled directory. Then the a2ensite trac command asked me to reload the service by executing service apache2 reload, but this command gives me the following output, Make sure you're doing: sudo service apache2 reload Usage: /usr/local/apache2/bin/httpd and the a bunch of options. It ends by httpd: abnormal exit 1 I don't know what any of this means :/ Well, if sudo doesn't fix it, it means you've somehow managed to break the Ubuntu apache install, by somehow feeding the startup script bad data. Assuming you didn't outright alter the startup script, did you, perhaps, add some options in /etc/defaults/apache2 (or similar?). Basically, something sourced by the init script which starts httpd is doing something wrong, hence why httpd is complaining. If all else fails, sudo apt-get install --reinstall apache2 may very well set you right. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] Re: Few questions regarding software version
On 12/12/2013 08:06 AM, Ethan Jucovy wrote: Also making sure: did you reload Apache after installing your Apache conf file? What was the console output when you reloaded it? Also, where did you put it? If you put it in `/etc/apache2/sites-available/trac`, but didn't `sudo a2ensite trac`, then it never got symlinked to `/etc/apache2/sites-enabled/trac` which is *actually* what is included by the default debianish apache config. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] Re: Few questions regarding software version
On 12/11/2013 06:23 AM, Ala Maison wrote: What file is that because i looked in all apache configuration files and i couldn't find the Scriptalias or WSGIScriptAlias they are talking about :/ It would be in the apache config for that site. Here's mine for reference (with appropriate parts redacted, naturally): # Redirect plain requests to the https:// VirtualHost *:80 ServerName trac.fqdn ServerAlias trac RewriteEngine on RewriteRule . https://trac.fqdn/%{REQUEST_URI} /VirtualHost # Rewritelocks can't be in a VirtualHost section RewriteLock /var/run/apache2.rewritelock # trac serves trac VirtualHost *:443 ServerName trac.fqdn ServerAlias trac # Serve (relatively) static chrome files directly from the # filesystem. Use trac-admin's deploy command to create the # static-htdocs directory: Alias /trac/chrome /opt/trac/eng/static-htdocs/htdocs Directory /opt/trac/eng/static-htdocs/htdocs Order allow,deny Allow from all /Directory WSGIDaemonProcess trac user=www-data group=www-data threads=50 WSGIScriptAlias /trac /opt/trac/eng/static-htdocs/cgi-bin/trac.wsgi RewriteEngine on # RewriteLog /var/log/apache2/rewrite.log # RewriteLogLevel 9 # SSL stuff SSLEngine on SSLCertificateFile /etc/apache2/ssl/server_cert.pem SSLCertificateKeyFile /etc/apache2/ssl/private.key SSLCertificateChainFile /etc/apache2/ssl/cert_chain.pem # It would be far better if mod_fcgid respected the setting of LANG # in the actual environment, but I don't know how to do that easily. # It seems mod_fcgid includes _only_ the environment values # specifically set below, so we do need to set LANG here explicitly. # See ticket #1352 DefaultInitEnv LANG en_US.UTF-8 DefaultInitEnv TRAC_ENV /opt/trac/eng # Redirect bare requests to /trac RewriteCond %{REQUEST_URI} ^/$ RewriteRule ^(.*)$ https://trac.fqdn/trac%{REQUEST_URI} # force fully qualified domain name RewriteCond %{HTTP_HOST}!^trac\.fqdn RewriteCond %{HTTP_HOST}!^$ RewriteRule ^/(.*) https://trac.fqdn/$1 Directory /opt/trac/eng/static-htdocs/cgi-bin/ WSGIProcessGroup trac WSGIApplicationGroup %{GLOBAL} Order deny,allow Allow from all /Directory # It's very likely that this section does nothing since mod_fcgid # appears to only pass variables set via DefaultInitEnv, but why fix # something that isn't broken? Location /trac SetEnv TRAC_ENV /opt/trac/eng /Location # This is likely redundant with the http redirect, above, but # let's be explicit about not sending credentials in plain text, # shall we? Location /trac/login SSLRequireSSL /Location /VirtualHost -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] Re: Few questions regarding software version
On 12/11/2013 12:15 PM, Ala Maison wrote: In what files do you have this ?!!?!?!?! plz Since you didn't quote context, we don't know of whom you are asking this question. If you meant me, it's in my /etc/apache2/sites-available/trac file, which is a config file I wrote in apache, for trac, so its location is irrelevant. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] Re: Few questions regarding software version
On 12/10/2013 10:06 AM, Ala Maison wrote: Hello, Thanks for your answer but i think my problem is more apache related since i can't even access it anymore, a simple url like this http://localhost:8000/; doesn't work when it used to display the test project i created on the new server. Is apache still running? ps -ef | grep apache ? or, nmap the machine to see what's listening on what ports. netstat -t is also useful when looking at these. Perhaps most importantly - what do the apache logs say? -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] Re: Few questions regarding software version
On 12/05/2013 05:36 AM, Ala Maison wrote: Hello, Sorry for these probably dumb questions but i'm way out of my comfort zone with this and i don't want to mess the existing and working original server... the trac folder contains 4 directories but only for plugins so no projects of any kind :/ Assuming Linux (not sure if you stated what the host OS was or not)? Can you paste in the result of ls -l for that dir? (or, possibly, attach the output of tree run from that dir?) That would help us find what we're dealing with. I can't find any trac.ini file neither any data files, just the plugins there is a sqlite_trac.sql file so i guess that's the one i'll need to move later on... Have you tried: locate trac.ini ? It may be in another directory. is it possible that the project files could be stored somewhere else in the company network ? (please say no, please say no...:p) Well, that depends on if you've network mounted some volume or not. You could also try looking in the apache config (or subconfig if you have it broken up by site), specifically DocumentRoot and ScriptAlias lines. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] Re: Few questions regarding software version
On 12/05/2013 09:14 AM, Ala Maison wrote: You RULE !!! I used the find command, didn't find anything... locate did the job perfectly Find recurses from where you start on down. Locate builds an index of all files on disk (nightly, IIRC), then searches that. They each have their uses. My trac directory seems to be in /var/lib/trac, i found the projects and everything so i'll try to copy stuff on the new serv and then i'll try this out. Sounds like a plan. The trac version on the old server is 0.10, i hope i will be able to update and make it work, new to trac, new to python, new to network troubleshooting... thanks a lot !!! There's no substitute for immersion. Now i have to set up the new apache serve, new to this too :D If you're on something debian-ish (and possibly others), the key is to put config fragments in /etc/apache2/sites-available, then enable them with a2ensite sitename. You may find my collection of notes of use in your journey of learning: https://github.com/mattcaron/misc_notes I'm a compulsive documenter, and this has gotten worse over time (as in, the need to produce better documentation), so you'll find the more recent versions of things to be more complete and explanatory. Grabbing the whole repo and using grep to search for keywords is likely best. Nothing I have covers Trac (I use it at work, these are notes from home), but there is discussion of setting up other websites, which may help with apache. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] Re: Few questions regarding software version
On 12/05/2013 11:20 AM, Ala Maison wrote: At the end of the install, i get an error message: AH00558: httpd: Could not reliably deterninbe the server's fully qualified domain name, using 127.0.1.1. Set the 'ServerName' directive globally to supress this message I did all you suggest in on your github (thanks by the way) and more, like adding manually ServerName localhost as suggested in other forums but nothing works. In the error message, it says 127.0.1.1 os i tried that instead of 127.0.0.1 as suggested in your doc as well as everywhere else on the internet, any ideas why my default IP is different ?? I *think* the solution is to set ServerName outside of a VirtualHost directive, but I don't recall. One of these days, that error will annoy me enough that I'll actually fix it, but for now, all my servers complain about that, and everything works (because 127.0.1.1 is localhost and therefore things work just fine). -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] Few questions regarding software version
On 12/04/2013 05:27 AM, Ala Maison wrote: Hi all, We have a trac server but it's been abandoned for a long time and we would like to restart it but on an other server. Since i never used it myself, i don't know the first thing about this software, how can i know what version of trac is running on the server. It should tell you in the bottom of every trac page, left hand side, right by the trac powered logo. It will say Powered by Trac, and then some version. And most importantly, is it possible to take all running tickets and archived ones to the new server without loosing any datas in the process ? Yes. Generally, what you want to do is: 1. Move all the trac project storage (the files on disk) 2. Move all the database bits How to do this depends specifically on how your system is set up. I would suggest: 1. Locate your trac.ini. Generally, the directory in which it exists is the trac data directory. You want this. 2. Read through the trac.ini, and see if you can find out what database it's using. If it's sqlite, just copy that over. If it's MySQL or PostgreSQL, then you'll need to dump the database contents and move that (consult the appropriate DB docs on how to do this). Sorry for my bad english, It's not so bad. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] Re: Few questions regarding software version
On 12/04/2013 09:47 AM, Ala Maison wrote: One more thing, if i want to transfer my trac serv and update it to current version, what should i do 1st, the transfer or the update ? Well, we didn't discuss any updates, because all you've done is transfer the data. The trac version will be whatever it is you've installed on the new server, and it will likely complain that the DB needs an upgrade, so you need to do that. Then you'll need to correct or replace any plugins which no longer work. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] Re: Few questions regarding software version
On 12/04/2013 11:31 AM, Ala Maison wrote: So just to see if i got this, I install trac on the new serv, do the transfer and then i update or delete content that requires either option ? I don't understand what you mean by this question. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] Re: Few questions regarding software version
On 12/04/2013 12:09 PM, Ala Maison wrote: It is just a recap of what i have to do in order to install trac on a new serv without loosing all tickets. And to be more specific in what order i have to do all the steps you told me. 1- install trac on new serv 2- move trac from old to new server machine 3- upgrade whatever needs to be updated is this the right order ?? Yes, and, if you notice - you still have the copy on the old server. So, even if you mess it up, you can start over, as long as you don't change anything on the old server. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] Trac Wiki
On 11/26/2013 01:39 PM, Stuart Cracraft wrote: Hi, I need to maintain a page at Trac Wiki for some project document requirements. To me, Trac Wiki is non-intuitive. Where is the Trac Wiki beginner's doc? At the bottom of the edit window. Reference to the pages at TEO: http://trac.edgewall.org/wiki/WikiFormatting http://trac.edgewall.org/wiki/TracWiki -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] Trac Wiki
On 11/26/2013 03:04 PM, Steffen Hoffmann wrote: Trac has a rather clear, thoughtful and long-term tested web-UI design compared to the competition. As you see by Matthew's answer, its right in front of you, if you take your time to look and read. I don't like this answer, as it makes me feel less like a genius. See, I go looking for stuff in Trac, and with combinations of google, looking at the DB and grepping through the source, I find what I'm looking for, make my tweaks, do my fixes, and impress everyone with how clever I am. Now, you come along and tell me that Trac really is this intuitive, and that I'm not that clever, it's just so well-designed, thought out, and documented that one of my more clever cats could install it on Ubuntu/Postgres/Apache/WSGI/SSL/selfsigned certs. This is really damaging to my ego and sense of self, Steffen. As a product of the you are a beautiful and unique snowflake American public school system, I demand that you state that Trac is impossible, non-intutive, opaque and ill-documented, thus cementing the validation of my brilliance and resourcefulness. (For those without a sense of humor, this was facetious.) -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] securing apache/trac with ssl
On 11/14/2013 01:44 PM, Stuart Cracraft wrote: Hi, We'd like to convert to an ssl-only apache for everything on the box. I've messed with rewrite rules and the like, with no success. It just removed access to existing url's to use https, like the trac login. Undoing those, put it back and trac login works and repository / browse works. You've said nothing about your config. Assuming typical name-based vhosting, you want: VirtualHost *:80 ServerName www.example.com ServerAdmin webmas...@example.com RewriteEngine on RewriteRule . https://www.example.com/%{REQUEST_URI} [R,L] /VirtualHost For every vhost you have. If you could send me the reference for ssl-only apache (all url's for the website), I do not believe this is possible with name-based vhosting. Your current apache config plays heavily into a correct solution. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] securing apache/trac with ssl
I see nothing in this config about Trac. I fear you may be missing something. Anyway, I think part of the issue may be: ServerName somewhere.over.the-rainbow.com:80 I've never used this format before (I use an overall Listen directive, and then a NameVirtualHost and separate VirtualHost directives), but reading the apache docs, this suggests that the server will only listen on port 80. So, no SSL. Have you verified that connecting to https://somewhere.over.the-rainbow.com actually works? If so, it's likely because of this bit: # Load config files from the config directory /etc/httpd/conf.d. # Include conf.d/*.conf So, there may be more configs in there. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] securing apache/trac with ssl
Nothing in here sets up SSL, or does any VirtualHost stuff. So, I ask again, does https://somewhere.over.the-rainbow.com actually work? On 11/14/2013 04:17 PM, Stuart Cracraft wrote: Here is /etc/httpd/conf.d/trac.conf which is being included. ##LogLevel debug Alias /trac/chrome/common /u01/trac/apache/htdocs/common Alias /trac/chrome/site /u01/trac/apache/htdocs/site Directory /u01/trac/apache/htdocs Order allow,deny Allow from all /Directory WSGIScriptAlias /trac /u01/trac/apache/cgi-bin/trac.wsgi Directory /u01/trac/apache/cgi-bin WSGIApplicationGroup %{GLOBAL} Order deny,allow Allow from all /Directory Location /trac/login Order allow,deny Allow from all AuthType Basic AuthName trac AuthBasicProvider ldap AuthLDAPURL ldap://10.201.99.9/ou=ABBREV,dc=somewhereovertherainbow,dc=com?sAMAccountName?sub?(objectClass=user) AuthLDAPBindDN username” AuthLDAPBindPassword usernamesPassword AuthzLDAPAuthoritative off Require valid-user require ldap-group CN=GROUPNAME,CN=Users,DC=somewhereovertherainbow,DC=com Require ldap-attribute memberOf=CN=ABBREV,CN=Users,DC=somewhereovertherainbow,DC=com /Location On Thursday, November 14, 2013 12:22:05 PM UTC-8, Matthew Caron wrote: I see nothing in this config about Trac. I fear you may be missing something. Anyway, I think part of the issue may be: ServerName somewhere.over.the-rainbow.com:80 http://somewhere.over.the-rainbow.com:80 I've never used this format before (I use an overall Listen directive, and then a NameVirtualHost and separate VirtualHost directives), but reading the apache docs, this suggests that the server will only listen on port 80. So, no SSL. Have you verified that connecting to https://somewhere.over.the-rainbow.com https://somewhere.over.the-rainbow.com actually works? If so, it's likely because of this bit: # Load config files from the config directory /etc/httpd/conf.d. # Include conf.d/*.conf So, there may be more configs in there. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net http://www.redlion.net +1 (518) 877-5173 x138 office -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] securing apache/trac with ssl
Your problem isn't rewrite rules. Your problem is that you haven't turned on https. I suggest you get that working, then figure out redirecting http traffic to https. Look at the apache SSL docs, specifically: SSLEngine on SSLCertificateFile /etc/apache2/ssl/server_cert.pem SSLCertificateKeyFile /etc/apache2/ssl/private.key You also need to change it to listen on port 443, which is likely going to be: ServerName somewhere.over.the-rainbow.com:443 On 11/14/2013 05:09 PM, Stuart Cracraft wrote: http://somewhere works but not https://somewhere. somewhereovertherainbow is ca-sna-pm01 error when trying to visit https is: This page can't be displayed * Make sure the web address https://ca-sna-pm01 is correct. * Look for the page with your search engine. * Refresh the page in a few minutes. * Make sure TLS and SSL protocols are enabled. Go to Tools Internet Options Advanced Settings Security * Check that all network cables are plugged in. * Verify that airplane mode is turned off. * Make sure your wireless switch is turned on. * See if you can connect to mobile broadband. * Restart your router. Fix connection problems On Thursday, November 14, 2013 1:24:23 PM UTC-8, Matthew Caron wrote: Nothing in here sets up SSL, or does any VirtualHost stuff. So, I ask again, does https://somewhere.over.the-rainbow.com https://somewhere.over.the-rainbow.com actually work? On 11/14/2013 04:17 PM, Stuart Cracraft wrote: Here is /etc/httpd/conf.d/trac.conf which is being included. ##LogLevel debug Alias /trac/chrome/common /u01/trac/apache/htdocs/common Alias /trac/chrome/site /u01/trac/apache/htdocs/site Directory /u01/trac/apache/htdocs Order allow,deny Allow from all /Directory WSGIScriptAlias /trac /u01/trac/apache/cgi-bin/trac.wsgi Directory /u01/trac/apache/cgi-bin WSGIApplicationGroup %{GLOBAL} Order deny,allow Allow from all /Directory Location /trac/login Order allow,deny Allow from all AuthType Basic AuthName trac AuthBasicProvider ldap AuthLDAPURL ldap://10.201.99.9/ou=ABBREV,dc=somewhereovertherainbow,dc=com?sAMAccountName?sub?(objectClass=user) http://10.201.99.9/ou=ABBREV,dc=somewhereovertherainbow,dc=com?sAMAccountName?sub?(objectClass=user) AuthLDAPBindDN username” AuthLDAPBindPassword usernamesPassword AuthzLDAPAuthoritative off Require valid-user require ldap-group CN=GROUPNAME,CN=Users,DC=somewhereovertherainbow,DC=com Require ldap-attribute memberOf=CN=ABBREV,CN=Users,DC=somewhereovertherainbow,DC=com /Location On Thursday, November 14, 2013 12:22:05 PM UTC-8, Matthew Caron wrote: I see nothing in this config about Trac. I fear you may be missing something. Anyway, I think part of the issue may be: ServerName somewhere.over.the-rainbow.com:80 http://somewhere.over.the-rainbow.com:80 http://somewhere.over.the-rainbow.com:80 http://somewhere.over.the-rainbow.com:80 I've never used this format before (I use an overall Listen directive, and then a NameVirtualHost and separate VirtualHost directives), but reading the apache docs, this suggests that the server will only listen on port 80. So, no SSL. Have you verified that connecting to https://somewhere.over.the-rainbow.com https://somewhere.over.the-rainbow.com https://somewhere.over.the-rainbow.com https://somewhere.over.the-rainbow.com actually works? If so, it's likely because of this bit: # Load config files from the config directory /etc/httpd/conf.d. # Include conf.d/*.conf So, there may be more configs in there. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net http://www.redlion.net http://www.redlion.net +1 (518) 877-5173 x138 office -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net http://www.redlion.net +1 (518) 877-5173 x138 office -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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
Re: [Trac] Re: sorry, here is our config
On 10/30/2013 05:48 PM, Stuart Cracraft wrote: a trac_admin, which is desired. But, even more desirable is not having to add my name to the neededGroup membership list at all. I.e. it would know my name is part of the neededGroup list in LDAP. Is that possible with TRAC? We want to minimize maintenance overhead and administration chores. I don't know. I mean, LDAP doesn't have any concept of Trac permissions, so it's reasonable to presume that you would need to define group permissions for an LDAP group in Trac. The real question, then is if Trac can get and apply LDAP group memberships. So, all that said, I did a google for Trac LDAP group, and found: http://trac-hacks.org/wiki/LdapPlugin Which states: == LDAP support with group management has been added as a Trac extension. This extension enables the use of existing LDAP groups to grant permissions rather than defining permissions for every single user on the system. The latest release also permits storage of permissions (both users and groups permissions) in the LDAP directory itself rather than in the SQL backend. The original proposal for LDAP ACL is documented under ticket trac:#535 on the official web site. This plugin uses the same license as Trac. == So, this apparently not only allows you to use LDAP groups in Trac, but also invalidates my previous assertion that LDAP doesn't know Trac perms (see the second paragraph) - apparently they've added some Trac permissions storage scheme. Very clever. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] sorry, here is our config
On 10/30/2013 04:23 PM, Stuart Cracraft wrote: // The issue is LDAP logs in but even though I am // a member of a group, I don't have browse capability. Did you give authenticated users and/or members of that group (assuming Trac even sees the LDAP group, I'm not sure) appropriate permissions in admin/general/perm? In my experience, setting these perms is required regardless of auth backend. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] Re: sorry, here is our config
] default_anonymous_query = status!=closedcc~=$USER default_query = status!=closedowner=$USER items_per_page = 100 ticketlink_query = ?status=!closed [report] items_per_page = 100 items_per_page_rss = 0 [revisionlog] default_log_limit = 100 graph_colors = ['#cc0', '#0c0', '#0cc', '#00c', '#c0c', '#c00'] [roadmap] stats_provider = DefaultTicketGroupStatsProvider [search] min_query_length = 3 [ticket] default_cc = default_component = default_description = default_keywords = default_milestone = default_owner = default default_priority = major default_resolution = fixed default_severity = default_summary = default_type = defect default_version = max_comment_size = 262144 max_description_size = 262144 preserve_newlines = default restrict_owner = false workflow = ConfigurableTicketWorkflow [ticket-workflow] accept = new,assigned,accepted,reopened - accepted accept.operations = set_owner_to_self accept.permissions = TICKET_MODIFY leave = * - * leave.default = 1 leave.operations = leave_status reassign = new,assigned,accepted,reopened - assigned reassign.operations = set_owner reassign.permissions = TICKET_MODIFY reopen = closed - reopened reopen.operations = del_resolution reopen.permissions = TICKET_CREATE resolve = new,assigned,accepted,reopened - closed resolve.operations = set_resolution resolve.permissions = TICKET_MODIFY [timeline] abbreviated_messages = True changeset_collapse_events = false changeset_long_messages = false changeset_show_files = 0 default_daysback = 30 max_daysback = 90 newticket_formatter = oneliner ticket_show_details = false [trac] authz_file = authz_module_name = auto_preview_timeout = 2.0 auto_reload = False backup_dir = db base_url = database = postgres://tracuser:tracuserpwd@localhost/trac debug_sql = False default_charset = utf-8 default_date_format = default_dateinfo_format = relative default_handler = WikiModule default_language = default_timezone = genshi_cache_size = 128 htdocs_location = jquery_location = jquery_ui_location = jquery_ui_theme_location = mainnav = wiki, timeline, roadmap, browser, tickets, newticket, search metanav = login, logout, prefs, help, about mysqldump_path = mysqldump never_obfuscate_mailto = false permission_policies = DefaultPermissionPolicy, LegacyAttachmentPolicy permission_store = DefaultPermissionStore pg_dump_path = pg_dump repository_sync_per_request = mtg resizable_textareas = true secure_cookies = False show_email_addresses = false show_ip_addresses = false timeout = 20 use_base_url_for_redirect = False use_xsendfile = false [versioncontrol] allowed_repository_dir_prefixes = /u01/svn [wiki] ignore_missing_pages = false max_size = 262144 render_unsafe_content = false safe_schemes = cvs, file, ftp, git, irc, http, https, news, sftp, smb, ssh, svn, svn+ssh split_page_names = false -- 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/groups/opt_out. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] group
When I used LDAP auth for Trac (was actually through Kerberos), I did it all in the apache config using standard Apache bits. http://modauthkerb.sourceforge.net/configure.html Theoretically, you should be able to limit access by URL, assuming it has a concept of groups. If you're using Trac internal auth, or don't want to hack the apache config every time you add a repo, perhaps something with the Account Manager Plugin would work: http://trac-hacks.org/wiki/AccountManagerPlugin There is an LDAP section which may get you started: http://trac-hacks.org/wiki/AccountManagerPlugin/AuthStores#LDAP (But I've not used it, so I believe here is where my suggestions run out). On 10/28/2013 08:20 PM, Stuart Cracraft wrote: Hi, I am trying to use TRAC in LDAP mode for group authentication. This way, I can successively let appropriate groups in to access appropriate code. Has anyone done this and willing to share? Where do I tell TRAC the list of LDAP groups permitted to access any given repository? Thanks ahead, Stuart -- 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/groups/opt_out. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] problem with trac - thoughts anyone?
On 10/15/2013 05:58 PM, Stuart Cracraft wrote: More to the point: telnet localhost 5432 on the box works to connect to port 5432 and postgres. However, telnet fully-qualified-name-of-localhost 5432 gets a Connection Refused. Making the assumption that you have a single DB and Web server and are not splitting them between two boxen, and further assuming that you are not on the box when you run this command, then this would not be unusual - in such a configuration, you'd want it to only listen on localhost. If you are on the box doing the telnet then the issue is most likely that your `/etc/hosts` is lacking a line for the machine's native host name. Essentially, a machine always needs to be able to resolve its own name, regardless of whether DNS is working or not. So, it's customary to have lines like: 127.0.0.1 localhost 127.0.1.1 fully-qualified-name-of-localhost unqualified-name-of-localhost The fix here was in postgresql.conf to update the listen_addresses = '*' (for development only) field appropriately (uncommenting it) and port = 5432 lines and restarting postgresql with /etc/init.d/postgresql restart then retesting with the above telnets... Okay, and once that is done (and the telnet connection works), is trac now able to connect? If not, does the postgres log happen to report anything useful? Also if not, what happens if you attempt to connect to that port using the same credentials and the normal psql client? -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] the current melodrama
On 10/15/2013 06:01 PM, Stuart Cracraft wrote: Now, when I attempt to login to: http://someservername/trac/login where someservername is the one with the other stuff I've been writing about, it says: Does the webserver or trac log file say anything interesting? Also, can you describe your setup in more detail? I gather that you're using trac and postgres, but that doesn't say what webserver you're using or how you're arranging things. For example, I'm using Trac on Ubuntu 12.04, using a postgres database backend, and hosted on Apache using the WSGI backend. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] URGENT
http://bit.ly/1apEhDK On 10/16/2013 02:32 PM, Stuart Cracraft wrote: They are NOT easily searchable. On Wednesday, October 16, 2013 11:19:09 AM UTC-7, Coderanger wrote: I don't really watch this list very much anymore and you have managed to irritate even me. Please cool it with the million messages about easily searchable error messages. You might imagine, the correct response to that error is to look in your Trac log for more information. --Noah On Oct 16, 2013, at 11:15 AM, Stuart Cracraft smcra...@gmail.com javascript: wrote: Getting this error. Why? Warning: Can't synchronize with repository stuart (Unsupported version control system svn: Can't find an appropriate component, maybe the corresponding plugin was not enabled? ). Look in the Trac log for more information. -- 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+...@googlegroups.com javascript:. To post to this group, send email to trac-...@googlegroups.com javascript:. Visit this group at http://groups.google.com/group/trac-users http://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/groups/opt_out https://groups.google.com/groups/opt_out. -- 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/groups/opt_out. -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] problem with trac - thoughts anyone?
On 10/15/2013 01:42 PM, Stuart Cracraft wrote: TimeoutError: Unable to get database connection within 0 seconds. (OperationalError: could not connect to server: Connection refused Is the server running on host ca-sna-pm01 and accepting TCP/IP connections on port 5432? Have you answered its question? -- Matthew Caron, Software Build Engineer Red Lion Controls | www.redlion.net +1 (518) 877-5173 x138 office -- 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/groups/opt_out.
Re: [Trac] Transferring project from one computer to another.
On 10/18/2012 11:41 AM, Harel Nevo wrote: Hi, I'm having problems with our computer where Trac installed. I got a new computer and installed Trac from start, I went over all stages till creating a new project. Now, I want to transfer all Trac information from the old computer to the new one... Is there any way to do it ? without loosing any configuration / data ? 1. Copy over the trac directory 2. Dump and restore the trac DB (which is unnecessary if you're using SQLite, because it's self-contained in the trac directory). Everything else is platform configuration (webserver, etc.) As a general case, you should just be able to copy over those files as well, but it depends on your specific situation. -- Matthew Caron, Software Build Engineer Sixnet, a Red Lion business | www.sixnet.com +1 (518) 877-5173 x138 office -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Email2Trac: None-1 (236.7 kB) -should be myfile.pdf?
On 10/03/2012 06:05 PM, Lukasz Szybalski wrote: Hello, I've been running a email2trac plugin for a while, and this is a first time I'm having trouble with trac not being able to decoded the attachment properly. ... htmlbody style=3Dfont-family : arial, tahoma, sans-serif; fon= t-size : 10pt/body/html boundary_4_cc760ab8-c89d-410d-9943-8117bbe33377 Content-Type: application/octet-stream; name=CompanyApp.pdf Content-Transfer-Encoding: base64 Content-Disposition: attachment Isn't the mime type for PDF supposed to be application/pdf? I bet that email2trac (or possibly trac itself, depending on who does the import) is strictly following the RFC and Thunderbird has a workaround (likely a match on .pdf). -- Matthew Caron, Software Build Engineer Sixnet, a Red Lion business | www.sixnet.com +1 (518) 877-5173 x138 office -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Git hooks script in bare repository
On 08/29/2012 11:09 AM, ynoslenav wrote: To make connections between commits and tickets in which repository do i have to put the scripts post-receive and post-commit? bare or local repository or other? I'd think it would depend on your setup. Where I work, we put them in the repository on the server to which everyone pushes changes and nightly builds are pulled from. -- Matthew Caron, Software Build Engineer Sixnet, a Red Lion business | www.sixnet.com +1 (518) 877-5173 x138 office -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] How to create a new page?
On 08/16/2012 12:00 PM, Yves S. Garret wrote: I've looked this up on Bing, but I don't get it :) . I don't use Trac enough. Basically, what do I do? I'd like to have a new page and put in a bunch of new instructions for other users. I clicked on Edit This Page, added the title of my new document in a list and then saved... but there was no link generated that would permit me to go and modify my new page... it was just text. Did you CamelCase the page name, or enclose use a [wiki:pagename] tag? -- Matthew Caron, Software Build Engineer Sixnet, a Red Lion business | www.sixnet.com +1 (518) 877-5173 x138 office -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Share the Wisdom: What's better? Hosting trac on Windows or Linux?
On 08/14/2012 03:58 PM, ChiefEngr wrote: My question? Well, should I host this server on a Windows box or a Linux box? My default choice is Trac + Git on Linux. 1. On revision control: However, given the love Windows users have for GUIs and IDEs, you might want to take a long look at Mercurial (hg), which is what my wife uses at her shop (predominantly Windows-based development using C# and Java, with Linux server backends). It integrates more nicely with things and doesn't scare the n00bs. I wouldn't set up new projects with SVN. Once you really get used to using a DVCS, you'll wonder how you got by without it. One caveat - if you're going to be doing a lot of FLOSS, git may be preferable to hg, because it has greater market penetration into that sector. Since my job is mainly Linux-based FLOSS, and most of us are on Linux (or the first thing we do on Windows is install Cygwin) we use git here. 2. On servers: I've been quite fond of Ubuntu LTS server for the past 5 years or so. apt is fast, all the breaking of things Canonical has done has been on the workstation side (Unity, blech!), and it's got a 5 year support cycle for LTS. Debian is another solid choice. I tend to not like rpm-based distros because they take so long to query their DBs when installing packages (I literally can start a query, ssh into a debian machine, run that query, get my result, log off, and the RPM query will still be running). Also compelling is the automatic updating of pretty much everything. Basically, there are two buckets - things you install manually and things that come from repositories. The former, you have to keep updated yourself. The latter get updated automatically, as part of the OS. I find that, with Windows, the former list is rather large, and they may or may not implement their own update mechanism. As such, the maintenance overhead under Linux ends up being much less for me, because I don't need to manually install updates for everything. I just periodically log in to the server and check for updates, then install whatever it finds. Heck, you can even configure it to automatically silently install all critical updates. So, for a normal Trac installation, the only things I find myself having to update manually are the Trac install (because we've modified the source) and plugins. -- Matthew Caron, Software Build Engineer Sixnet, a Red Lion business | www.sixnet.com +1 (518) 877-5173 x138 office -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Re: install trac0.12.3 on centos6,httpd config file error info,help to resolve this.thanks
On 07/05/2012 06:09 AM, Bin Hou wrote: The trac access more slowly,why? is it sqlite db?need some plugins? Thank you very much. If several people are using Trac at the same time with a sqlite backend, it can be slow, and eventually will start to time out. In my experience, that seems to be around 5 heavy users. -- Matthew Caron, Build Engineer Sixnet, a Red Lion business | www.sixnet.com +1 (518) 877-5173 x138 office -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Re: Just started using trac, clicked on project link and get ValueError: too many values to unpack
On 07/03/2012 02:13 PM, John of NOVA wrote: return self.cursor.execute(sql_escape_percent(sql), args) ProgrammingError: relation session does not exist LINE 2: SELECT last_visit FROM session WHERE sid=E'ba475... It would appear that you did not create the tables in your database. -- Matthew Caron, Build Engineer Sixnet, a Red Lion business | www.sixnet.com +1 (518) 877-5173 x138 office -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Re: Just started using trac, clicked on project link and get ValueError: too many values to unpack
On 07/03/2012 03:41 PM, John of NOVA wrote: Hmm...none of the pages I looked at for installation guidance stated what tables had to be created. I figured the project auto-generated them...ok thanks. http://trac.edgewall.org/wiki/TracEnvironment#PostgreSQLConnectionString Note that with PostgreSQL you will have to create the database before running trac-admin initenv. -- Matthew Caron, Build Engineer Sixnet, a Red Lion business | www.sixnet.com +1 (518) 877-5173 x138 office -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] I keep getting my email rejected - please help...
to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en. -- Matthew Caron, Build Engineer Sixnet, a Red Lion business | www.sixnet.com +1 (518) 877-5173 x138 office -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Re: Even though path is correct, I get an error bash: git-receive-pack: command not found.
On 06/27/2012 09:23 PM, mbs400 wrote: Glad I could help. But if instead of logging into the server via ssh, I just issue a remote command (as shown below), then I get the 'non-interactive shell path', which is different from the one above... $ ssh roscoe@192.168.1.45 'echo $PATH;' --- /usr/bin:/bin:/usr/sbin:/sbin Of note on the above - symlinking all the git stuff into /usr/bin would have also fixed the problem. In fact, that's where most Linux distros put it these days, since everyone installs from the package manager and it doesn't put anything in /usr/local (since that's generally for manually installed things). (mattc@E2-06L) ~$ which git /usr/bin/git -- Matthew Caron, Build Engineer Sixnet, a Red Lion business | www.sixnet.com +1 (518) 877-5173 x138 office -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Re: Even though path is correct, I get an error bash: git-receive-pack: command not found.
On 06/26/2012 09:44 PM, mbs400 wrote: Matthew, I ran these on the server as you suggested $ cd /usr/local/bin $ sudo ln -s /usr/local/git/bin/* . but the error is still there. It's possible that /usr/local/bin is not in the noninteractive login path. -- Matthew Caron, Build Engineer Sixnet, a Red Lion business | www.sixnet.com +1 (518) 877-5173 x138 office -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Even though path is correct, I get an error bash: git-receive-pack: command not found.
On 06/25/2012 11:45 PM, mbs400 wrote: When I try to do a $ git push origin master, I get an error bash: git-receive-pack: command not found. When I do a $ which git on the remote server, it gives me the same path /usr/local/git/bin/git, asn shown in echo $PATH. /usr/local/git/bin/git is a nonstandard path, and is something you added to the path yourself, yes? Is is possible that the configuration file you used only applies to login shells, and not for a noninteractive shell? As a general case, rather than continually adding to the path and growing it ever longer, I tend to symlink things in to the correct spots. So: cd /usr/local/bin ln -s /usr/local/git/bin/* . It also has a nice secondary effect of avoiding problems like this. -- Matthew Caron, Build Engineer Sixnet, a Red Lion business | www.sixnet.com +1 (518) 877-5173 x138 office -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Unable to get Trac Git working, all my Trac SVN work perfect...
On 06/18/2012 06:44 PM, mbs400 wrote: ( 2 ) I have no clue how to patch, the install (can you point me in the right direction. I know it's a lot to ask but perhaps you might be so kind to list the steps ?. I wouldn't ask, but I've been working on this for days now..), which was : $ sudo easy_install http://github.com/hvr/trac-git-plugin/tarball/master And that is the problem with easy installs. They hide complexity, so what otherwise would be an intuitive learning curve becomes a crash course. This is why we don't use them, and every plugin and the core trac source is mirrored locally because we hack the crap out of them. Anyway git clone https://github.com/hvr/trac-git-plugin.git cd trac-git-plugin/ git remote add patch https://github.com/choey/trac-git-plugin.git git fetch patch git merge patch/master python setup.py bdist_egg cp dist/TracGit-0.12.0.5dev-py2.6.egg wherever the egg goes restart trac -- Matthew Caron, Build Engineer Sixnet, a Red Lion business | www.sixnet.com +1 (518) 877-5173 x138 office -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Do people use mod_python or mod_wsgi these days, on Windows with Apache?
On 06/18/2012 10:34 PM, Warren Postma wrote: So, Today, in 2012, what is the best way to run Trac, if I want to use Apache httpd server? It seems Mod_WSGI is not available in a flavor that is precompiled that runs with Apache httpd 2.2.22 or 2.4.2. If I want to go with mod_python, and stay with the now-ancient seeming Python 2.5, that's one path. But I'd really like to use Python 2.7, and Apache, on Windows. We use mod_wsgi, on Linux. Specifically Ubuntu 10.04 LTS (to be upgraded to 12.04, likely in late Q3, early Q4). WSGI installation is sudo apt-get install libapache2-mod-wsgi. As an aside, I honestly don't know how you can deal with OS's without a centralized package management system - I'd hang myself from the rafters with Cat5. Unless I'm rolling my own distro, or using something super bleeding edge, I just want to apt-get or yum install something and get on with getting things done. Then again, some folks still prefer writing code in assembler, not one of those newfangled high level languages like C. It takes all kinds, I suppose. -- Matthew Caron, Build Engineer Sixnet, a Red Lion business | www.sixnet.com +1 (518) 877-5173 x138 office -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Unable to get Trac Git working, all my Trac SVN work perfect...
On 06/19/2012 01:17 PM, mbs400 wrote: Being new to GIT having the commands in the correct order is fantastic. I can now read up on these commands, and even though the general gist makes sense, it will actually be extremely helpful to read up on the process of patching. Glad to be of service. git makes your brain hurt for the first month or so, then you wondered how you lived without it. (The same could be said for mercurial and others, which work similarly). -- Matthew Caron, Build Engineer Sixnet, a Red Lion business | www.sixnet.com +1 (518) 877-5173 x138 office -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Reuse Trac groups on Subversion right access
On 02/14/2012 03:32 AM, Alvaro wrote: Hello, What I am looking for is a plugin that may permit to use a Trac group as a Subversion group - Like that, the Trac group may be used directly on the Subversion path without having to do 2 entries each time. I do not know of such a plugin and looking around TH doesn't show anything like this. Do you have some ideas about it ? You could write one. Trac plugins are pretty simple. -- Matthew Caron, Build Engineer Sixnet, a Red Lion business | www.sixnet.com +1 (518) 877-5173 x138 office -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Reuse Trac groups on Subversion right access
On 02/14/2012 03:32 AM, Alvaro wrote: What I am looking for is a plugin that may permit to use a Trac group as a Subversion group - Like that, the Trac group may be used directly on the Subversion path without having to do 2 entries each time. Do you have some ideas about it ? Another option - cli script it. Write a wrapper script from the CLI which takes all necessary information, then adds the user to both Trac and SVN. You could then extend said script (or wrap it again) with additional functionality to take some input list of all your users (say, a CSV file you get from a spreadsheet from HR) and then you can just batch import all the existing users. -- Matthew Caron, Build Engineer Sixnet, a Red Lion business | www.sixnet.com +1 (518) 877-5173 x138 office -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Howto move and update a server ?!?
On 02/15/2012 08:00 AM, koch.peerjoac...@googlemail.com wrote: What's the best way to transfer everything AND doing and upgrade ? 1. Dump/load SQL tables. 2. Copy over your trac env. If that doesn't work, you'll have to be more specific as to your config, etc. and what part doesn't work. -- Matthew Caron, Build Engineer Sixnet, a Red Lion business | www.sixnet.com +1 (518) 877-5173 x138 office -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Re: Trac menu entries disappeared
On 01/28/2012 08:16 AM, SunTracker wrote: This is my new wsgi script: --- import trac.web.main import trac.db.sqlite_backend import trac.wiki.web_ui application = trac.web.main.dispatch_request --- Why did you create your own? I just used the one generated by trac-admin deploy and it worked fine. Here is mine for reference: {{{ #!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright (C)2008-2009 Edgewall Software # Copyright (C) 2008 Noah Kantrowitz n...@coderanger.net # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consists of voluntary contributions made by many # individuals. For the exact contribution history, see the revision # history and logs, available at http://trac.edgewall.org/log/. # # Author: Noah Kantrowitz n...@coderanger.net import os def application(environ, start_request): if not 'trac.env_path_parent_dir' in environ: environ.setdefault('trac.env_path', '/opt/trac/eng') if 'PYTHON_EGG_CACHE' in environ: os.environ['PYTHON_EGG_CACHE'] = environ['PYTHON_EGG_CACHE'] elif 'trac.env_path' in environ: os.environ['PYTHON_EGG_CACHE'] = os.path.join(environ['trac.env_path'], '.egg-cache') elif 'trac.env_path_parent_dir' in environ: os.environ['PYTHON_EGG_CACHE'] = os.path.join(environ['trac.env_path_parent_dir'], '.egg-cache') from trac.web.main import dispatch_request return dispatch_request(environ, start_request) }}} Here is a screenshot that should explain the problem that I am facing (sorry I need to split the url, otherwise the message cannot be posted) http://img854 DOT imageshack DOT us/img854/1918/ bildschirmfoto20120128u.png Why can't you just post proper links? -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] installing trac 0.12 in fastcgi mod. Apache configuration issue
On 01/27/2012 09:52 AM, simo wrote: Hi list, I've trac 0.12 installed on my server. I used it for a while using mod_python but it made apache cpu overloaded an crashed. I'm switching in now to fastcgi mod. It's getting ok but I still have 2 main problems : - CSS styles are not loaded anymore (and js I guess) - I'm able to display the root page but any page throw a 404 error. I bet these two are related - it likely can't find them. What do the apache logs say when you get a 404? DocumentRoot /var/trac/linea21 ScriptAlias / /home/simon/0.12dev/cgi-bin/trac.fcgi I concur with Mark Cooke. This seems wrong. My setup transposed to yours would be: ScriptAlias /trac /home/simon/0.12dev/cgi-bin/trac.fcgi Try that. I know it won't give you the I go to the base servername and get what I want, but that's what redirect rules are for. I have the following, transposed to your sites: # Redirect bare requests to /trac RewriteCond %{REQUEST_URI} ^/$ RewriteRule ^(.*)$ https://dev.linea21.com/trac%{REQUEST_URI} (And it occurs to me that the above is actually overly complex, but it's been in production for 3 years so I'm loathe to change it just for the sake of style). However, the following should work just fine: RewriteRule ^/$ /trac/ [R] (The [R] makes it a redirect) I run trac 0.12 on apache2 with fastcgi_mod on ubuntu server 8.04 You know Ubuntu 8.04 is going to be EOL in April of 2013, right? If this is a new installation, you might consider upgrading.. or are you waiting for 12.04? -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Re: installing trac 0.12 in fastcgi mod. Apache configuration issue
On 01/30/2012 09:48 AM, simo wrote: Thanks for your help ... I think I should give you more information. Sorry for not saying that before. Actually, as I said, I've installed trac using easy_install. There is a python egg in /usr/lib/python2.5/site-packages but I can't find any trac folder into /usr/share/ ! I don't have a trac folder in /usr/share either. Is that normal? Where can it be? How can I find it ? Wouldn't: locate trac find things? I've created an alias to sources (I got from svn) in /home/simon/ 0.12dev/cgi-bin/trac.fcgi ... but It seems it does not work since apache error logs are, as followed : -- [Mon Jan 30 13:58:55 2012] [error] [client 81.185.145.232] script not found or unable to stat: /home/simon/0.12dev/cgi-bin/trac.fcgivar, referer: http://dev.linea21.com/ yeah, that's odd - it's trying to find the script: /home/simon/0.12dev/cgi-bin/trac.fcgivar why is there a var on the end? [Mon Jan 30 13:58:55 2012] [error] [client 81.185.145.232] script not found or unable to stat: /home/simon/0.12dev/cgi-bin/trac.fcgichrome, referer: http://dev.linea21.com/ Aha... and here's this! It's trying to go to: dev.linea21.com/var and: dev.linea21.com/chrome So, remove the base URL, and you get: /var /chrome Except / is an alias for /home/simon/0.12dev/cgi-bin/trac.fcgi. Subbing that in, you get: /home/simon/0.12dev/cgi-bin/trac.fcgi/var /home/simon/0.12dev/cgi-bin/trac.fcgi/chrome And there is your problem. Try my suggestion of changing the ScriptAlias to /trac instead of /. Matthew Regarding Ubuntu 8.04, My hosting provider has stop maintenance on the service I get so there is no upgrade anymore. Since, I've just made a clean install, I keep it for some times... Good luck with that. I'd be very afraid of running something with no security updates. I just finished upgrading all my machines to 10.04. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Re: installing trac 0.12 in fastcgi mod. Apache configuration issue
On 01/30/2012 01:09 PM, simo wrote: If it's new, you may need to sudo updatedb. Did it but it doesn't change anything ! Then it's not in any other place, and that could be part of your issue. Where are all your trac guts? The attachments, trac.ini, etc? Without them, this won't work. Firstly, it doesn't look like you turned on the RewriteEngine, so those lines aren't doing anything, and I'd leave them commented out until you have the rest of it working. Yes, I turned it on Okay. Also, why are you bothering with fcgi? wsgi is faster, and it's actually what I'm using... I just have old fcgi config around. Ok for me to use wsgi. I installed and enabled the apache module. I had a glance on that page ( http://trac.edgewall.org/wiki/TracModWSGI ), but I'm not familiar with python environnement and don't really know what to do, specifically regarding the script. I'm willing to follow your instructions. Okay. firstly, I apologize - I pasted the wrong file originally. I sent the .wsgi script, not the .fcgi script. This is the .fcgi script: {{{ (mattc@eng) /opt/trac/eng/static-htdocs/cgi-bin$ less trac.fcgi #!/usr/bin/python # -*- coding: utf-8 -*- # # Copyright (C) 2003-2009 Edgewall Software # Copyright (C) 2003-2004 Jonas Borgström jo...@edgewall.com # All rights reserved. # # This software is licensed as described in the file COPYING, which # you should have received as part of this distribution. The terms # are also available at http://trac.edgewall.org/wiki/TracLicense. # # This software consists of voluntary contributions made by many # individuals. For the exact contribution history, see the revision # history and logs, available at http://trac.edgewall.org/log/. # # Author: Jonas Borgström jo...@edgewall.com try: import os import pkg_resources if 'TRAC_ENV' not in os.environ and \ 'TRAC_ENV_PARENT_DIR' not in os.environ: os.environ['TRAC_ENV'] = '/opt/trac/eng' if 'PYTHON_EGG_CACHE' not in os.environ: if 'TRAC_ENV' in os.environ: egg_cache = os.path.join(os.environ['TRAC_ENV'], '.egg-cache') elif 'TRAC_ENV_PARENT_DIR' in os.environ: egg_cache = os.path.join(os.environ['TRAC_ENV_PARENT_DIR'], '.egg-cache') pkg_resources.set_extraction_path(egg_cache) from trac.web import fcgi_frontend fcgi_frontend.run() except SystemExit: raise except Exception, e: print 'Content-Type: text/plain\r\n\r\n', print 'Oops...' print print 'Trac detected an internal error:' print print e print import traceback import StringIO tb = StringIO.StringIO() traceback.print_exc(file=tb) print tb.getvalue() }}} All that said, with wsgi turned on, do: trac-admin env deploy dir and that will do put all the right bits specified by the trac instance in env into the directory dir Here is my httpd.conf, somewhat munged to remove stuff which is specific to my company. Comments are in comment so you know to replace/remove them. {{{ VirtualHost *: ServerName server name ServerAlias trac # Serve (relatively) static chrome files directly from the # filesystem. Use trac-admin's deploy command to create the # static-htdocs directory: Alias /trac/chrome base trac path /static-htdocs/htdocs Directory base trac path /static-htdocs/htdocs Order allow,deny Allow from all /Directory WSGIDaemonProcess trac user=www-data group=www-data threads=50 WSGIScriptAlias /trac path to wsgi file created by deploy RewriteEngine on # RewriteLog /var/log/apache2/rewrite.log # RewriteLogLevel 9 # It seems mod_fcgid/mod_wsgi includes _only_ the environment values # specifically set below, so we do need to set LANG here explicitly. DefaultInitEnv LANG en_US.UTF-8 DefaultInitEnv TRAC_ENV your path to base trac location here # Redirect bare requests to /trac RewriteCond %{REQUEST_URI} ^/$ RewriteRule ^(.*)$ your URL here /trac%{REQUEST_URI} Directory /your path to base trac location here /static-htdocs/cgi-bin/ WSGIProcessGroup trac WSGIApplicationGroup %{GLOBAL} Order deny,allow Allow from all /Directory Location /trac SetEnv TRAC_ENV your path to base trac location here /Location Location /trac/login your login credential stuff goes here /Location /VirtualHost }}} -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] session table and session_attribute table with many records
On 01/17/2012 04:08 PM, Rodrigo wrote: Hello, I the company where I work we are using trac 0.11.7 We are getting many database locks and it is really slow when someone tries to log in. If you are using SQLite and have more than a few users, you should switch to a RDBMS designed for greater workloads. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
[Trac] Strange page load hang
So, I have a page on my Trac wiki, and whenever I go to it, the page load never ends. As in, it literally just sits there forever (hours) and never times out. A random sample of other pages seem to work fine. If I append a ?version=whatever I can get any version of the page (even the most recent) without issue. If I add an ?action=edit, I can edit the current version of the page, and if I copy and paste that into another page, it renders just fine. I can also dump the contents of the page out of the DB without a problem. Anyone have any ideas? It's a very heavily-used page, and if I can't find a solution soon, I'm likely just going to delete the original and rename the copy over it. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] TracError: The Trac Environment needs to be upgraded.
On 10/19/2011 02:41 PM, Martin Landa wrote: Hi, Trac Error TracError: The Trac Environment needs to be upgraded. Run trac-admin /opt/trac/qgama upgrade OK, strange, anyway when running `upgrade` command nothing happen. What user are you running trac-admin as? -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Does anyone have a script to change email addresses?
On 09/27/2011 08:44 AM, Cooke, Mark wrote: Does anyone have a python script they can share for going through a trac environment to change or remove specific email addresses? Why not just delete them from the DB from the CLI? -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Does anyone have a script to change email addresses?
On 09/27/2011 08:56 AM, Cooke, Mark wrote: ...because I am not sure where the email addresses are stored and I was hoping someone might have already done this! trac=# select sid, value from session_attribute where name = 'email'; Whenever someone leaves, we: 1. Reassign all their tickets using batch reassign 2. Remove the user's permissions (via the web UI) 3. Reassign any components the user owns 4. Remove the session data so that the user doesn't show up in the drop down assignment list: {{{ delete from session where sid = 'username'; delete from session_attribute where sid = 'username'; }}} That's where I'll go next if noone has anything I can pick up. The users in question are not in the session tables so the emails must be in the ticket data somewhere... Likely in session_attribute, but if they're not there, they may also be in the ticket's CC list as explicit emails (as that field does username - email lookups or can take explicit emails as well, IIRC) select id,cc from ticket; It's also possible that the reporter field does the same thing: select id,reporter from ticket; Of course, you can limit it to explicit emails via something like: select id,cc from ticket where cc ~ '.@.'; or whatnot. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Does anyone have a script to change email addresses?
On 09/27/2011 10:09 AM, Cooke, Mark wrote: Hi Matthew, Chris, Thanks for the help so far... We aim to please. Whenever someone leaves, we: 1. Reassign all their tickets using batch reassign ...is that a trac-hack? Yes indeed. http://trac-hacks.org/wiki/BatchModifyPlugin Thanks very much, that is most helpful. Of course *smack forehead* the other possibility is that bugzilla used email addresses as usernames... So I need to check the reporter and owner values too. That wouldn't surprise me. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Copying an existing TRAC ticket
On 07/28/2011 03:13 PM, Wendy wrote: I'm new to TRACmy company uses it. I'm curious if there is a copy function when creating TRAC tickets? Can you copy an existing TRAC ticket? Thanks for any helpful hints. Wendy http://trac-hacks.org/wiki/CloneTicketPlugin -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Trac evaluation
On 07/13/2011 11:39 AM, Thad Smith wrote: How easy is it to configure to use a severity label for the appropriate field Easy. This is configurable via the web ui, or the .ini file. and to change time stamps to absolute? More difficult. It will require hacking on core trac or writing a plugin. One may exist already, but if so, I'm not aware of it. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Question concerning trac database size
On 06/17/2011 08:21 AM, Christofer Engberg wrote: Thanks for sharing Matthew. Which version of trac are you running? 0.11.6 Which version of SQLite are you running? At the time, it was 3.4.2. We've now moved to PostgreSQL. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Question concerning trac database size
On 06/15/2011 07:06 AM, Christofer Engberg wrote: We are using SQLite. So far we have no perfomance issues but we are interested in getting knowledge about problems other users might have concerning - performance issues, if any After we grew to about 10 people heavily using trac, SQLite couldn't handle the concurrency, and would time out on waiting for the table to be unlocked if two people tried to update tickets at the same time. That's really the only issue we've ever seen with SQLite. We haven't had full disk issues because we always had plenty of free space, and our DB didn't get larger than 52MB. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] max attachment size (not the usual trac.ini fix)
configure him to let this work? I know mod_python is a dead dodo, what do the newer versions of TRAC use in it's place? mod_wsgi -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Re: How Trac integrate with Subversion
On 06/07/2011 10:01 PM, fiona wrote: How to config apache?you mean httpd.conf file? Depends on how your distribution sets it up. can you tell me how to configure it? ::)) Start here: http://trac.edgewall.org/wiki/TracInstall#RunningTraconaWebServer Basically, you need to set up apache conf sections for Trac. Exactly how to do this depends on how your Linux distribution does it, or if you're using Windows, it would be different still. Here is an edited version of mine which might help you get started. However, this depends on your apache being set up to do name based virtual hosts, so you'd need to enable that. # trac serves trac VirtualHost *:80 ServerName trac.sixnetio.com ServerAlias trac WSGIDaemonProcess trac user=www-data group=www-data threads=50 WSGIScriptAlias /trac /opt/trac/eng/static-htdocs/cgi-bin/trac.wsgi RewriteEngine on #RewriteLog /var/log/apache2/rewrite.log #RewriteLogLevel 9 Location /trac/login AuthType Basic AuthName Trac AuthUserFile /opt/trac/eng/eng.htpasswd Require valid-user /Location /VirtualHost As far as more detail goes, I strongly suggest reading the excellent Apache documentation. You can start here: http://httpd.apache.org/docs/ -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Re: How Trac integrate with Subversion
On 06/07/2011 01:52 AM, fiona wrote: I have read http://tortoisesvn.net/docs/release/TortoiseSVN_en/tsvn-dug-bugtracker.html,but the result is not my expectation, when I click the link in the log dialog, it jump to http://***/?do=detailsid=6787,it display It works!, not display the bug details in trac. I made a mistake? Yes. It works is Apache's default page. You need to configure apache to send you to the trac pages, not its own default. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Re: trac-admin uses /python2.4/site-packages, while 2.5 installed
On 06/06/2011 01:45 AM, jarosz wrote: This idea didn't work either. When you reinstalled setuptools and friends, did they actually get installed for python2.5? -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] S.O.S!
On 06/06/2011 11:26 AM, Abhishek Prasad wrote: MemoryError How much memory is free in the server? exception MemoryError Raised when an operation runs out of memory but the situation may still be rescued (by deleting some objects). The associated value is a string indicating what kind of (internal) operation ran out of memory. Note that because of the underlying memory management architecture (C’s malloc() function), the interpreter may not always be able to completely recover from this situation; it nevertheless raises an exception so that a stack traceback can be printed, in case a run-away program was the cause. From: http://docs.python.org/library/exceptions.html -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Re: S.O.S!
On 06/06/2011 12:48 PM, Abhishek Prasad wrote: thanks for your response Matt, this trac instance is running from my workstation and I have 73GB free space. Uhm, that much free RAM? That's quite the server. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Re: trac-admin uses /python2.4/site-packages, while 2.5 installed
On 06/03/2011 03:19 AM, jarosz wrote: which python points to 2.5 reinstalled setuptools, trac, genshi, after upgrading python I think you need to reinstall trac using python 2.5, ie: python2.5 ./setup.py install from the source dir. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] trac-post-commit-hook not working
On 06/01/2011 03:19 AM, rac...@ractoc.com wrote: Content svn post-commit hook: #!/bin/sh REPOS=$1 REV=$2 export PYTHON_EGG_CACHE='/home/ractoc/svn/FIT/hooks/tmp' TRAC_ENV=/home/ractoc/fit.ractoc.com/trac /usr/bin/python /home/ractoc/fit.ractoc.com/trac/contrib/trac-post-commit-hook -p $TRAC_ENV -r $REV Add debug output to this script. See what it is doing. /usr/share/subversion/hook-scripts/commit-email.pl $REPOS $REV rac...@ractoc.com And this one too. The debugging output will help you determine where it is falling down. It's possible that both of them are exiting because, for example, the REPOS variable is wrong, or something. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] trac-post-commit-hook not working
On 06/01/2011 11:14 AM, rac...@ractoc.com wrote: Ah, but my emails are being sent and received correctly. So the commit-email.pl is working as it should. I mainly added this to test that the REPOS and the REV were being set correctly, and the are. Okay, so then the second script is working. Debug the first. It also might help if we know what it was supposed to do, and what it is not doing. Is it possible that there is a problem with my TRAC_ENV? Could be, I set this to the location of my trac webpage. There is one other snag, my trac website runs as a different user. Then likely the user running the hook can't read the env. Could this be causing problems, Yes. and if so, how do I get around that. A couple of ways: 1. Change perms 2. sudo -u website user Seeing that I can' change the owner on either side. Changing the owner on svn breaks my svn and changing the owner of the trac webpage breaks trac. Unsurprising. You can, however, put the svn user in a group, chgrp -R the files so that they're owned by that group, then chmod the files so that group has the necessary permissions. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Cannot load Python bindings for SQLite
On 05/24/2011 05:50 AM, Phil Ewington - iModel wrote: Weird, I configured my project to use Postgres! Why is this error occurring and how do I go about fixing it so that Trac uses Postgres and not SQLite. I did check trac.ini and the database parameter is correctly set as postgres://user:passwd@localhost/project Check the permissions on trac.ini. Make sure the webserver can read it. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Cannot load Python bindings for SQLite
On 05/24/2011 09:05 AM, Phil Ewington - iModel wrote: Check the permissions on trac.ini. Make sure the webserver can read it. OK, trac.ini is now owned by apache and chmoded to 600. Initial error now gone but can't save preferences, I assume this is permissions too, will have a dig around thanks for your help. Make sure the webserver can write to the parent directory as well. I think it creates a temp file then does a copy, so the replacement is atomic. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Error initializing project with MySQL
On 05/19/2011 05:18 PM, Ryan Elliott Turner wrote: using the connection string mysql://user:pw@127.0.0.1/db (credentials check out too, I've connected using mysql workbench), Double check this. I'm not familiar with mysql workbench, but users access is scoped in mysql. If you're connecting to it on localhost with trac, and from another machine with the workbench, it could succeed in one case and fail in another. You need to make sure that the user can access it the same way. To get a proper list, do: mysql -u root -p (log in) use user; select User, Host from user; You'll get a list of users and from where they are allowed to connect. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Webserver can't write to trac.ini
On 05/17/2011 02:23 PM, Dimitri Maziuk wrote: Christian Boos wrote: Yeah, well, I'm sure I'll memorize yet another login and password that I will use most likely never again to add three words to some wiki page. keepassx Aside from the obvious bit where having to make trac.ini world-writable in order to make trac work is wrong. You don't - it just needs to be webserver writeable. Mine: -rw-r- 1 www-data www-data 37201 2011-05-16 18:54 trac.ini Parent dir: drwxrwxr-x 2 www-data admin 4096 2011-03-28 10:58 ./ -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Webserver can't write to trac.ini
On 05/17/2011 02:40 PM, Dimitri Maziuk wrote: If you're the only user on your network and your name is root. I don't follow. If you're rewriting the .ini file through Trac, it arbitrates access to the file, so no matter who logs in to trac, the webserver is what is accessing the filesystem. If you're having folks ssh in and edit the .ini file manually, but don't want them all to be able to edit everyone else's trac .ini files, then yeah, you're doing groups or sudo. Otherwise you're looking at creating and managing lots of groups and most of us just say screw it, chmod -R a+w even before their number hits 32. So, security is hard and I'm a lazy sysadmin? If it makes you feel any better, HBGary Federal and Sony appear to have sysadmins which take a similar view, so you're not alone in the world. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Doing something wrong with apache, but not sure what.
On 05/03/2011 10:36 AM, John wrote: File build/bdist.linux-x86_64/egg/trac/db/pool.py, line 146, in get_cnx TimeoutError: Unable to get database connection within 0 seconds. (trac.core.TracError instance at 0x2af86290) It can't talk to the DB. I've heard rumblings of the .egg unzip issue, but that does not resolve the problem. Could someone please point me in the right direction? I'm not strong in this area. Check permissions. Make sure the user as whom apache runs can access the DB. Assuming SQLite, this means making sure that it can rw the file. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Doing something wrong with apache, but not sure what.
On 05/03/2011 11:09 AM, John Hutchison wrote: Pardon my ignorance, but which specific file? Typically it's tracroot/db/trac.db -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Where is the command line?
On 05/02/2011 10:08 AM, jobxyz wrote: where is the command line tool ? Depends on where your installation installed it. Mine is in /usr/bin. do i have to run something else to get the command line tool? I don't think so. Mine was installed as part of core trac. I see the admin tab - but what i want to do is see how a backup looks like - before i start using the system and i just don't know where to simply run the script I'd open a shell and `locate trac-admin` (which makes some tremendous assumptions about your OS and environment, but we'll start there and see where that gets us). -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Where is the command line?
On 05/02/2011 10:50 AM, jobxyz wrote: I'm using windows and things seem to be installed in C:\Documents and Settings\my name\BitNami Trac Stack repository\ So then: 1. Find the subdirectory of that which has a trac-admin.exe (or similar) file. 2. add the directory you found in step 1 to your path for your shell of choice (you can use the DOS shell, but I tend to install Cygwin BASH. Rumor has it that the shell which comes with Windows 7 is halfway decent as well). If I'm not mistaken /usr/bin is something from Linux no? Yes. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Safe way to remove trac-user
On 04/26/2011 04:12 AM, Masopust, Christian wrote: Hi all, is there a safe (or recommended) way to remove some users that left project? I just delete them from the DB. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: AW: [Trac] Safe way to remove trac-user
On 04/26/2011 08:37 AM, Masopust, Christian wrote: Hi Matthew, just from session- and session_attribute-table? Yes. so i could also use trac-admin ... session delete ..., right? No idea. I wasn't even aware that command existed. However, let me know if that works - seems a little safer. :-) -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Help needed
On 04/20/2011 02:12 AM, Saurav Sagar wrote: SubversionException: ('Revision file lacks trailing newline', 160004) Can you please suggest something for this.. I'd make sure you can check out the repository with SVN. It looks like this is a SVN problem, not a Trac problem. It's reporting that it can't access the SVN revision file because there isn't a trailing newline. One can theoretically add a newline, but I'm not sure that will work - it sounds like things are a bit corrupt. I'd use SVN's tools to try and fix the repository. Once SVN says its okay, then you can try to resync. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Help needed
This happened when I increased the size of the partition where the reos were stored. I presume you both increased the partition *and* the filesystem inhabiting it. Did you fsck the revised partition? -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Trac Environment
On 04/12/2011 05:44 AM, Hasibullah wrote: # chmod 777 -r /usr/local/trac/mysite // i gave full permission after doing this the problem was solved but . This is fine for testing, but is a very bad idea for a permanent solution. Set permissions correctly such that the apache user (whatever user apache runs as) has rw permission to that directory - NOT everyone. It showed this error message and i don't know what to do, i upgraded it but the trac server said no need to upgrade error message Trac Error TracError: The Trac Environment needs to be upgraded. Run trac-admin /usr/local/trac/mysite upgrade If I understand you correctly, you are saying that trac is telling you to run the above command, but when you do it says that there is no need to upgrade, yet when you load trac it still says an upgrade is needed? If so, that is very strange. If not, run that command. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Nothing visible/rendered with TracJSGanttChart
On 03/29/2011 08:46 PM, Eric Ray wrote: 2011-03-29 13:37:30,542 Trac[query] DEBUG: Count results in Query: 0 It looks like you have no results. Doesn't that mean there would be no chart? -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Nothing visible/rendered with TracJSGanttChart
On 03/30/2011 08:53 AM, Eric Ray wrote: I just opened the page (no graph) and did View Source. I see (just the interesting part, obviously) the following code...but no chart. Seems like it knows of stuff to chart. Did the Gantt JS actually get loaded? Like, is it wget-able? Assuming FF, are there any useful JS errors? -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Re: [Trac] Editing Multiple Tickets breaks all but the last one
On 03/16/2011 09:50 AM, sandinak wrote: If you're editing multiple things (ticket/wiki/blog) on the same Trac instance, something happens that breaks all but the last thing you edited. Can you define breaks? I assume it's cookie based. Is there a way to make this NOT happen? Right now I have to open 4 different browsers to get around the problem. I typically open multiple tabs talking to the same Trac instance sharing the same login without issue. This works fine on FF 3, FF 4, and Chrome. -- Matthew Caron Build Engineer Sixnet | www.sixnet.com O +1 518 877 5173 Ext. 138 F +1 518 602 9209 matt.ca...@sixnet.com -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-users@googlegroups.com. To unsubscribe from this group, send email to trac-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.