RE: [Trac] How to move an existing and running trac to a new server
I recently had to migrate around 20 Trac projects from one server to another for work. My process there was just to tarball the whole lot of them and scp them to a new server. However, that was on Unix (much better command-line tools than Windows) and using SQLite DBs, so your mileage may vary. - Josh -- www.oxideinteractive.com.au On 3/8/2010 9:31 PM, Kiesel wrote: Hi Josh, didnt you have to do some backup, using the trac-admin script? Otherwise im wondering how you got the information residing in your sql databse to the new system. /David -Original Message- From: trac-users@googlegroups.com On Behalf Of Josh Godsiff Sent: 04 August 2010 02:43 To: trac-users@googlegroups.com Subject: Re: [Trac] How to move an existing and running trac to a new server SQLite DBs exist as straight files on the filesystem, and reside within the project folder - subsequently, tar-balling the directory also grabs the database. - Josh I use this idea for our backup strategy. Words of caution follow: Make sure that trac (and any dB process) is shutdown (I stop the apache and postgreSQL processes) first to make sure the files are consistent. Make sure that your restore target is as identical as possible ~ same version of OS, dB, trac etc installed. There are always potential issues with just moving data around as the app versions may change how they handle/store/whatever that data. For us, the restore target will be a backup image of the VM (low traffic) so I consider a file level backup easy and quick. You do need to know where the database files are, Josh indicates the SQLite ones are in the trac environment tree. I use PostgreSQL but I set it up and know where the files are (and it is only used for our Trac dBs)... ~ mark c P.S. oh, and I do this on Windows which is not as backwards with such tools these days as some people think... -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-us...@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] How to enable send mail on ticket modification?
Hi, i'm trying to enable the mail notification when a ticket is created or modified. I was looking here: http://trac.edgewall.org/wiki/TracNotification I'm trying to use sendmail. My trac version is 0.12, my server is Ubuntu. And my configuration in trac.ini is the following: [notification] always_notify_owner = true always_notify_reporter = false always_notify_updater = true mime_encoding = base64 smtp_always_bcc = smtp_always_cc = smtp_default_domain = smtp_enabled = true email_server = SendmailEmailSender sendmail_path = /usr/sbin/sendmail smtp_from = t...@4prewo.com smtp_password = smtp_port = 25 smtp_replyto = t...@localhost smtp_server = localhost smtp_subject_prefix = __default__ smtp_user = use_public_cc = false use_short_addr = false use_tls = false But when i modify a ticket trac doesn't send me a mail. What i'm i missing? Is my config file wrong? -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-us...@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] How to enable send mail on ticket modification?
Hi, i'm trying to enable the mail notification when a ticket is created or modified. I was looking here: http://trac.edgewall.org/wiki/TracNotification I'm trying to use sendmail sender. My trac version is 0.12, my server is Ubuntu. And my configuration in trac.ini is the following: [notification] always_notify_owner = true always_notify_reporter = false always_notify_updater = true mime_encoding = base64 smtp_always_bcc = smtp_always_cc = smtp_default_domain = smtp_enabled = true email_server = SendmailEmailSender sendmail_path = /usr/sbin/sendmail smtp_from = t...@localhost smtp_password = smtp_port = 25 smtp_replyto = t...@localhost smtp_server = localhost smtp_subject_prefix = __default__ smtp_user = use_public_cc = false use_short_addr = false use_tls = false But when i modify a ticket trac doesn't send me a mail. What i'm i missing? Is my config file wrong? -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-us...@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] Re: Cannot login to trac from Blackberry browser
Hello Teddy, i've tried to connect to a trac system via my blackberry (pearl). it just works fine. So from my point of view this could not be an trac problem. Rather i think this would be an problem with your bb or your bb browser. Does this problem only appears on your device or on all/some? First (if only your device doesn't work) you could - try to access the page with some other browser, e.g. opera for bb - Reset your mobile phone web cache - try to update your bb Best regards Stefan On 3 Aug., 09:45, Teddy teddy.kar...@gmail.com wrote: Hi, I am using trac for our Courier company as a dispatch/ordering system. As such it is pretty essential that we can log in through our Blackberry browsers... When trying to log-in, we are brought rback to the start page without appearing to be logged in. If I were to click on Preferences, it appears I am logged it. However then I go to do an action (such as view reports or enter a ticket), and it punts us back to the start page without appearing to be logged in. I know this isn't a Blackberry support list, but I am almost positive it is a Trac configuration problem! When we first tested Trac as an option we were able to log-in and use our phones just fine... even on other trac installations (other than ours) it still works fine. We are running the standalone tracd w/ account manager. Ive tried both authentication through the tracd server alone and also through accountmanager's. Any idea? I'm guessing it's some dumb cookie issue... I would greatly GREATLY appreciate any feedback! We are just about done the system and now finding we can't even use it... :( Thank you kindly for your time. :) Teddy -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-us...@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] Batchmodify -- options look blank
I installed BatchModify, and I make a custom query and the checkboxes show up on the left-side of each ticket -- which is great. At the bottom of the page, after the Save Query button, there is a box that says BatchModify in the upper left. But the, box is empty. That is, there is no list of options to modify. Anyone know why there is nothing there? I'm using Trac 0.11. BatchModify 0.7.1-trac0.11, downloading the egg of the plugin website. I have permissions for batch (and I double checked that the checkboxes go away if I removed the permissions) In the trac.ini file, I have batchmod.* = enabled Thanks, -- Samson -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-us...@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] Re: How to enable send mail on ticket modification?
Hello, could you activate your debuggin and give us the error message from console / log-file to isolate the problem? Do you have an running smtp server on port 25 on the system, on which trac ist running? Your config file tells me so smtp_port = 25 smtp_server = localhost the following line where added by an addon? it doesn't look correct, from my point of view... email_server = SendmailEmailSender I attach you an example logfile which uses an gmail smtp account [notification] admit_domains = always_notify_owner = false always_notify_reporter = false always_notify_updater = true ignore_domains = mime_encoding = base64 smtp_always_bcc = smtp_always_cc = smtp_default_domain = smtp_enabled = false smtp_from = no_re...@trac.de smtp_from_name = smtp_password = ... my pw . smtp_port = 587 smtp_replyto = no_re...@trac.de smtp_server = smtp.googlemail.com smtp_subject_prefix = __default__ smtp_user = my user ticket_subject_template = $prefix #$ticket.id: $summary use_public_cc = false use_short_addr = false use_tls = true Best Regards Stefan On 4 Aug., 15:21, nacho vela.igna...@gmail.com wrote: Hi, i'm trying to enable the mail notification when a ticket is created or modified. I was looking here:http://trac.edgewall.org/wiki/TracNotification I'm trying to use sendmail sender. My trac version is 0.12, my server is Ubuntu. And my configuration in trac.ini is the following: [notification] always_notify_owner = true always_notify_reporter = false always_notify_updater = true mime_encoding = base64 smtp_always_bcc = smtp_always_cc = smtp_default_domain = smtp_enabled = true email_server = SendmailEmailSender sendmail_path = /usr/sbin/sendmail smtp_from = t...@localhost smtp_password = smtp_port = 25 smtp_replyto = t...@localhost smtp_server = localhost smtp_subject_prefix = __default__ smtp_user = use_public_cc = false use_short_addr = false use_tls = false But when i modify a ticket trac doesn't send me a mail. What i'm i missing? Is my config file wrong? -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-us...@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] [IEmailSender]
Hello Community, I hope this is the right place to post such questions / problems. I'm like to develop an Trac Plugin to expand the functionality of IEmailSender respectively the email notification system. So my simple question is, which Extension point or Component have I to use, to take a decision if or if not a email notification would be send. Further Information: I would like to give the customer a possibility to set an interval (daily, weekly, directly) for reserving email notification, like it is possible on this google news group. This would be solved by using of threads an the sleep mechanism. But actually it isn't possible to me, to access the event, when an notification has been send. If I use following code, the email would be correctly send, but no event where triggered. What I'm doing wrong? class mailtest(Component): implements(IEmailSender) #IEmailSender def send(self, from_addr, recipients, message): print IEmailSender print From: %s%from_addr print To: %s%recipients print message: %s%message return from_addr, recipients, message Or do I misunderstood the functionality of the given Extension Point? I hope some one could give me a hint how to use this extension point or which Component I have to reuse, to solve my Problem. Thanks for your help Best Regards Stefan -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-us...@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] Re: How to enable send mail on ticket modification?
You are great Stefan!!! It worked perfect. Thanks. :D On 4 ago, 10:51, Stefan stefan.ernst...@googlemail.com wrote: Hello, could you activate your debuggin and give us the error message from console / log-file to isolate the problem? Do you have an running smtp server on port 25 on the system, on which trac ist running? Your config file tells me so smtp_port = 25 smtp_server = localhost the following line where added by an addon? it doesn't look correct, from my point of view... email_server = SendmailEmailSender I attach you an example logfile which uses an gmail smtp account [notification] admit_domains = always_notify_owner = false always_notify_reporter = false always_notify_updater = true ignore_domains = mime_encoding = base64 smtp_always_bcc = smtp_always_cc = smtp_default_domain = smtp_enabled = false smtp_from = no_re...@trac.de smtp_from_name = smtp_password = ... my pw . smtp_port = 587 smtp_replyto = no_re...@trac.de smtp_server = smtp.googlemail.com smtp_subject_prefix = __default__ smtp_user = my user ticket_subject_template = $prefix #$ticket.id: $summary use_public_cc = false use_short_addr = false use_tls = true Best Regards Stefan On 4 Aug., 15:21, nacho vela.igna...@gmail.com wrote: Hi, i'm trying to enable the mail notification when a ticket is created or modified. I was looking here:http://trac.edgewall.org/wiki/TracNotification I'm trying to use sendmail sender. My trac version is 0.12, my server is Ubuntu. And my configuration in trac.ini is the following: [notification] always_notify_owner = true always_notify_reporter = false always_notify_updater = true mime_encoding = base64 smtp_always_bcc = smtp_always_cc = smtp_default_domain = smtp_enabled = true email_server = SendmailEmailSender sendmail_path = /usr/sbin/sendmail smtp_from = t...@localhost smtp_password = smtp_port = 25 smtp_replyto = t...@localhost smtp_server = localhost smtp_subject_prefix = __default__ smtp_user = use_public_cc = false use_short_addr = false use_tls = false But when i modify a ticket trac doesn't send me a mail. What i'm i missing? Is my config file wrong? -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-us...@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] Trac Versioned Documents
I've searched the Trac Hacks and the normal Trac plugin site and I can't quite seem to find a plugin that meets what I'm looking for. I love trac and the way it functions so far. I would like to use the wiki to manage some of the documents for my project like business requirements and models and documentation. The default to me seems to be just to be able to attach documents to a particular page. I see that you can overwrite them with another document so if you make changes to the document you can update what is stored on the page. But it would make more sense to only have one copy of the document that is stored as the attachment to the page and you can edit it and save it automatically. Does anyone know of a particular plugin that adds this functionality? Thank you for anyone who takes time to respond! Matt -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-us...@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 Versioned Documents
This is not something Trac is really built for, and making a document control system plugin would be quite an undertaking. On the other hand, why not just make each document into a wiki page? If that isn't an option, your next best bet is to use a real version control tool like Subversion, Mercurial, or Git. --Noah On Aug 4, 2010, at 8:44 PM, Mathew Phillips wrote: I've searched the Trac Hacks and the normal Trac plugin site and I can't quite seem to find a plugin that meets what I'm looking for. I love trac and the way it functions so far. I would like to use the wiki to manage some of the documents for my project like business requirements and models and documentation. The default to me seems to be just to be able to attach documents to a particular page. I see that you can overwrite them with another document so if you make changes to the document you can update what is stored on the page. But it would make more sense to only have one copy of the document that is stored as the attachment to the page and you can edit it and save it automatically. Does anyone know of a particular plugin that adds this functionality? Thank you for anyone who takes time to respond! Matt -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-us...@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. -- You received this message because you are subscribed to the Google Groups Trac Users group. To post to this group, send email to trac-us...@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.