Re: [rt-users] RT on Ubuntu 12

2013-02-17 Thread Martin
Paul Tomblin  xcski.com> writes:

> 
> On Thu, Jun 21, 2012 at 11:33 AM, Borngunners  aol.com> 
wrote:
> > Can't locate JSON.pm in @INC (@INC contains: /opt/rt4/sbin/../local/lib
> > /opt/rt4/local/plugins/RT-Authen-ExternalAuth/lib /opt/rt4/sbin/../lib
> > /etc/perl /usr/local/lib/perl/5.14.2 /usr/local/share/perl/5.14.2
> > /usr/lib/perl5 /us
> 
> If you're missing JSON.pm, then you never ran "make testdeps" and
> "make fixdeps" when you installed.
> 
> Go back and install it properly, following *all* the instructions.
> 


Hi paul

Just wanted to share that i recieved the same error

[Fri Feb 15 18:48:12 2013] [error] [client 202.188.59.1] failed to resolve 
handler `Plack::Handler::Apache2': Can't locate Plack/Handler/Apache2.pm in 
@INC 
(@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 
/usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 
/usr/share/perl/5.14 /usr/local/lib/site_perl . /etc/apache2) at (eval 2) line 
2.\n

So i did

apt-get install libplack-perl

next i also encountered the error Can't locate JSON.pm

guys you should know prior to this i ran make testdeps and all dependencies 
were 
found

There were other modules missing every time i restarted the apache and i 
installed them before it finally worked


apt-get install libtext-password-pronounceable-perl
apt-get install libjson-perl
apt-get install libregexp-ipv6-perl
apt-get install libregexp-common-net-cidr-perl
apt-get install libdevel-globaldestruction-perl
apt-get install libhtml-mason-psgihandler-perl
apt-get install libcgi-emulate-psgi-perl

Now the problem is i cant login using root and password from the web interface

Some one please give me suggestions.
thanks





-- 
RT training in Amsterdam, March 20-21: 
http://bestpractical.com/services/training.html

Help improve RT by taking our user survey: 
https://www.surveymonkey.com/s/N23JW9T


Re: [rt-users] RT 3.8.9 Installation

2013-02-17 Thread Martin
Kevin Falcone  bestpractical.com> writes:

> 
> On Fri, Feb 15, 2013 at 09:42:37AM +, Martin wrote:
> > 
> > But later when editing my /etc/apache2/sites-available/rt4
> > 
> > as below
> > 
> > FastCgiServer /opt/rt4/sbin/rt-server.fcgi -processes 5 -idle-timeout 300
> > 
> > 
> > ### Optional apache logs for RT
> > # Ensure that your log rotation scripts know about these files
> > # ErrorLog /opt/rt4/var/log/apache2.error
> > # TransferLog /opt/rt4/var/log/apache2.access
> > # LogLevel debug
> > 
> > AddDefaultCharset UTF-8
> > 
> > Alias /NoAuth/images/ /opt/rt4/share/html/NoAuth/images/
> > ScriptAlias / /opt/rt4/sbin/rt-server.fcgi/
> > 
> > DocumentRoot "/opt/rt4/share/html"
> > 
> > Order allow,deny
> > Allow from all
> > 
> > Options +ExecCGI
> > AddHandler fastcgi-script fcgi
> > 
> > 
> > > 
> > 
> > i cannot get my browser to open the rt default page.
> > 
> 
> You've not provided any apache error logs or errors from your browser.
> Without that, we can't possibly guess the problem.
> You've also left rt4.example.com as the virtualhost name, is that
> correct for your environment?
> 
> -kevin
> 
> 
> Hi Kevin

No rt4.example.com is not what i used i actually created  /etc/apache2/sites-
available/rt4  with that code with the  

i enabled it and disabled default.

While trying to solve the problem i ran into you on another on of your threads

http://comments.gmane.org/gmane.comp.bug-tracking.request-tracker.user/67817

which helped me alot. i will proceed there to contribute my findings


Here is the error log

[Fri Feb 15 18:48:12 2013] [error] [client 202.188.59.1] failed to resolve 
handler `Plack::Handler::Apache2': Can't locate Plack/Handler/Apache2.pm in 
@INC 
(@INC contains: /etc/perl /usr/local/lib/perl/5.14.2 
/usr/local/share/perl/5.14.2 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.14 
/usr/share/perl/5.14 /usr/local/lib/site_perl . /etc/apache2) at (eval 2) line 
2.\n






-- 
RT training in Amsterdam, March 20-21: 
http://bestpractical.com/services/training.html

Help improve RT by taking our user survey: 
https://www.surveymonkey.com/s/N23JW9T


Re: [rt-users] Suppressing dashboard subscriptions if they contain no tickets?

2013-02-17 Thread Ruslan Zakirov
On Wed, Feb 13, 2013 at 2:30 AM, dfossum  wrote:
> Is there a way to control whether a dashboard subscription sends an email
> depending on whether or not the associated query returns results?
>
> We'd like our support team to receive a scheduled report of all new tickets
> opened in a given time period and would like this dashboard sent regardless
> of whether or not new tickets were opened. We'd like others outside the
> support team to be notified only when new tickets are created, but not
> bother them with an email containing no tickets.
>
> Is there a way to do what we're looking for?

As far as I recall we don't have "don't email "empty" dashboard"
option and it would be tricky to implement general enough to include
into RT core, but a custom hack can be quite simple.

> Thanks.
> Dan.
>
>
>
> --
> View this message in context: 
> http://requesttracker.8502.n7.nabble.com/Suppressing-dashboard-subscriptions-if-they-contain-no-tickets-tp52704.html
> Sent from the Request Tracker - User mailing list archive at Nabble.com.
>
>
> --
> RT training in Amsterdam, March 20-21: 
> http://bestpractical.com/services/training.html
>
> Help improve RT by taking our user survey: 
> https://www.surveymonkey.com/s/N23JW9T



-- 
Best regards, Ruslan.


-- 
RT training in Amsterdam, March 20-21: 
http://bestpractical.com/services/training.html

Help improve RT by taking our user survey: 
https://www.surveymonkey.com/s/N23JW9T