[otrs] Prefilled content with custom MenuModule not working anymore since OTRS 4

2016-04-22 Thread Rick Heisterhagen
Hello everyone,

I used to add custom menu buttons in Frontend::Agent::Ticket::MenuModule  to 
prefill AgentTicketNote since OTRS 3.0 until 3.3 with URL encoded HTML content, 
the method is explained here: 
http://blog.otrs.org/2010/11/02/otrs-3-0-ticket-templates/
Now after upgrading to OTRS 4 and finally 5.0.9 on a test system I replaced 
TicketID=$QData{"TicketID"} with TicketID=[% Data.TicketID | html %] and now 
the encoded html part gets encoded but does not get interpreted, it stays an 
html text, here is my config (URL shortened).


Test Menu
Ticket
Frontend::Agent::Ticket::MenuModule


Kernel::Output::HTML::TicketMenu::Generic
Support Escalation
Escalate Isssue to 
HQ
AgentTicketNote
rw:support.all;rw:support.us;rw:support.apac
Action=AgentTicketNote;TicketID=[% 
Data.TicketID | html 
%];DynamicField_TicketFreeText3=Yes;Subject=Test+Menu;Body=%3Cspan+style%3D%22font-size%3A18px%3B%22%3ETest+Module
TicketAction





I thought this would be a good opportunity to use the Note-Template feature, so 
I altered the Link by using "StandardTemplateID" like this:

Action=AgentTicketNote;TicketID=[% 
Data.TicketID | html 
%];DynamicField_TicketFreeText3=Yes;Subject=Test+Menu;StandardTemplateID=56

Now the correct template is selected but the body is not filled with text.


? Please if someone could help me achieving the same as I had until OTRS 3.3 it 
would enable us to upgrade to the new OTRS version. Thanks in advance!

Regards,

Rick
-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

[otrs] Error with package FAQ after upgrade Otrs5 patch 6 to 9

2016-04-22 Thread Juan Carlos Ruiz
Hi
I upgrade Otrs5 to avoid the error/issue "Internal Server Error", I follow
all steps described on the documentation, but when I try to see my page, I
get  a error. I review the error and is because I don't have installed the
FAQ package on the new version patch9.

Any idea how to disable this package or installed on command line? I try
but all doc found is old and describe a .pl that is not on the current
version of otrs5 patch9.
Also get a error on Permission Denied on Log.pm.

Im on Centos 7 server.

On the Log I have

ERROR: OTRS-CGI-01 Perl: 5.16.3 OS: linux Time: Fri Apr 22 16:41:22 2016
>  Message: Module Kernel/System/Stats/Static/FAQAccess.pm not in @INC
> (/usr/Custom /usr/Kernel/cpan-lib /usr /usr/sbin/../../Custom
> /usr/sbin/../../Kernel/cpan-lib /usr/sbin/../.. /opt/otrs/Custom
> /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5
> /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
> /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd)
>  RemoteAddress: 192.168.0.131
>  RequestURI: /otrs/index.pl
>  Traceback (12502):
>Module: Kernel::System::Stats::GetObjectBehaviours Line: 1131
>Module: Kernel::System::Stats::StatsGet Line: 272
>Module: Kernel::System::Stats::StatsListGet Line: 750
>Module: Kernel::Modules::AgentDashboardCommon::Run Line: 59
>Module: Kernel::System::Web::InterfaceAgent::Run Line: 1056
>Module:
> ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler
> Line: 40
>Module: (eval) (v1.99) Line: 207
>Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
>Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
>Module: ModPerl::Registry::handler (v1.99) Line: 32
> [Fri Apr 22 16:41:22.511649 2016] [:error] [pid 12502] [Fri Apr 22
> 16:41:22 2016] -e: Permission denied at /opt/otrs//Kernel/System/Log.pm
> line 279.\n


Thanks
-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

Re: [otrs] Error with package FAQ after upgrade Otrs5 patch 6 to 9

2016-04-22 Thread Leonardo Certuche
Hello Juan Carlos,

For the permission denied message, you might want to run the command:

/opt/otrs/bin/otrs.SetPermissions.pl

With the right parameters depending on your environment. For uninstalling a
package from the command line, you can run:

/opt/otrs/bin/otrs.PackageManager.pl -a list

To get the list of the installed package and once identified (let's suppose
is called FAQ) then run:

/opt/otrs/bin/otrs.PackageManager.pl -a uninstall -p FAQ

Then restart apache and try again.

On 22 April 2016 at 17:25, Juan Carlos Ruiz 
wrote:

> Hi
> I upgrade Otrs5 to avoid the error/issue "Internal Server Error", I follow
> all steps described on the documentation, but when I try to see my page, I
> get  a error. I review the error and is because I don't have installed the
> FAQ package on the new version patch9.
>
> Any idea how to disable this package or installed on command line? I try
> but all doc found is old and describe a .pl that is not on the current
> version of otrs5 patch9.
> Also get a error on Permission Denied on Log.pm.
>
> Im on Centos 7 server.
>
> On the Log I have
>
> ERROR: OTRS-CGI-01 Perl: 5.16.3 OS: linux Time: Fri Apr 22 16:41:22 2016
>>  Message: Module Kernel/System/Stats/Static/FAQAccess.pm not in @INC
>> (/usr/Custom /usr/Kernel/cpan-lib /usr /usr/sbin/../../Custom
>> /usr/sbin/../../Kernel/cpan-lib /usr/sbin/../.. /opt/otrs/Custom
>> /opt/otrs/Kernel/cpan-lib /opt/otrs/ /usr/local/lib64/perl5
>> /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
>> /usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5 . /etc/httpd)
>>  RemoteAddress: 192.168.0.131
>>  RequestURI: /otrs/index.pl
>>  Traceback (12502):
>>Module: Kernel::System::Stats::GetObjectBehaviours Line: 1131
>>Module: Kernel::System::Stats::StatsGet Line: 272
>>Module: Kernel::System::Stats::StatsListGet Line: 750
>>Module: Kernel::Modules::AgentDashboardCommon::Run Line: 59
>>Module: Kernel::System::Web::InterfaceAgent::Run Line: 1056
>>Module:
>> ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler
>> Line: 40
>>Module: (eval) (v1.99) Line: 207
>>Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
>>Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
>>Module: ModPerl::Registry::handler (v1.99) Line: 32
>> [Fri Apr 22 16:41:22.511649 2016] [:error] [pid 12502] [Fri Apr 22
>> 16:41:22 2016] -e: Permission denied at /opt/otrs//Kernel/System/Log.pm
>> line 279.\n
>
>
> Thanks
>
>
>
> -
> OTRS mailing list: otrs - Webpage: http://otrs.org/
> Archive: http://lists.otrs.org/pipermail/otrs
> To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs
>
-
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs

[otrs] OTRS 5 for Production

2016-04-22 Thread Sujeeva Tissaarachchi
Dear Friends,

I have just installed OTRS 5 (Free Version) and planning to use it for 
production of 1500 users (customers) and 35 agents.

Configurations:
Cent OS on VM
RAM 6GBMySQL

With your experience, how would you predict the performance in my production? 
Will it be practical for me to use it successfully in production?

Thanks,
Sujeeva -
OTRS mailing list: otrs - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/otrs
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs