[rt-users] Help with

2013-07-22 Thread Juanjo
Hello.

My system, 4.0.10 with postgreSQL on Centos 6.4

Im trying to open a new ticket on RT, with a new user. The user is created
and his email adress is fine. The user is a privileged users, with rights
to create new tickets.
The tiket is not created, and the admin of rt get and email, but doesn´t
show the email from was sended the email, only it email.

Log on messages.

Jul 22 16:29:14 rt RT: RT could not load a valid user, and RT's
configuration does not allow#012for the creation of a new user for this
email (rtad...@mydomain.com).#012#012You might need to grant 'Everyone' the
right 'CreateTicket' for the#012queue generalqueue.
(/opt/rt4/sbin/../lib/RT/Interface/Email.pm:248)
Jul 22 16:29:14 rt RT: Could not record email: Could not load a valid user
(/opt/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75)


Log on maillog.

Jul 22 16:29:13 rt sendmail[5987]: r6METDct005987: from=<
newu...@domain.com>, size=910, class=0, nrcpts=1, msgid=<
201307221429.r6metdct005...@rt.mydomain.com>, proto=ESMTP, daemon=MTA,
relay=vil-esxi01-ilo.itin.local [172.16.4.110]
Jul 22 16:29:14 rt sendmail[5990]: r6METEmO005990: Authentication-Warning:
rt.mydomain.com: apache set sender to <> using -f
Jul 22 16:29:14 rt sendmail[5990]: r6METEmO005990: from=<>, size=2300,
class=-60, nrcpts=1, msgid=<201307221429.r6metemo005...@rt.mydomain.com>,
relay=apache@localhost
Jul 22 16:29:14 rt sendmail[5991]: r6METEvW005991: from=<>, size=2525,
class=-60, nrcpts=1, msgid=<201307221429.r6metemo005...@rt.mydomain.com>,
proto=ESMTP, daemon=MTA, relay=rt [127.0.0.1]
Jul 22 16:29:14 rt sendmail[5990]: r6METEmO005990: to=rtad...@mydomain.com,
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=140300,
relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r6METEvW005991 Message
accepted for delivery)
Jul 22 16:29:14 rt sendmail[5988]: r6METDct005987:
to="|/etc/smrsh/rt-mailgate --queue generalqueue --action correspond --url
http://rt.mydomain.com";, ctladdr= (8/0),
delay=00:00:01, xdelay=00:00:01, mailer=prog, pri=31226, dsn=2.0.0,
stat=Sent
Jul 22 16:29:14 rt sendmail[5993]: r6METEvW005991: to=,
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=230525, relay=
exchange.mydomain.com. [172.78.4.141], dsn=2.0.0, stat=Sent (<
201307221429.r6metemo005...@rt.mydomain.com> Queued mail for delivery)



Any help?
Thanks in advance.

Kindest Regards.

-- 
Un saludo.
Juanjo


[rt-users] Help with open ticket with email.

2013-07-22 Thread Juanjo
Hello.

My system, 4.0.10 with postgreSQL on Centos 6.4

Works for all exitents users, not for new ones.

Im trying to open a new ticket on RT, with a new user. The user is created
and his email adress is fine. The user is a privileged users, with rights
to create new tickets.
The tiket is not created, and the admin of rt get and email, but doesn´t
show the email from was sended the email, only it email.

Log on messages.

Jul 22 16:29:14 rt RT: RT could not load a valid user, and RT's
configuration does not allow#012for the creation of a new user for this
email (rtad...@mydomain.com).#012#012You might need to grant 'Everyone' the
right 'CreateTicket' for the#012queue generalqueue.
(/opt/rt4/sbin/../lib/RT/Interface/Email.pm:248)
Jul 22 16:29:14 rt RT: Could not record email: Could not load a valid user
(/opt/rt4/share/html/REST/1.0/NoAuth/mail-gateway:75)


Log on maillog.

Jul 22 16:29:13 rt sendmail[5987]: r6METDct005987: from=<
newu...@domain.com>, size=910, class=0, nrcpts=1, msgid=<
201307221429.r6metdct005...@rt.mydomain.com>, proto=ESMTP, daemon=MTA,
relay=vil-esxi01-ilo.itin.local [172.16.4.110]
Jul 22 16:29:14 rt sendmail[5990]: r6METEmO005990: Authentication-Warning:
rt.mydomain.com: apache set sender to <> using -f
Jul 22 16:29:14 rt sendmail[5990]: r6METEmO005990: from=<>, size=2300,
class=-60, nrcpts=1, msgid=<201307221429.r6metemo005...@rt.mydomain.com>,
relay=apache@localhost
Jul 22 16:29:14 rt sendmail[5991]: r6METEvW005991: from=<>, size=2525,
class=-60, nrcpts=1, msgid=<201307221429.r6metemo005...@rt.mydomain.com>,
proto=ESMTP, daemon=MTA, relay=rt [127.0.0.1]
Jul 22 16:29:14 rt sendmail[5990]: r6METEmO005990: to=rtad...@mydomain.com,
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=140300,
relay=[127.0.0.1] [127.0.0.1], dsn=2.0.0, stat=Sent (r6METEvW005991 Message
accepted for delivery)
Jul 22 16:29:14 rt sendmail[5988]: r6METDct005987:
to="|/etc/smrsh/rt-mailgate --queue generalqueue --action correspond --url
http://rt.mydomain.com";, ctladdr= (8/0),
delay=00:00:01, xdelay=00:00:01, mailer=prog, pri=31226, dsn=2.0.0,
stat=Sent
Jul 22 16:29:14 rt sendmail[5993]: r6METEvW005991: to=,
delay=00:00:00, xdelay=00:00:00, mailer=relay, pri=230525, relay=
exchange.mydomain.com. [172.78.4.141], dsn=2.0.0, stat=Sent (<
201307221429.r6metemo005...@rt.mydomain.com> Queued mail for delivery)



Any help?
Thanks in advance.

Kindest Regards.

-- 
Un saludo.
Juanjo



-- 
Un saludo.
Juanjo Corral


[rt-users] Serach only for a text not entire word

2013-04-12 Thread Juanjo
Hello.

My install: RT 4.0.10 and PostgreSQL Indexed database.

If I do a "Content" search for this word "ExtensionHardening" works fine,
and give the two tickets that have this word.

But if i search only for "Hardening" i have no results.

Could I search only for a part of a word?

Thanks
Kindest Regards.

-- 
Un saludo.
Juanjo Corral


Re: [rt-users] Migrating from 4.0.5 to 4.0.10 amd lost the RT "taskbar" (Home- Tickets)

2013-03-27 Thread Juanjo
Y copy the RT_Congig.pm from version 4.0.10, to the RT_SiteConfig.pm. And I
put again all the configuration from my "old" 4.0.5 RT_SiteConfig.

Now all works fine.

Thanks.


2013/3/26 Juanjo 

> Thanks i will check it and share the results.
>
> Thanks
> El 26/03/2013 16:58, "Kevin Falcone"  escribió:
>
> On Tue, Mar 26, 2013 at 12:57:49PM +0100, Juanjo wrote:
>> >I want to migrate mi centos 6.3 RT 4.0.5 to a new machine with
>> Centos 6.4 and RT 4.0.10,
>> >
>> >I installed the new machine with RT 4.0.10, migrate the database,
>> make and upgrade-database.
>> >All seems fine, but i don*t see the "taskbar" in the top of RT
>> Homepage.
>>
>> I suspect you've run into this, as documented in the upgrade notes.
>>
>>
>> http://bestpractical.com/rt/docs/latest/UPGRADING-4.0.html#Javascript-Changes
>>
>> If you've copied the entire RT_Config.pm to RT_SiteConfig.pm or copied
>> @JSFiles to modify it, you will need to fix it.  If you've copied all
>> of RT_Config.pm to RT_SiteConfig.pm you should really resolve that or
>> you'll run into future problems.
>>
>> -kevin
>>
>


-- 
Un saludo.
Juanjo Corral


Re: [rt-users] Migrating from 4.0.5 to 4.0.10 amd lost the RT "taskbar" (Home- Tickets)

2013-03-26 Thread Juanjo
Thanks i will check it and share the results.

Thanks
El 26/03/2013 16:58, "Kevin Falcone"  escribió:

> On Tue, Mar 26, 2013 at 12:57:49PM +0100, Juanjo wrote:
> >I want to migrate mi centos 6.3 RT 4.0.5 to a new machine with Centos
> 6.4 and RT 4.0.10,
> >
> >I installed the new machine with RT 4.0.10, migrate the database,
> make and upgrade-database.
> >All seems fine, but i don*t see the "taskbar" in the top of RT
> Homepage.
>
> I suspect you've run into this, as documented in the upgrade notes.
>
>
> http://bestpractical.com/rt/docs/latest/UPGRADING-4.0.html#Javascript-Changes
>
> If you've copied the entire RT_Config.pm to RT_SiteConfig.pm or copied
> @JSFiles to modify it, you will need to fix it.  If you've copied all
> of RT_Config.pm to RT_SiteConfig.pm you should really resolve that or
> you'll run into future problems.
>
> -kevin
>


[rt-users] Migrating from 4.0.5 to 4.0.10 amd lost the RT "taskbar" (Home- Tickets)

2013-03-26 Thread Juanjo
Hello to all.

I want to migrate mi centos 6.3 RT 4.0.5 to a new machine with Centos 6.4
and RT 4.0.10,

I installed the new machine with RT 4.0.10, migrate the database, make and
upgrade-database. All seems fine, but i don´t see the "taskbar" in the top
of RT Homepage.

Please check this image:

http://imgur.com/epQQMHL

Any help?

Thanks.
Kindest Regards.

-- 
Un saludo.
Juanjo Corral


Re: [rt-users] MessageBoxRichText and Internet Explorer 10.

2013-02-20 Thread Juanjo
Yes, you are right, But it´s only a temporary solution. I think that it
have to works without touch the compatibiliti view.

Regards.


2013/2/20 Alex Young 

> I have random layout issues in IE10, but the text editor works fine if I
> click on the < box in the top right to expand the menu.
>
> Just tried RT with IE10 Compatibility View enabled. Fixed the layout
> issues, but broke the text editor just as in your screen shot.
>
> Looks like you may need to run it with Compatibility View disabled, and
> live with the minor layout issues.
>
>
> --
> 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
>



-- 
Un saludo.
Juanjo Corral


-- 
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

[rt-users] MessageBoxRichText and Internet Explorer 10.

2013-02-20 Thread Juanjo
Hello Again.

My install: Centos 6.3, PosgreSQL and RT 4.0.5

I recently install Windows 8, and i make a bttery test to our software. RT
works fine, but i can´t write anything if i have the MessageBoxRichText to
1. Internet Explorer 10, only shows the tools of the Rich Text Editor. You
can see a screenshot here:

http://www.picamatic.com/show/2013/02/20/06/06/9052851_829x348.PNG

Any advice?
Are there solved on newer releases?

Kindest Regards.

-- 
Un saludo.
Juanjo Corral


-- 
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] Problem with CPAN and prerequisites for RT 4.0.5

2012-11-30 Thread Juanjo
Hi make the RT full installation about 8 times, all with 2 centos isos (CD
and DVD), and always on a ESX 5.1 host. Every time i create a new machine
and always fails in the same point

I make the same installation (i have a text file with all the command
lines) with the same iso files on a windows 8 hyper-V and in a ESX 5.0 host
and works fine.

My opinion, is there somthing strange with ESX 5.1 and CPAN in a GUEST. Or
something is wrong on my ESX 5.1, but other machines that works fine.


:(



2012/11/30 Rory 

> At a guess I think you might be missing a dependency for
> Plack::Handler::Starlet
>
> Personally, I like to use 
> CPANMINUS<http://search.cpan.org/dist/App-cpanminus/lib/App/cpanminus.pm> as
> it will install dependencies for the Perl Module you want.
>
> Start CPAN and run;
>
> install App::cpanminus
>
> Once that completes exit CPAN to return to your shell prompt.
> From the shell prompt run;
>
> cpanm Plack::Handler::Starlet
>
> It should then run through all dependencies and install what's needed.
> Hopefully that will solve your issue.
>
> Rory
>
>
>
> On 30 November 2012 11:36, Juanjo  wrote:
>
>> Selinux is disabled and iptables are disabled too.
>>
>> Sorry, but i don´t know how use this information:
>>
>>
>>   If there's nothing useful, you may want to diag() out the $port in
>>   that test and pause the test and make sure the test server is
>> actually
>>   starting.
>>
>>
>>
>> 2012/11/29 Kevin Falcone 
>>
>>> On Wed, Nov 28, 2012 at 11:53:12PM +0100, Juanjo wrote:
>>> >IF i make the make test:
>>> >t/05server-header.t ..
>>> >not ok 1
>>> >not ok 2
>>> >ok 3
>>> >
>>> ># Failed test at t/05server-header.t line 14.
>>> >Use of uninitialized value $this in pattern match (m//) at
>>> t/05server-header.t line 15.
>>> >
>>> ># Failed test at t/05server-header.t line 15.
>>> ># undef
>>> ># doesn't match '(?-xism:Starlet)'
>>> >Use of uninitialized value $this in pattern match (m//) at
>>> t/05server-header.t line 16.
>>> >not ok 4
>>> >
>>> ># Failed test at t/05server-header.t line 19.
>>> >Use of uninitialized value $this in pattern match (m//) at
>>> t/05server-header.t line 20.
>>> >ok 5
>>> >Use of uninitialized value $this in pattern match (m//) at
>>> t/05server-header.t line 21.
>>> >not ok 6
>>> >
>>> ># Failed test at t/05server-header.t line 21.
>>> ># undef
>>> ># doesn't match '(?-xism:Hello)'
>>> >[Test::TCP] Child process does not block(PID: 32489, PPID: 32488) at
>>> >/usr/local/share/perl5/Test/TCP.pm line 121.
>>> >1..6
>>> ># Looks like you failed 4 tests of 6.
>>> >Dubious, test returned 4 (wstat 1024, 0x400)
>>> >Failed 4/6 subtests
>>> >t/06remote_port.t 
>>> >not ok 1
>>>
>>> That implies that nothing is binding to the test port, possibly a
>>> restriction of your system (selinux? firewall?).
>>>
>>> >  If there's nothing useful, you may want to diag() out the $port in
>>> >  that test and pause the test and make sure the test server is
>>> actually
>>> >  starting.
>>>
>>> You'll need to look at using this method to go deeper.
>>>
>>> -kevin
>>>
>>> 
>>> We're hiring! http://bestpractical.com/jobs
>>>
>>>
>>
>>
>> --
>> Un saludo.
>> Juanjo Corral
>>
>> 
>> We're hiring! http://bestpractical.com/jobs
>>
>>
>
> 
> We're hiring! http://bestpractical.com/jobs
>
>


-- 
Un saludo.
Juanjo Corral

We're hiring! http://bestpractical.com/jobs


Re: [rt-users] Problem with CPAN and prerequisites for RT 4.0.5

2012-11-30 Thread Juanjo
Selinux is disabled and iptables are disabled too.

Sorry, but i don´t know how use this information:

  If there's nothing useful, you may want to diag() out the $port in
  that test and pause the test and make sure the test server is actually
  starting.



2012/11/29 Kevin Falcone 

> On Wed, Nov 28, 2012 at 11:53:12PM +0100, Juanjo wrote:
> >IF i make the make test:
> >t/05server-header.t ..
> >not ok 1
> >not ok 2
> >ok 3
> >
> ># Failed test at t/05server-header.t line 14.
> >Use of uninitialized value $this in pattern match (m//) at
> t/05server-header.t line 15.
> >
> ># Failed test at t/05server-header.t line 15.
> ># undef
> ># doesn't match '(?-xism:Starlet)'
> >Use of uninitialized value $this in pattern match (m//) at
> t/05server-header.t line 16.
> >not ok 4
> >
> ># Failed test at t/05server-header.t line 19.
> >Use of uninitialized value $this in pattern match (m//) at
> t/05server-header.t line 20.
> >ok 5
> >Use of uninitialized value $this in pattern match (m//) at
> t/05server-header.t line 21.
> >not ok 6
> >
> ># Failed test at t/05server-header.t line 21.
> ># undef
> ># doesn't match '(?-xism:Hello)'
> >[Test::TCP] Child process does not block(PID: 32489, PPID: 32488) at
> >/usr/local/share/perl5/Test/TCP.pm line 121.
> >1..6
> ># Looks like you failed 4 tests of 6.
> >Dubious, test returned 4 (wstat 1024, 0x400)
> >Failed 4/6 subtests
> >t/06remote_port.t 
> >not ok 1
>
> That implies that nothing is binding to the test port, possibly a
> restriction of your system (selinux? firewall?).
>
> >  If there's nothing useful, you may want to diag() out the $port in
> >  that test and pause the test and make sure the test server is
> actually
> >  starting.
>
> You'll need to look at using this method to go deeper.
>
> -kevin
>
> 
> We're hiring! http://bestpractical.com/jobs
>
>


-- 
Un saludo.
Juanjo Corral

We're hiring! http://bestpractical.com/jobs


Re: [rt-users] Problem with CPAN and prerequisites for RT 4.0.5

2012-11-28 Thread Juanjo
IF i make the make test:

t/02graceful.t ... 1/? [Test::TCP] Child process does not block(PID:
32413, PPID: 32412) at /usr/local/share/perl5/Test/TCP.pm line 121.
t/02graceful.t ... ok
t/03post.t ... 32426 at t/03post.t line 9.
Plack::Handler::Starlet: Accepting connections at http://0:50602/
127.0.0.1 - - [28/Nov/2012:23:50:18 +0100] "POST / HTTP/1.1" 200 3 "-"
"libwww-perl/6.04"
t/03post.t ... ok
t/04-bumpy-life.t  ok
t/05server-header.t .. 1/?
#   Failed test at t/05server-header.t line 14.
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 15.

#   Failed test at t/05server-header.t line 15.
#   undef
# doesn't match '(?-xism:Starlet)'
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 16.

#   Failed test at t/05server-header.t line 19.
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 20.
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 21.

#   Failed test at t/05server-header.t line 21.
#   undef
# doesn't match '(?-xism:Hello)'
[Test::TCP] Child process does not block(PID: 32430, PPID: 32429) at
/usr/local/share/perl5/Test/TCP.pm line 121.
# Looks like you failed 4 tests of 6.
t/05server-header.t .. Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/6 subtests
t/06remote_port.t  1/?
#   Failed test at t/06remote_port.t line 17.
Can't call method "sockport" on an undefined value at t/06remote_port.t
line 18.
[Test::TCP] Child process does not block(PID: 32437, PPID: 32436) at
/usr/local/share/perl5/Test/TCP.pm line 121.
# Tests were run but no plan was declared and done_testing() was not seen.
t/06remote_port.t  Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests

Test Summary Report
---
t/05server-header.t (Wstat: 1024 Tests: 6 Failed: 4)
  Failed tests:  1-2, 4, 6
  Non-zero exit status: 4
t/06remote_port.t  (Wstat: 65280 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=7, Tests=118,  7 wallclock secs ( 0.16 usr  0.12 sys +  2.65 cusr
1.52 csys =  4.45 CPU)
Result: FAIL
Failed 2/7 test programs. 5/118 subtests failed.
make: *** [test_dynamic] Error 255




If i make


t/04-bumpy-life.t 
ok 1 - min
ok 2 - max
1..2
ok
t/05server-header.t ..
not ok 1
not ok 2
ok 3

#   Failed test at t/05server-header.t line 14.
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 15.

#   Failed test at t/05server-header.t line 15.
#   undef
# doesn't match '(?-xism:Starlet)'
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 16.
not ok 4

#   Failed test at t/05server-header.t line 19.
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 20.
ok 5
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 21.
not ok 6

#   Failed test at t/05server-header.t line 21.
#   undef
# doesn't match '(?-xism:Hello)'
[Test::TCP] Child process does not block(PID: 32489, PPID: 32488) at
/usr/local/share/perl5/Test/TCP.pm line 121.
1..6
# Looks like you failed 4 tests of 6.
Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/6 subtests
t/06remote_port.t 
not ok 1

#   Failed test at t/06remote_port.t line 17.
Can't call method "sockport" on an undefined value at t/06remote_port.t
line 18.
[Test::TCP] Child process does not block(PID: 32496, PPID: 32495) at
/usr/local/share/perl5/Test/TCP.pm line 121.
# Tests were run but no plan was declared and done_testing() was not seen.
Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests

Test Summary Report
---
t/05server-header.t (Wstat: 1024 Tests: 6 Failed: 4)
  Failed tests:  1-2, 4, 6
  Non-zero exit status: 4
t/06remote_port.t  (Wstat: 65280 Tests: 1 Failed: 1)
  Failed test:  1
  Non-zero exit status: 255
  Parse errors: No plan found in TAP output
Files=7, Tests=118,  7 wallclock secs ( 0.17 usr  0.13 sys +  2.61 cusr
1.55 csys =  4.46 CPU)
Result: FAIL



2012/11/27 Kevin Falcone 

> On Tue, Nov 27, 2012 at 11:47:44AM +0100, Juanjo wrote:
> >I have some troubles with Plack::Handler::Starlet, in a frest install
> of Centos 6.3 X64 on a
> >esx5.1 host
> >
> >Update system and installed prerequisites (gcc, make, CPAM, YAML...)
>
> You probably want to grab the Starlet-0.16.tar.gz tarball off of CPAN
> manually (using metacpan.org or something) and then tar zxvf
> Starlet-0.16.tar.gz; perl Makefile.PL; make test; prove -lv
> t/05server-header.t and see if it gives you more information about
> what's happening.
>
> If there's nothing useful, you may want to diag() out the $port in
&g

[rt-users] Problem with CPAN and prerequisites for RT 4.0.5

2012-11-27 Thread Juanjo
Hi to all.

I have some troubles with Plack::Handler::Starlet, in a frest install of
Centos 6.3 X64 on a esx5.1 host

Update system and installed prerequisites (gcc, make, CPAM, YAML...)

Update to CPAN v19800
# cpan
cpan> install CPAN
cpan> reload CPAN
cpan> reload index
cpan> install Bundle::CPAN

All seems ok.

cpan[1]> install
Bundle::CPAN

CPAN: Storable loaded ok (v2.20)
Reading '/root/.cpan/Metadata'
  Database was generated on Tue, 27 Nov 2012 08:31:03 GMT
CPAN: Module::CoreList loaded ok (v2.18)
ExtUtils::MakeMaker is up to date (6.62).
Test::Harness is up to date (3.25).
ExtUtils::CBuilder is up to date (0.280205).
File::Temp is up to date (0.22).
Test::More is up to date (0.98).
Data::Dumper is up to date (2.136).
IO::Compress::Base is up to date (2.058).
Compress::Zlib is up to date (2.058).
IO::Zlib is up to date (1.10).
Archive::Tar is up to date (1.90).
Module::Build is up to date (0.4003).
File::Spec is up to date (3.33).
Digest::SHA is up to date (5.74).
File::HomeDir is up to date (1.00).
Archive::Zip is up to date (1.30).
Net::FTP is up to date (2.77).
Term::ReadKey is up to date (2.30).
Term::ReadLine::Perl is up to date (1.0303).
YAML is up to date (0.84).
Parse::CPAN::Meta is up to date (1.4404).
Text::Glob is up to date (0.09).
CPAN is up to date (1.9800).
File::Which is up to date (1.09).

But in a "make fixdeps" previously to install RT 4.0.5 y get this error:

Installing /usr/local/share/man/man3/Convert::Color.3pm
  PEVANS/Convert-Color-0.08.tar.gz
  ./Build install  -- OK

SOME DEPENDENCIES WERE MISSING.
PSGI missing dependencies:
Plack::Handler::Starlet ...MISSING
Can't locate Plack/Handler/Starlet.pm in @INC (@INC
contains: /usr/local/lib64/perl5 /usr/local/share/perl5
/usr/lib64/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib64/perl5
/usr/share/perl5 /root/tmp/rt-4.0.5)
CORE missing dependencies:
MIME::Entity ...MISSING
Can't locate MIME/Entity.pm in @INC (@INC contains:
/usr/local/lib64/perl5 /usr/local/share/perl5 /usr/lib64/perl5/vendor_perl
/usr/share/perl5/vendor_perl /usr/lib64/perl5 /usr/share/perl5
/root/tmp/rt-4.0.5)
make: *** [fixdeps] Error 1

If i try to install Plack::Handler::Starlet manually i get this error:

cpan[1]> install
Plack::Handler::Starlet

CPAN: Storable loaded ok (v2.20)

t/02graceful.t ... 1/? [Test::TCP] Child process does not block(PID:
26280, PPID: 26279) at /usr/local/share/perl5/Test/TCP.pm line 121.
t/02graceful.t ... ok
t/03post.t ... 26292 at t/03post.t line 9.
Plack::Handler::Starlet: Accepting connections at http://0:50778/
127.0.0.1 - - [27/Nov/2012:11:43:36 +0100] "POST / HTTP/1.1" 200 3 "-"
"libwww-perl/6.04"
t/03post.t ... ok
t/04-bumpy-life.t  ok
t/05server-header.t .. 1/?
#   Failed test at t/05server-header.t line 14.
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 15.

#   Failed test at t/05server-header.t line 15.
#   undef
# doesn't match '(?-xism:Starlet)'
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 16.

#   Failed test at t/05server-header.t line 19.
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 20.
Use of uninitialized value $this in pattern match (m//) at
t/05server-header.t line 21.

#   Failed test at t/05server-header.t line 21.
#   undef
# doesn't match '(?-xism:Hello)'
[Test::TCP] Child process does not block(PID: 26296, PPID: 26295) at
/usr/local/share/perl5/Test/TCP.pm line 121.
# Looks like you failed 4 tests of 6.
t/05server-header.t .. Dubious, test returned 4 (wstat 1024, 0x400)
Failed 4/6 subtests
t/06remote_port.t  1/?
#   Failed test at t/06remote_port.t line 17.
Can't call method "sockport" on an undefined value at t/06remote_port.t
line 18.
[Test::TCP] Child process does not block(PID: 26303, PPID: 26302) at
/usr/local/share/perl5/Test/TCP.pm line 121.
# Tests were run but no plan was declared and done_testing() was not seen.
t/06remote_port.t  Dubious, test returned 255 (wstat 65280, 0xff00)
Failed 1/1 subtests


But Test::TCP is installed and ok

cpan[2]> i
Test::TCP

Module id = Test::TCP
CPAN_USERID  TOKUHIROM (Tokuhiro Matsuno )
CPAN_VERSION 1.18
CPAN_FILET/TO/TOKUHIROM/Test-TCP-1.18.tar.gz
UPLOAD_DATE  2012-10-25
MANPAGE  Test::TCP - testing TCP program
INST_FILE/usr/local/share/perl5/Test/TCP.pm
INST_VERSION 1.18


cpan[3]> install
Test::TCP

Test::TCP is up to date (1.18).


Any help?

Thanks
Kindest regards.

We're hiring! http://bestpractical.com/jobs


Re: [rt-users] Change text in tickts using database

2012-10-20 Thread Juanjo
Yes you are right. Is very dangerous. But i use a adapted script to make
the migration.
I don have the knowledge to do by myself.

I lost some locale data in the migration.

If run this in rtdb database:

 update attachments set content = replace(content, 'u', '*')

I believe that these changes are so located, are not capable by
themselves alter
the overall operation off RT.

For example, all the characters in words on content column  that i change,
and reindexed now appears in the search.

Im only do that on the test rt installation, not in the production
enviroment. Yet :D

2012/10/19 Kevin Falcone 

> If you do run this, please make sure if you report any bugs in the
> future to mention that you did a conversion from mysql to pg and then
> massaged the data by hand.  It'll help us know that much of the data
> shouldn't be trusted.
>
> If I were you, I'd be trying to make the mysql -> pg conversion part
> work without needing the massage afterwards.  That just seems fraught
> with peril.
>



-- 
Un saludo.
Juanjo Corral


Final RT training for 2012 in Atlanta, GA - October 23 & 24
  http://bestpractical.com/training

We're hiring! http://bestpractical.com/jobs


Re: [rt-users] Change text in tickts using database

2012-10-19 Thread Juanjo
I need edit to change some characterset. I migrate from mysql to
postgresql. And some local character (spaniard character) text are now
showhing proper.

I wan´t to mantain the Actually encondig and Collate. To make that, i think
that is enought to only change a string like ú to my spaniard character.

Run this sctipt on the rtdb database using pgAdmin 3.

update attachments set content = replace(content, 'ú', 'ú')


Regards.

2012/10/19 Tim Cutts 

>
> On 19 Oct 2012, at 08:00, Juanjo  wrote:
>
> > Thanks.
> >
> > But i don´t see the email content, only see the headers.
> >
> > I´m looking to change the content of the messages.
> >
> > I see in the attachments tab, a column called content, but says (trough
> phpMyAdmin) Binary Not Edit!!
>
> You certainly can edit them with the mysql command line client, but I
> wouldn't advise it.  Why do you need to edit them anyway?
>
> Tim
>
> --
>  The Wellcome Trust Sanger Institute is operated by Genome Research
>  Limited, a charity registered in England with number 1021457 and a
>  company registered in England with number 2742969, whose registered
>  office is 215 Euston Road, London, NW1 2BE.
>



-- 
Un saludo.
Juanjo Corral


Final RT training for 2012 in Atlanta, GA - October 23 & 24
  http://bestpractical.com/training

We're hiring! http://bestpractical.com/jobs


Re: [rt-users] Change text in tickts using database

2012-10-19 Thread Juanjo
Thanks.

But i don´t see the email content, only see the headers.

I´m looking to change the content of the messages.

I see in the attachments tab, a column called content, but says (trough
phpMyAdmin) Binary Not Edit!!

Regards.


2012/10/18 Tim Cutts 

>
> On 18 Oct 2012, at 15:58, Juanjo  wrote:
>
> > Hi,
> >
> > I have to change some test inside the tickets directly on database.
> >
> > I don´t find where are the comments, or the emails body that we send to
> rt or create trought web.
> >
> > Could you tell me what table and what comun have this data??
>
> The Attachments table contains most of it.
>
> Each ticket in the Tickets table has one or more transactions in the
> Transactions table, and each transaction can have zero or more attachments
> in the Attachments table, depending on the kind of transaction.
>
> Tim
>
> --
>  The Wellcome Trust Sanger Institute is operated by Genome Research
>  Limited, a charity registered in England with number 1021457 and a
>  company registered in England with number 2742969, whose registered
>  office is 215 Euston Road, London, NW1 2BE.
>



-- 
Un saludo.
Juanjo Corral


Final RT training for 2012 in Atlanta, GA - October 23 & 24
  http://bestpractical.com/training

We're hiring! http://bestpractical.com/jobs


[rt-users] Change text in tickts using database

2012-10-18 Thread Juanjo
Hi,

I have to change some test inside the tickets directly on database.

I don´t find where are the comments, or the emails body that we send to rt
or create trought web.

Could you tell me what table and what comun have this data??

Thanks.

-- 
Un saludo.
Juanjo Corral


Final RT training for 2012 in Atlanta, GA - October 23 & 24
  http://bestpractical.com/training

We're hiring! http://bestpractical.com/jobs


Re: [rt-users] Add to all emails a link to the ticket.

2012-10-06 Thread Juanjo
Any help?
El 01/10/2012 17:02, "Juanjo"  escribió:

> Hi to all.
>
> When we create or assign a ticket the email that the user receive have a
> link to the ticket.
> But one response with email about the ticket make the user connecto to see
> it on the rt system.
>
> Coud i attach a link to the ticket in every email sended?
>
> Thanks
> Regards,
>
> --
> Un saludo.
> Juanjo Corral
>


Final RT training for 2012 in Atlanta, GA - October 23 & 24
  http://bestpractical.com/training

We're hiring! http://bestpractical.com/jobs


[rt-users] Add to all emails a link to the ticket.

2012-10-01 Thread Juanjo
Hi to all.

When we create or assign a ticket the email that the user receive have a
link to the ticket.
But one response with email about the ticket make the user connecto to see
it on the rt system.

Coud i attach a link to the ticket in every email sended?

Thanks
Regards,

-- 
Un saludo.
Juanjo Corral


Final RT training for 2012 in Atlanta, GA - October 23 & 24
  http://bestpractical.com/training

We're hiring! http://bestpractical.com/jobs


[rt-users] Fwd: Try to migrating from MySQL to Postgres

2012-06-27 Thread Juanjo
-- Forwarded message --
From: Juanjo 
Date: 2012/6/27
Subject: Re: [rt-users] Try to migrating from MySQL to Postgres
To: Anders Hansen-Øvre 


Ok, tahnks. I think is working. Almost the script is running well.

I have some errors like that:
Use of uninitialized value $mymaxid in concatenation (.) or string at
./RTmysqltoPg line 35.




2012/6/26 Anders Hansen-Øvre 

>  I used the following after some key issues.
>
> ** **
>
> Using Pg to request password for local connections
>
> ** **
>
> /opt/rt4/sbin/rt-setup-database --dba postgres --prompt-for-password
> --action drop
>
> /opt/rt4/sbin/rt-setup-database --dba postgres --prompt-for-password
> --action create
>
> /opt/rt4/sbin/rt-setup-database --dba postgres --prompt-for-password
> --action schema --datadir /opt/rt4/etc/schema.Pg
>
> /opt/rt4/sbin/rt-setup-database --dba postgres --prompt-for-password
> --action acl --datadir /opt/rt4/etc/acl.Pg
>
> ** **
>
> Change Pg back to default auth for postgres from local
>
> ** **
>
> Then run ./RTmysqltoPg
>
> ** **
>
> ---
>
> Anders
>
> ** **
>
> *Fra:* rt-users-boun...@lists.bestpractical.com [mailto:
> rt-users-boun...@lists.bestpractical.com] *På vegne av* Juanjo
> *Sendt:* 26. juni 2012 09:54
> *Til:* rt-users@lists.bestpractical.com
> *Emne:* [rt-users] Try to migrating from MySQL to Postgres
>
> ** **
>
> Hi.
>
> I try to make a migration in my dev server from MySQL to Postgres.
>
> Now im trying to use the scrip from Dario given in this thread
> http://www.gossamer-threads.com/lists/rt/users/103305
>
> I get this error:
>
> [root@rt ~]# ./RTmysqltoPg
> Migrating ACL...
> maxid=83
> Asked ACL for 2000 starting from 0, got 73
> DBD::Pg::st execute failed: ERROR:  duplicate key violates unique
> «acl_pkey» at ./RTmysqltoPg line 130.
> Use of uninitialized value $values[6] in join or string at ./RTmysqltoPg
> line 130.
> Use of uninitialized value $values[8] in join or string at ./RTmysqltoPg
> line 130.
>
>  2,0,SuperUser,1,0,Group,,1,,RT::System at ./RTmysqltoPg line 130.
>
>
>
> in the ACL table there aren´t duplicates key for ID.
> The new database is empty, only generated by # make initialize-database
>
> Any help?
>
> I attach the script.
>
> Thanks.
> Kindest Regards.
>
> --
> Un saludo.
> Juanjo Corral
>



-- 
Un saludo.
Juanjo Corral



-- 
Un saludo.
Juanjo Corral


[rt-users] Try to migrating from MySQL to Postgres

2012-06-26 Thread Juanjo
Hi.

I try to make a migration in my dev server from MySQL to Postgres.

Now im trying to use the scrip from Dario given in this thread
http://www.gossamer-threads.com/lists/rt/users/103305

I get this error:

[root@rt ~]# ./RTmysqltoPg
Migrating ACL...
maxid=83
Asked ACL for 2000 starting from 0, got 73
DBD::Pg::st execute failed: ERROR:  duplicate key violates unique
«acl_pkey» at ./RTmysqltoPg line 130.
Use of uninitialized value $values[6] in join or string at ./RTmysqltoPg
line 130.
Use of uninitialized value $values[8] in join or string at ./RTmysqltoPg
line 130.

 2,0,SuperUser,1,0,Group,,1,,RT::System at ./RTmysqltoPg line 130.



in the ACL table there aren´t duplicates key for ID.
The new database is empty, only generated by # make initialize-database

Any help?

I attach the script.

Thanks.
Kindest Regards.

-- 
Un saludo.
Juanjo Corral


RTmysqltoPg
Description: Binary data


Re: [rt-users] How to search for a response ?

2012-06-07 Thread Juanjo
I have the same problem.

The problem is that mysql natively doesn´t support indexing. You can change
your database or use third software that permit mysql use indexed search.



2012/6/7 Arthur Rance 

>  It doesn't seem to work... I search for tickets where Content contains
> "tailor", 0 ticket found.
>
> I'm going to try docs/full_text_indexing.pod...
>
>
> > From: johan.sjob...@deltamanagement.se
> > To: rt-users@lists.bestpractical.com
> > Date: Thu, 7 Jun 2012 09:51:35 +
>
> > Subject: Re: [rt-users] How to search for a response ?
> >
> > You can also use the "Content" parameter in the ticket search. It is
> slow but it works.
> > Or has that been removed in RT4?
> >
> > /Johan
> >
> > > -Original Message-
> > > From: rt-users-boun...@lists.bestpractical.com [mailto:rt-users-
> > > boun...@lists.bestpractical.com] On Behalf Of Ruslan Zakirov
> > > Sent: den 7 juni 2012 11:46
> > > To: Arthur Rance
> > > Cc: rt-users@lists.bestpractical.com
> > > Subject: Re: [rt-users] How to search for a response ?
> > >
> > > On Thu, Jun 7, 2012 at 1:01 PM, Arthur Rance  >
> > > wrote:
> > > > Hello,
> > > >
> > > > I'd like to search for a ticket where someone answered "my tailor is
> rich".
> > > > How can I do that ?
> > >
> > > Full text search is activated in config. To make it fast you have to
> do some
> > > additional steps.
> > >
> > > --
> > > Best regards, Ruslan.
> >
>



-- 
Un saludo.
Juanjo Corral


Re: [rt-users] RT 4.0.5 in search don´t have content option

2012-05-31 Thread Juanjo
Thanks Nathan. I will check your migration process, and i will try it.

Regards.

2012/5/31 Nathan Baker 

> I did it recently.  There's some good instructions on this older thread:
>
> http://www.gossamer-threads.com/lists/rt/users/103305
>
> Specifically post #13
>
> On Thu, May 31, 2012 at 5:49 AM, Juanjo  wrote:
>
>>
>>
>> OK, thanks.
>>>
>>> Now works as the old RT.
>>> But i think that i have to migrate RT 4.0.5 in mysql to postgre.
>>>
>>> Anybody do it?
>>>
>>>
>>>
>>>
>>> 2012/5/31 Tim Cutts 
>>>
>>>>
>>>> On 31 May 2012, at 10:06, Juanjo wrote:
>>>>
>>>> > Thanks for your reply.
>>>> >
>>>> > Yes, i read the full_text_indexing.pod
>>>> > But, are the only option to search in content activate the indiexing
>>>> with a compatible database?
>>>> >
>>>> > I don´t want to migrate to postgre, i think is very hard to my
>>>> knowledge.
>>>>
>>>> You can do it with MySQL, if you enable sphinx (which is also fairly
>>>> difficult, but not as hard as a Postgres migration).
>>>>
>>>> I think you can also switch it on without the indexing, which will
>>>> restore 3.x like behaviour, with very slow full content searches.  I think
>>>> for this, you want something like this in your RT site config:
>>>>
>>>> Set( %FullTextSearch,
>>>>    Enable => 1,
>>>>Indexed    => 0,
>>>> );
>>>>
>>>> Regards,
>>>>
>>>>
>>>> Tim
>>>>
>>>> --
>>>>  The Wellcome Trust Sanger Institute is operated by Genome Research
>>>>  Limited, a charity registered in England with number 1021457 and a
>>>>  company registered in England with number 2742969, whose registered
>>>>  office is 215 Euston Road, London, NW1 2BE.
>>>>
>>>
>>>
>>>
>>> --
>>> Un saludo.
>>> Juanjo Corral
>>>
>>
>>
>>
>> --
>> Un saludo.
>> Juanjo Corral
>>
>
>


-- 
Un saludo.
Juanjo Corral


Re: [rt-users] RT 4.0.5 in search don´t have content option

2012-05-31 Thread Juanjo
OK, thanks.
>
> Now works as the old RT.
> But i think that i have to migrate RT 4.0.5 in mysql to postgre.
>
> Anybody do it?
>
>
>
>
> 2012/5/31 Tim Cutts 
>
>>
>> On 31 May 2012, at 10:06, Juanjo wrote:
>>
>> > Thanks for your reply.
>> >
>> > Yes, i read the full_text_indexing.pod
>> > But, are the only option to search in content activate the indiexing
>> with a compatible database?
>> >
>> > I don´t want to migrate to postgre, i think is very hard to my
>> knowledge.
>>
>> You can do it with MySQL, if you enable sphinx (which is also fairly
>> difficult, but not as hard as a Postgres migration).
>>
>> I think you can also switch it on without the indexing, which will
>> restore 3.x like behaviour, with very slow full content searches.  I think
>> for this, you want something like this in your RT site config:
>>
>> Set( %FullTextSearch,
>>Enable => 1,
>>Indexed=> 0,
>> );
>>
>> Regards,
>>
>> Tim
>>
>> --
>>  The Wellcome Trust Sanger Institute is operated by Genome Research
>>  Limited, a charity registered in England with number 1021457 and a
>>  company registered in England with number 2742969, whose registered
>>  office is 215 Euston Road, London, NW1 2BE.
>>
>
>
>
> --
> Un saludo.
> Juanjo Corral
>



-- 
Un saludo.
Juanjo Corral


[rt-users] RT 4.0.5 in search don´t have content option

2012-05-31 Thread Juanjo
Hi to all.

I have 4.0.5 on centos and with mysql.


When i do a search i only have Content-Type, Subjet and Filename parameters
to search for data in the ticket.
In my old 3.6.5 installation y have Subjet, Filename Content-type and
CONTENT. Option that doesn´t exists on my RT 4.0.5
Could you hel me to get this option in the search options?

Thanks.
Kidest Regards.

-- 
Un saludo.
Juanjo Corral


[rt-users] Fwd: 4.0.5, when reject do not "reply to requestors"

2012-05-11 Thread Juanjo
-- Forwarded message --
From: Juanjo 
Date: 2012/5/11
Subject: Re: [rt-users] 4.0.5, when reject do not "reply to requestors"
To: Ruslan Zakirov 


Ok, thanks.

I chaged this in RT_SiteConfig.pm: (from Respond to Comment), restart the
httpd service and works.

Set(%Lifecycles,
.

   'new -> rejected'  => {
label  => 'Reject', # loc
update => 'Comment',
},
..

'open -> rejected' => {
label  => 'Reject', # loc
update => 'Comment',
},
...
approvals => {
...

   'new -> rejected'  => {
label  => 'Reject', # loc
update => 'Comment',
},
..

'open -> rejected' => {
    label  => 'Reject', # loc
update => 'Comment',
},

Thanks.



2012/5/11 Ruslan Zakirov 

> On Fri, May 11, 2012 at 11:09 AM, Juanjo  wrote:
> > HI,
> >
> > When i use the "reject" funcition on a ticket, per default the "Update
> type"
> > is set to "Reply to requestors".
> > But i need/want that the "Update type" change to "Comments (Not sent to
> > requestors)"
> > I see in the "System Configuration" menu, thath exists a config called
> > "LifeCycles" with this text
> >
> > 'new -> rejected',
> > {
> > 'label' => 'Reject',
> > 'update' => 'Respond'
> >
> > To do the the change that i need, is this place the correct way to do it?
> > If not. How i can  do it?
>
> That page shows you the current merged config and other bits. To do
> the change you copy part of RT_Config.pm into RT_SiteConfig.pm and
> adjust it. Don't copy whole file!
>
>
>
> >
> > Thanks.
> > Kidest Regards.
> >
> >
> > --
> > Un saludo.
> > Juanjo Corral
>
>
>
> --
> Best regards, Ruslan.
>



-- 
Un saludo.
Juanjo Corral



-- 
Un saludo.
Juanjo Corral


[rt-users] 4.0.5, when reject do not "reply to requestors"

2012-05-11 Thread Juanjo
HI,

When i use the "reject" funcition on a ticket, per default the "Update
type" is set to "Reply to requestors".
But i need/want that the "Update type" change to "Comments (Not sent to
requestors)"
I see in the "System Configuration" menu, thath exists a config called
"LifeCycles" with this text

'new -> rejected',
{
'label' => 'Reject',
'update' => 'Respond'

To do the the change that i need, is this place the correct way to do it?
If not. How i can  do it?

Thanks.
Kidest Regards.


-- 
Un saludo.
Juanjo Corral


Re: [rt-users] Can not open ticket with attachment on 4.0.5

2012-05-09 Thread Juanjo
Ok,. Thanks.

2012/5/9 Kevin Falcone 

> On Wed, May 09, 2012 at 01:50:00PM +0200, Juanjo wrote:
> >Yes, this parameter is OK (at 15MB, per default). But the fastcgi
> parameter by default is only
> >100k.
>
> Yep, this is why I added
>
> https://github.com/bestpractical/rt/commit/89c6750d4c87cfd65c5eaaec25928bb91ccfcb43
> which will be in the docs for the next RT release.
>
> -kevin
>
> >2012/5/9 Ruslan Zakirov <[1]r...@bestpractical.com>
> >
> >  mysql also has max_packet_size (spelling may be wrong).
> >
>



-- 
Un saludo.
Juanjo Corral


Re: [rt-users] Can not open ticket with attachment on 4.0.5

2012-05-09 Thread Juanjo
Yes, this parameter is OK (at 15MB, per default). But the fastcgi parameter
by default is only 100k.

2012/5/9 Ruslan Zakirov 

> mysql also has max_packet_size (spelling may be wrong).
>
>
>


-- 
Un saludo.
Juanjo Corral


[rt-users] StTicketPropertiesViaMail, valid for RT 4.0.5

2012-05-09 Thread Juanjo
Hi, again.

I see this documentation:
http://requesttracker.wikia.com/wiki/SetTicketPropertiesViaMail

Are valid for RT 4.0.5? or are implemented in other way?

Thanks
Regards.


Re: [rt-users] Can not open ticket with attachment on 4.0.5

2012-05-09 Thread Juanjo
:( Sorry for my obstination and impatience.

I checked the apache log. If you use fastcgi, the upload limit are around
100k. You need to edit the vitualhost definition for RT with this.



   # 20MB should be enough
   MaxRequestLen 2000


It permit upload files at least 20MB.

Sorry for the all the emails sent without making standart tests.
Kindest Regards.


2012/5/9 Juanjo 

> Yes.
>
> But i have some extra info.
> In the time i can´t open ticket with attachment, the mysql is at 90% (or
> more) of ram memory. I change my my.cnf to make mysql less ram hungry.
>
> But it donesn´t he problem, not works fine. I can´t upload if the file is
> up than 100kb. I get an 500 internal server error. If the file is 24k works
> fine for uopload, if is miore than 100k i cant upload it.
>
>
>
> 2012/5/9 Ruslan Zakirov 
>
>> On Wed, May 9, 2012 at 10:52 AM, Juanjo  wrote:
>> > Sorry :(
>> >
>> > From 3.6.5 to 4.0.5 on mysql.
>>
>> Have you followed UPGRADING.mysql instructions?
>>
>>
>> >
>> >
>> >
>> >
>> > 2012/5/8 Ruslan Zakirov 
>> >>
>> >> On Tue, May 8, 2012 at 7:21 PM, Juanjo  wrote:
>> >> > I finished migrate my old RT to new 4.0.5.
>> >>
>> >> From which version on what DB?
>> >>
>> >> --
>> >> Best regards, Ruslan.
>> >
>> >
>> >
>> >
>> > --
>> > Un saludo.
>> > Juanjo Corral
>>
>>
>>
>> --
>> Best regards, Ruslan.
>>
>
>
>
> --
> Un saludo.
> Juanjo Corral
>



-- 
Un saludo.
Juanjo Corral


Re: [rt-users] Can not open ticket with attachment on 4.0.5

2012-05-09 Thread Juanjo
Yes.

But i have some extra info.
In the time i can´t open ticket with attachment, the mysql is at 90% (or
more) of ram memory. I change my my.cnf to make mysql less ram hungry.

But it donesn´t he problem, not works fine. I can´t upload if the file is
up than 100kb. I get an 500 internal server error. If the file is 24k works
fine for uopload, if is miore than 100k i cant upload it.


2012/5/9 Ruslan Zakirov 

> On Wed, May 9, 2012 at 10:52 AM, Juanjo  wrote:
> > Sorry :(
> >
> > From 3.6.5 to 4.0.5 on mysql.
>
> Have you followed UPGRADING.mysql instructions?
>
>
> >
> >
> >
> >
> > 2012/5/8 Ruslan Zakirov 
> >>
> >> On Tue, May 8, 2012 at 7:21 PM, Juanjo  wrote:
> >> > I finished migrate my old RT to new 4.0.5.
> >>
> >> From which version on what DB?
> >>
> >> --
> >> Best regards, Ruslan.
> >
> >
> >
> >
> > --
> > Un saludo.
> > Juanjo Corral
>
>
>
> --
> Best regards, Ruslan.
>



-- 
Un saludo.
Juanjo Corral


Re: [rt-users] Can not open ticket with attachment on 4.0.5

2012-05-09 Thread Juanjo
The internal errors occur if i use other language than english. I thin that
i open new cuestion about it.

2012/5/9 Juanjo 

>
>
> 2012/5/9 Juanjo 
>
>> I think i know what are the problem.
>>
>> Mysql are using all the ram memory, when this happend doesn´t accept
>> attachment (per email or per uploading to ticket).
>>
>> Other thing, On Chrome when i upload a attachment i get a 500 internal
>> server error. With IE or Firefox doesn´t occur.
>>
>>
>> 2012/5/9 Juanjo 
>>
>>> Sorry :(
>>>
>>> From 3.6.5 to 4.0.5 on mysql.
>>>
>>>
>>>
>>>
>>> 2012/5/8 Ruslan Zakirov 
>>>
>>>> On Tue, May 8, 2012 at 7:21 PM, Juanjo  wrote:
>>>> > I finished migrate my old RT to new 4.0.5.
>>>>
>>>> From which version on what DB?
>>>>
>>>> --
>>>> Best regards, Ruslan.
>>>>
>>>
>>>
>>>
>>> --
>>> Un saludo.
>>> Juanjo Corral
>>>
>>
>>
>>
>> --
>> Un saludo.
>> Juanjo Corral
>>
>
>
>
> --
> Un saludo.
> Juanjo Corral
>



-- 
Un saludo.
Juanjo Corral


Re: [rt-users] Can not open ticket with attachment on 4.0.5

2012-05-09 Thread Juanjo
2012/5/9 Juanjo 

> I think i know what are the problem.
>
> Mysql are using all the ram memory, when this happend doesn´t accept
> attachment (per email or per uploading to ticket).
>
> Other thing, On Chrome when i upload a attachment i get a 500 internal
> server error. With IE or Firefox doesn´t occur.
>
>
> 2012/5/9 Juanjo 
>
>> Sorry :(
>>
>> From 3.6.5 to 4.0.5 on mysql.
>>
>>
>>
>>
>> 2012/5/8 Ruslan Zakirov 
>>
>>> On Tue, May 8, 2012 at 7:21 PM, Juanjo  wrote:
>>> > I finished migrate my old RT to new 4.0.5.
>>>
>>> From which version on what DB?
>>>
>>> --
>>> Best regards, Ruslan.
>>>
>>
>>
>>
>> --
>> Un saludo.
>> Juanjo Corral
>>
>
>
>
> --
> Un saludo.
> Juanjo Corral
>



-- 
Un saludo.
Juanjo Corral


[rt-users] Can not open ticket with attachment on 4.0.5

2012-05-08 Thread Juanjo
Hi people.

I finished migrate my old RT to new 4.0.5.
I see that i can´t open a ticket if this ticket have an attachment. But, i
can attach a file to an existente ticket.

Could you help me?

Thanks.
Kindest regards.

-- 
Un saludo.
Juanjo Corral


[rt-users] Menu Actions, and most comman used actions

2012-05-04 Thread Juanjo
Hi,

I see if you open one ticket, that the most used actions are under Actions
Menu. But, Have direct access for less (for me) used actions. Like Jumbo,
Reminders, etc...
Could i have direct access (without click on Actions menu), to my usefull
Actions?? Like, Reply, Resolve, Take .

Regards.

-- 
Un saludo.
Juanjo Corral


Re: [rt-users] Assign permissions massively

2012-03-30 Thread Juanjo
May be can resolve it, if i can to put all the users Outgoing Mail option
to "Default YES", now are "Default (no)". (on the Settings / Options / Mail
zone of users settings).



But i don´t know where i have to change it.

El 30 de marzo de 2012 11:03, Juanjo  escribió:

> Hi.
>
> I supose the migration pass all the configuration. But when done, the
> users can´t open tickets via email or reply to its via email. Neither a web
> user can reply a ticket with a succesfull email sent.
>
> I have a lot of errors of "No recipients Found" and a rt-mailgate --debug
> get errors give me "gateway not ok - Could not load a valid user"
>
> I check my RTAddressRegexp and seems ok.
>
> Only when i get permission to one user to open tickets, reply tickets and
> check the option in his preferences for mail to outgoing mail yes start to
> work.
>
> I think there are some "lost" data in the migration, becasuse with the
> same data in the OLD system i can send emails or open tickets without
> problems.
>
> Thanks.
> Kindest regards.
>
> El 30 de marzo de 2012 03:02, Thomas Sibley escribió:
>
> On 03/29/2012 08:58 PM, Juanjo wrote:
>> > In my RT migration (3.6.5 to 4.0.5) i lost some users rights.
>> >
>> > The users can´t create new tickets or reply to its.
>>
>> A standard RT migration will preserve all rights.  Can you expand on
>> what you mean by "lost"?
>>
>
>
>
> --
> Un saludo.
> Juanjo Corral
>



-- 
Un saludo.
Juanjo Corral


Re: [rt-users] Assign permissions massively

2012-03-30 Thread Juanjo
Hi.

I supose the migration pass all the configuration. But when done, the users
can´t open tickets via email or reply to its via email. Neither a web user
can reply a ticket with a succesfull email sent.

I have a lot of errors of "No recipients Found" and a rt-mailgate --debug
get errors give me "gateway not ok - Could not load a valid user"

I check my RTAddressRegexp and seems ok.

Only when i get permission to one user to open tickets, reply tickets and
check the option in his preferences for mail to outgoing mail yes start to
work.

I think there are some "lost" data in the migration, becasuse with the same
data in the OLD system i can send emails or open tickets without problems.

Thanks.
Kindest regards.

El 30 de marzo de 2012 03:02, Thomas Sibley escribió:

> On 03/29/2012 08:58 PM, Juanjo wrote:
> > In my RT migration (3.6.5 to 4.0.5) i lost some users rights.
> >
> > The users can´t create new tickets or reply to its.
>
> A standard RT migration will preserve all rights.  Can you expand on
> what you mean by "lost"?
>



-- 
Un saludo.
Juanjo Corral


[rt-users] Assign permissions massively

2012-03-29 Thread Juanjo
Hello Again.

In my RT migration (3.6.5 to 4.0.5) i lost some users rights.

The users can´t create new tickets or reply to its.

I need to grant all useres permission to open tickets, reply to its and
Peremit Outgoing mail.

How can i do it?

Regards and thanks.

-- 
Un saludo.
Juanjo Corral


Re: [rt-users] Error Condition Unimplemented in RT::Handle migration from 3.6.5 to 4.0.5 database

2012-03-26 Thread Juanjo
I still can´t upgrade in the Centos Server.

I have to install two Ubuntu servers. One with the 3.8 Version and one with
4.0.1 version (with APT). And make and upgrade per version, Dump the
original database and import to ubuntu, for migrate to 3.8.10. Dump and
migrate to version 4.0.1 and so the last migration to the centos to reward
at 4.0.5

:( a lot of job and hours of restrore innodb tables, or changing all tables
form myisam to innodb.

Any help with this problem.

El 21 de marzo de 2012 08:58, Juanjo  escribió:

> My Database name is RT3.
>
> Execute the order to upgrade 3.7.19 and get this:
>
> Working with:
> Type:   mysql
> Host:   localhost
> Name:   rt3
> User:   rt_user
> DBA:root
> [Wed Mar 21 07:57:27 2012] [debug]: RT's GnuPG libraries couldn't
> successfully read your configured GnuPG home directory
> (/opt/rt4/var/data/gpg). PGP support has been disabled
> (/opt/rt4/sbin/../lib/RT/Config.pm:595)
> [Wed Mar 21 07:57:27 2012] [debug]: The RTAddressRegexp option is not set
> in the config. Not setting this option results in additional SQL queries to
> check whether each address belongs to RT or not. It is especially important
> to set this option if RT recieves emails on addresses that are not in the
> database or config. (/opt/rt4/sbin/../lib/RT/Config.pm:454)
> Now inserting data.
> [Wed Mar 21 07:57:27 2012] [debug]: Going to load
> 'etc/upgrade/3.7.19/content' data file
> (/opt/rt4/sbin/../lib/RT/Handle.pm:759)
> Couldn't finish 'insert' step.
>
> ERROR: Couldn't load data from 'etc/upgrade/3.7.19/content' for import:
>
> ERROR:RT::Scrip::Condition Unimplemented in RT::Handle.
> (etc/upgrade/3.7.19/content line 27)
> Compilation failed in require at /opt/rt4/sbin/../lib/RT/Handle.pm line
> 760.
>
>
>
>
>
>
> My script table, i don´t know if i can post and attacchment. so i paste
> the SQL
>
>
>
>
>
>
> -- phpMyAdmin SQL Dump
> -- version 3.4.9
> -- http://www.phpmyadmin.net
> --
> -- Servidor: localhost
> -- Tiempo de generación: 21-03-2012 a las 08:53:29
> -- Versión del servidor: 5.5.21
> -- Versión de PHP: 5.3.10
>
> SET SQL_MODE="NO_AUTO_VALUE_ON_ZERO";
> SET time_zone = "+00:00";
>
>
> /*!40101 SET @OLD_CHARACTER_SET_CLIENT=@@CHARACTER_SET_CLIENT */;
> /*!40101 SET @OLD_CHARACTER_SET_RESULTS=@@CHARACTER_SET_RESULTS */;
> /*!40101 SET @OLD_COLLATION_CONNECTION=@@COLLATION_CONNECTION */;
> /*!40101 SET NAMES utf8 */;
>
> --
> -- Base de datos: `rt3`
> --
>
> -- 
>
> --
> -- Estructura de tabla para la tabla `Scrips`
> --
>
> CREATE TABLE IF NOT EXISTS `Scrips` (
>   `id` int(11) NOT NULL AUTO_INCREMENT,
>   `Description` varchar(255) DEFAULT NULL,
>   `ScripCondition` int(11) NOT NULL DEFAULT '0',
>   `ScripAction` int(11) NOT NULL DEFAULT '0',
>   `ConditionRules` text,
>   `ActionRules` text,
>   `CustomIsApplicableCode` text,
>   `CustomPrepareCode` text,
>   `CustomCommitCode` text,
>   `Stage` varchar(32) DEFAULT NULL,
>   `Queue` int(11) NOT NULL DEFAULT '0',
>   `Template` int(11) NOT NULL DEFAULT '0',
>   `Creator` int(11) NOT NULL DEFAULT '0',
>   `Created` datetime DEFAULT NULL,
>   `LastUpdatedBy` int(11) NOT NULL DEFAULT '0',
>   `LastUpdated` datetime DEFAULT NULL,
>   PRIMARY KEY (`id`)
> ) ENGINE=InnoDB  DEFAULT CHARSET=latin1 AUTO_INCREMENT=24 ;
>
> --
> -- Volcado de datos para la tabla `Scrips`
> --
>
> INSERT INTO `Scrips` (`id`, `Description`, `ScripCondition`,
> `ScripAction`, `ConditionRules`, `ActionRules`, `CustomIsApplicableCode`,
> `CustomPrepareCode`, `CustomCommitCode`, `Stage`, `Queue`, `Template`,
> `Creator`, `Created`, `LastUpdatedBy`, `LastUpdated`) VALUES
> (1, 'On Correspond Open Tickets', 3, 17, NULL, NULL, NULL, NULL, NULL,
> 'TransactionCreate', 0, 1, 1, '2007-11-05 15:40:29', 1, '2007-11-05
> 15:40:29'),
> (2, 'On Owner Change Notify Owner', 7, 4, NULL, NULL, NULL, NULL, NULL,
> 'TransactionCreate', 0, 16, 1, '2007-11-05 15:40:29', 1, '2007-11-05
> 15:40:29'),
> (3, 'On Create Autoreply', 1, 1, NULL, NULL, NULL, NULL, NULL,
> 'TransactionCreate', 0, 13, 1, '2007-11-05 15:40:29', 1, '2007-11-05
> 15:40:29'),
> (4, 'On Create Notify AdminCcs', 1, 8, NULL, NULL, NULL, NULL, NULL,
> 'TransactionCreate', 0, 3, 1, '2007-11-05 15:40:29', 1, '2007-11-05
> 15:40:29'),
> (5, 'On Correspond Notify AdminCcs', 3, 8, NULL, NULL, NULL, NULL, NULL,
> 'Transact

Re: [rt-users] Debian/Ubuntu rt-setup-database doesn´t work

2012-03-23 Thread Juanjo
Install PERL-DOC packages and works. Sorry.

El 24 de marzo de 2012 00:16, Juanjo  escribió:

> Hi Again.
>
> I have two installations, one with Ubuntu Server 11.10 and another with
> Debian Wheezy. With RT4 installed trought apt-get
> Both installations give me the same error.
>
> # ./rt-setup-database-4
>
> Dont return the options of this command. I get the PERL code that use this
> command.
>
> Perhaps i forget some packet to install...
>
> Any help?
>
> --
> Un saludo.
> Juanjo Corral
>



-- 
Un saludo.
Juanjo Corral


[rt-users] Debian/Ubuntu rt-setup-database doesn´t work

2012-03-23 Thread Juanjo
Hi Again.

I have two installations, one with Ubuntu Server 11.10 and another with
Debian Wheezy. With RT4 installed trought apt-get
Both installations give me the same error.

# ./rt-setup-database-4

Dont return the options of this command. I get the PERL code that use this
command.

Perhaps i forget some packet to install...

Any help?

-- 
Un saludo.
Juanjo Corral


Re: [rt-users] Trying top upgrade rt3 3.6.5 database to rt4 4.0.5 database.

2012-03-22 Thread Juanjo
I read the README file and says:

   1b) Configure the new MySQL to use Latin1 as the default character
   set everywhere, not UTF-8.  This is necessary so the import in
   the next step assumes the data is Latin1.

My Mysql is not full Latin1 to do the upgrade.If you see other emails i
have a lot of problems with the datbase migration.

I only follow the instructions to make the upgrade

Thanks.
Best Regards,

El 22 de marzo de 2012 18:52, Ruslan Zakirov escribió:

> Hi,
>
> RT uses UTF8. In version prior to RT 3.8 you could have DB configured for
> latin1, but still data is UTF8. This is wrong and upgrade to RT 3.8 or
> newer corrects schema if properly performed.
>
> I don't understand what exactly is your problem.
>
>
> On Fri, Mar 16, 2012 at 17:41, Juanjo  wrote:
>
>> Any help?
>>
>> El 15 de marzo de 2012 09:39, Juanjo  escribió:
>>
>> Hello Again.
>>>
>>> I´m trying to upgrade the old database to my new server database.
>>>
>>> And i have problems with the 1b point.
>>>
>>>1b) Configure the new MySQL to use Latin1 as the default character
>>>set everywhere, not UTF-8.  This is necessary so the import in
>>>the next step assumes the data is Latin1.
>>>
>>> Now i have this
>>>
>>> character set clientutf8 (Valor global)latin1 character set connection
>>> latin1 character set database latin1 character set 
>>> filesystembinarycharacter set results
>>> utf8 (Valor global)latin1 character set serverlatin1 character set
>>> system utf8
>>> And all the database tables or fields is in utf8_general_ci.
>>>
>>> Could you help me to make this database upgrade?
>>>
>>> Thanks.
>>> Kindest regards.
>>>
>>
>>
>>
>> --
>> Un saludo.
>> Juanjo Corral
>>
>
>
>
> --
> Best regards, Ruslan.
>



-- 
Un saludo.
Juanjo Corral


Re: [rt-users] Error Condition Unimplemented in RT::Handle migration from 3.6.5 to 4.0.5 database

2012-03-21 Thread Juanjo
 Content=>
$self->loc("Your request has been approved."),\n);\n$T::Approval  =
$Ticket;# so we can access it inside templates\n$self->{TicketObj}
= $obj;  # we want the original id in the token line\n$passed = 1;\n
}\nelsif ($obj->Type eq ''approval'') {\n$obj->SetStatus( Status =>
''open'', Force => 1 );\n}\nelsif ($RT::UseCodeTickets and
$obj->Type eq ''code'') {\nmy $code =
$obj->Transactions->First->Content;\nmy $rv;\n\nforeach my $TOP
(@TOP) {\nlocal $@;\n$rv++ if eval $code;\n
$RT::Logger->error("Cannot eval code: $@") if $@;\n}\n\nif ($rv or
!@TOP) {\n$obj->SetStatus( Status=> ''resolved'', Force=>
1,);\n}\nelse {\n$obj->SetStatus( Status=>
''rejected'', Force=> 1,);\n}\n}\n}\n\n# Now magically turn
myself into a Requestor Notify object...\nrequire RT::Action::Notify;
bless($self, ''RT::Action::Notify'');\n$self->{Argument} = ''Requestor'';
$self->Prepare;\n\nreturn 0; # ignore $passed;\n#
--- #\n
', '"never needed"', 'TransactionCreate', 2, 11, 1, '2007-11-05 15:40:29',
1, '2007-11-05 15:40:29'),
(15, 'Notify Owner on Comment', 4, 4, NULL, NULL, '', '', '',
'TransactionCreate', 0, 5, 12, '2007-11-06 18:03:24', 12, '2007-11-06
18:03:24'),
(16, 'Notify Owner on Correspondence', 3, 4, NULL, NULL, '', '', '',
'TransactionCreate', 0, 5, 12, '2007-11-06 18:04:03', 12, '2007-11-06
18:04:03'),
(17, 'On Resolve in General-ES Reopen', 9, 15, NULL, NULL, '', 'return 1;',
'# get out unless ticket is in Dispatch\n  return 1 unless
$self->TicketObj->QueueObj->Name eq "General-ES";\n\n  # ok, re-open
ticket\n  $RT::Logger->info("Re-openinging ticket #". $self->TicketObj->id
." - tried to resolve in Dispatch");\n  my ($status, $msg) =
$self->TicketObj->SetStatus( "open" );\n\n  return 1;\n',
'TransactionCreate', 0, 1, 12, '2007-11-06 18:08:14', 12, '2007-11-06
18:08:14'),
(18, 'On Resolve Set Owner', 9, 15, NULL, NULL, '', 'return 1;', '# get
actor ID\r\n  my $Actor = $self->TransactionObj->Creator;\r\n\r\n  # if
actor is RT_SystemUser then get out of here\r\n  return 1 if $Actor ==
$RT::SystemUser->id;\r\n\r\n  # get out unless ticket owner is nobody\r\n
return 1 unless $self->TicketObj->Owner == $RT::Nobody->id;\r\n\r\n  # ok,
try to change owner\r\n  $RT::Logger->info("Auto assign ticket #".
$self->TicketObj->id ." to user #". $Actor );\r\n  my ($status, $msg) =
$self->TicketObj->SetOwner( $Actor );\r\n  unless( $status ) {\r\n
$RT::Logger->error( "Impossible to assign the ticket to $Actor: $msg"
);\r\nreturn undef;\r\n  }\r\n\r\nreturn 1;', 'TransactionCreate', 0,
1, 12, '2007-11-06 18:15:05', 12, '2007-11-06 18:15:05'),
(19, 'On Create Autoreply - General-DE', 1, 1, NULL, NULL, '', '', '',
'Disabled', 0, 14, 12, '2007-11-07 12:41:40', 12, '2007-11-07 12:41:40'),
(20, 'On Create Autoreply - General-NL', 1, 1, NULL, NULL, '', '', '',
'Disabled', 0, 15, 12, '2007-11-07 12:42:07', 12, '2007-11-07 12:42:07'),
(21, 'On Resolve in General-DE Reopen', 9, 15, NULL, NULL, '', 'return 1;',
'# get out unless ticket is in Dispatch\r\n  return 1 unless
$self->TicketObj->QueueObj->Name eq "General-DE";\r\n\r\n  # ok, re-open
ticket\r\n  $RT::Logger->info("Re-openinging ticket #".
$self->TicketObj->id ." - tried to resolve in Dispatch");\r\n  my ($status,
$msg) =  $self->TicketObj->SetStatus( "open" );\r\n\r\n  return 1;\r\n',
'TransactionCreate', 0, 1, 12, '2007-11-07 14:02:07', 12, '2007-11-07
14:02:07'),
(22, 'On Resolve in General-NL Reopen', 9, 15, NULL, NULL, '', 'return 1;',
'# get out unless ticket is in Dispatch\r\n  return 1 unless
$self->TicketObj->QueueObj->Name eq "General-NL";\r\n\r\n  # ok, re-open
ticket\r\n  $RT::Logger->info("Re-openinging ticket #".
$self->TicketObj->id ." - tried to resolve in Dispatch");\r\n  my ($status,
$msg) =  $self->TicketObj->SetStatus( "open" );\r\n\r\n  return 1;\r\n',
'TransactionCreate', 0, 1, 12, '2007-11-07 14:02:36', 12, '2007-11-07
14:02:36'),
(23, 'Notify Owner on Create', 1, 3, NULL, NULL, '', '', '',
'TransactionCreate', 0, 16, 12, '2007-11-20 19:46:12', 12, '2007-11-20
19:46:12');

/*!40101 SET CHARACTER_SET_CLIENT=@OLD_CHARACTER_SET_CLIENT */;
/*!40101 SET CHARACTER_SET_RESULTS=@OLD_CHARACTER_SET_RESULTS */;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;


El 21 de marzo de 2012 01:40, Kevin Falcone escribió:

> On Tue, Mar 20, 2012 at 12:06:46PM +0100, Juanjo wrote:
> >I installa the new scenario, dump the old database and import in the
> new database.
> >
> >I try to upgrade the old to rt 4.0.5 installation.
> >
> >I do a Make initalize-database
> >import the rt3 database on rt4 database and do:
> >
> >./rt-setup-database --prompt-for-dba-password --action upgrade
> >
> >From 3.6.5 to 3.7.10 works fine
> >
> >but from 3.7.10 to 3.7.19 i get this error.
> >
> >Proceed [y/N]:y
> >Processing 3.7.15
> >Now inserting data.
> >Processing 3.7.19
> >Now inserting data.
> >Couldn't finish 'upgrade' step.
> >
> >ERROR: Couldn't load data from './etc/upgrade/3.7.19/content' for
> import:
> >
> >ERROR:RT::Scrip::Condition Unimplemented in RT::Handle.
> (./etc/upgrade/3.7.19/content line 27)
> >Compilation failed in require at /opt/rt4/sbin/../lib/RT/Handle.pm
> line 760.
>
> Try setting Set($LogToScreen,'debug') in your RT_SiteConfig.pm and run
> just the 3.7.19 step
>
> ./sbin/rt-setup-database --action insert --datadir etc/upgrade/3.7.19
>
> It'd also be interesting to see what you have in your Scrips table.
>
> -kevin
>



-- 
Un saludo.
Juanjo Corral


Re: [rt-users] Error Condition Unimplemented in RT::Handle migration from 3.6.5 to 4.0.5 database

2012-03-20 Thread Juanjo
Anybody could help me?

Thanks.

El 20 de marzo de 2012 12:06, Juanjo  escribió:

> Hi again.
>
> I installa the new scenario, dump the old database and import in the new
> database.
>
> I try to upgrade the old to rt 4.0.5 installation.
>
> I do a Make initalize-database
> import the rt3 database on rt4 database and do:
>
>  ./rt-setup-database --prompt-for-dba-password --action upgrade
>
> From 3.6.5 to 3.7.10 works fine
>
> but from 3.7.10 to 3.7.19 i get this error.
>
> Proceed [y/N]:y
> Processing 3.7.15
> Now inserting data.
> Processing 3.7.19
> Now inserting data.
> Couldn't finish 'upgrade' step.
>
> ERROR: Couldn't load data from './etc/upgrade/3.7.19/content' for import:
>
> ERROR:RT::Scrip::Condition Unimplemented in RT::Handle.
> (./etc/upgrade/3.7.19/content line 27)
> Compilation failed in require at /opt/rt4/sbin/../lib/RT/Handle.pm line
> 760.
>
>
> Any help??
> Thanks
>
> Best regards.
>
> --
> Un saludo.
> Juanjo Corral
>



-- 
Un saludo.
Juanjo Corral


[rt-users] Error Condition Unimplemented in RT::Handle migration from 3.6.5 to 4.0.5 database

2012-03-20 Thread Juanjo
Hi again.

I installa the new scenario, dump the old database and import in the new
database.

I try to upgrade the old to rt 4.0.5 installation.

I do a Make initalize-database
import the rt3 database on rt4 database and do:

 ./rt-setup-database --prompt-for-dba-password --action upgrade

>From 3.6.5 to 3.7.10 works fine

but from 3.7.10 to 3.7.19 i get this error.

Proceed [y/N]:y
Processing 3.7.15
Now inserting data.
Processing 3.7.19
Now inserting data.
Couldn't finish 'upgrade' step.

ERROR: Couldn't load data from './etc/upgrade/3.7.19/content' for import:

ERROR:RT::Scrip::Condition Unimplemented in RT::Handle.
(./etc/upgrade/3.7.19/content line 27)
Compilation failed in require at /opt/rt4/sbin/../lib/RT/Handle.pm line 760.


Any help??
Thanks

Best regards.

-- 
Un saludo.
Juanjo Corral


Re: [rt-users] Trying top upgrade rt3 3.6.5 database to rt4 4.0.5 database.

2012-03-16 Thread Juanjo
Any help?

El 15 de marzo de 2012 09:39, Juanjo  escribió:

> Hello Again.
>
> I´m trying to upgrade the old database to my new server database.
>
> And i have problems with the 1b point.
>
>1b) Configure the new MySQL to use Latin1 as the default character
>set everywhere, not UTF-8.  This is necessary so the import in
>the next step assumes the data is Latin1.
>
> Now i have this
>
> character set clientutf8 (Valor global)latin1 character set connection
> latin1 character set database latin1 character set filesystembinarycharacter 
> set results
> utf8 (Valor global)latin1 character set serverlatin1 character set systemutf8
> And all the database tables or fields is in utf8_general_ci.
>
> Could you help me to make this database upgrade?
>
> Thanks.
> Kindest regards.
>



-- 
Un saludo.
Juanjo Corral


[rt-users] Trying top upgrade rt3 3.6.5 database to rt4 4.0.5 database.

2012-03-15 Thread Juanjo
Hello Again.

I´m trying to upgrade the old database to my new server database.

And i have problems with the 1b point.

   1b) Configure the new MySQL to use Latin1 as the default character
   set everywhere, not UTF-8.  This is necessary so the import in
   the next step assumes the data is Latin1.

Now i have this

character set clientutf8(Valor global)latin1 character set
connectionlatin1character set database
latin1 character set filesystembinary character set resultsutf8(Valor
global)latin1 character set serverlatin1 character set systemutf8
And all the database tables or fields is in utf8_general_ci.

Could you help me to make this database upgrade?

Thanks.
Kindest regards.


Re: [rt-users] Problems with Centos 6.2, apache and publish RT and PHPmyadmin sites with mod_fcgid

2012-03-14 Thread Juanjo
Solved.

The error are mod_fcgid. I installed it manually but doesn´t works. Y use
the EPEL respository  and install it with YUM. Now works, i have another
problems, but works.

Kindest regards

El 14 de marzo de 2012 09:55, Juanjo  escribió:

> Hello.
>
> First saludate to all, and sorry for my bad english.
>
> I have one question.
>
>
> I have two virtual host, one for RT and one for phpmyadmin.
> I have a conf file for each in /etc/httpd/conf.d/ directory
>
>
>
> # phpmyadmin.conf
> # Web application to manage MySQL
> #
>
> 
> # Order Deny,Allow
> # Deny from all
> # Allow from 127.0.0.1
> Allow from All
> 
>
> Alias /phpmyadmin /usr/share/phpmyadmin
> Alias /phpMyAdmin /usr/share/phpmyadmin
> Alias /mysqladmin /usr/share/phpmyadmin
>
>
>
> # rt4.conf
> 
> ### 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 fcgid-script fcgi
> 
> 
>
> But when i try to access i get an empty page with "not found" message.
> I see my /var/log/httpd/error_log file and i get this:
>
> [Tue Mar 13 15:07:46 2012] [error] [client 182.186.5.39] File does not
> exist: /opt/rt4/sbin/rt-server.fcgi/phpmyadmin/index.php
> [Tue Mar 13 15:17:11 2012] [error] [client 182.186.5.39] File does not
> exist: /opt/rt4/sbin/rt-server.fcgi/
>
> Any help?
> Kindest Regards.




-- 
Un saludo.
Juanjo Corral


Re: [rt-users] Problems installing RT 4.0.5 with mod_fcgid

2012-03-14 Thread Juanjo
Solved.

The error are mod_fcgid. I installed it manually but doesn´t works. Y use
the EPEL respository  and install it with YUM. Now works, i have another
problems, but works.

Kindest regards.

El 14 de marzo de 2012 09:56, Juanjo  escribió:

> Hi to all.
>
> Im trying to install <http://www.linuxquestions.org/questions/#> a CentOS
> 6.2 machine with the Request Tracker Software (RT).
> Its a web-perl app to manage support tickets.
>
> I see that is recomended use mod_fcgid and install the server with centos
> 6.2, mysql <http://www.linuxquestions.org/questions/#>, apache and the
> requeriments to run RT.
>
> I installed <http://www.linuxquestions.org/questions/#> all (mod_fcgid
> from rpm from last tar.gz sources).
>
> The server works fibne. I can get running the Apache test page, and
> myphpadmin.
>
>  Code:
>
> yum install httpd-devel
> Download source mod_fcgid.
>   wget http://www.apache.org/dist/httpd/mod_fcgid/mod_fcgid-2.3.6.tar.gz
>   
> Install mod_fcgid.
>   tar -zxvf src/mod_fcgid-2.3.6.tar.gz
>   cd mod_fcgid-2.3.6
>   ./configure.apxs
>   make
>   make install
> Configure FCGID populating the conf file.
>   nano -w /etc/httpd/conf.d/php-fcgid.conf
>
>   
>   DefaultInitEnv PHPRC=/etc
>   AddHandler php-fcgi .php
>   FcgidConnectTimeout 20
>   MaxRequestLen 210
>   Action php-fcgi /fcgi-bin/php-fcgi-wrapper
>   AddType application/x-httpd-php .php
>   Alias /fcgi-bin/ /var/www/fcgi-bin.d/default/
>   
>   SetHandler fcgid-script
>   Options +ExecCGI
>   
>   
>   FcgidIOTimeout 2000
>   IdleScanInterval 5
>   BusyScanInterval 5
>   DefaultMinClassProcessCount 0
>   DefaultMaxClassProcessCount 10
>   IPCCommTimeout 60
>   IPCConnectTimeout 60
>   IdleTimeout 5
>
> Nex try to restart httpd and get this.
>
> [root@rt2 conf.d]# /etc/init.d/httpd restart
> Stopping httpd: [FAILED]
> Starting httpd: Syntax error on line 19 of
> /etc/httpd/conf.d/php-fcgid.conf:
> Invalid command 'IdleScanInterval', perhaps misspelled or defined by a
> module not included in the server 
> configuration<http://www.linuxquestions.org/questions/#>
> [FAILED]
>
> doesn´t accept any line under "" in the
> /etc/httpd/conf.d/php-fcgid.conf file.
>
>
> Any help, please??
>
> Thanks.
> Kindest regards.




-- 
Un saludo.
Juanjo Corral


[rt-users] Internal Server error, when trying to acces RT4.0.5

2012-03-14 Thread Juanjo
Hello.

Sorry for all the messages. I´m very frustraring with this installation.

I install all the system, and install and initialize the database.
Configure /opt/rt4/etc/RT_SiteConfig.pm, reload Apache.
And get and 500 Interal Server Error.

This is my /var/log/httpd/error_log output.

[Wed Mar 14 12:20:20 2012] [crit]: Could not create
'/opt/rt4/var/mason_data/obj/.__obj_create_marker': Permission denied
Stack:
  [/usr/local/share/perl5/HTML/Mason/Interp.pm:222]
  [/usr/local/share/perl5/HTML/Mason/Interp.pm:169]
  [/usr/local/share/perl5/HTML/Mason/Interp.pm:155]
  [/usr/local/share/perl5/Class/Container.pm:329]
  [/usr/local/share/perl5/Class/Container.pm:53]
  [/usr/local/share/perl5/HTML/Mason/CGIHandler.pm:48]
  [/usr/local/share/perl5/HTML/Mason/PSGIHandler.pm:14]
  [/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:111]
  [/opt/rt4/sbin/../lib/RT/Interface/Web/Handler.pm:220]
  [/opt/rt4/sbin/rt-server.fcgi:144] (/opt/rt4/sbin/../lib/RT.pm:341)
Died at /opt/rt4/sbin/../lib/RT.pm line 343.
[Wed Mar 14 13:20:20 2012] [warn] [client 172.16.5.39] (104)Connection
reset by peer: mod_fcgid: error reading data from FastCGI server
[Wed Mar 14 13:20:20 2012] [error] [client 172.16.5.39] Premature end of
script headers: rt-server.fcgi

Any help will be appreciated.
Kindest regards.


[rt-users] Problems installing RT 4.0.5 with mod_fcgid

2012-03-14 Thread Juanjo
Hi to all.

Im trying to install  a CentOS
6.2 machine with the Request Tracker Software (RT).
Its a web-perl app to manage support tickets.

I see that is recomended use mod_fcgid and install the server with centos
6.2, mysql , apache and the
requeriments to run RT.

I installed  all (mod_fcgid from
rpm from last tar.gz sources).

The server works fibne. I can get running the Apache test page, and
myphpadmin.

 Code:

yum install httpd-devel
Download source mod_fcgid.
wget http://www.apache.org/dist/httpd/mod_fcgid/mod_fcgid-2.3.6.tar.gz

Install mod_fcgid.
tar -zxvf src/mod_fcgid-2.3.6.tar.gz
cd mod_fcgid-2.3.6
./configure.apxs
make
make install
Configure FCGID populating the conf file.
nano -w /etc/httpd/conf.d/php-fcgid.conf


DefaultInitEnv PHPRC=/etc
AddHandler php-fcgi .php
FcgidConnectTimeout 20
MaxRequestLen 210
Action php-fcgi /fcgi-bin/php-fcgi-wrapper
AddType application/x-httpd-php .php
Alias /fcgi-bin/ /var/www/fcgi-bin.d/default/

SetHandler fcgid-script
Options +ExecCGI


FcgidIOTimeout 2000
IdleScanInterval 5
BusyScanInterval 5
DefaultMinClassProcessCount 0
DefaultMaxClassProcessCount 10
IPCCommTimeout 60
IPCConnectTimeout 60
IdleTimeout 5

Nex try to restart httpd and get this.

[root@rt2 conf.d]# /etc/init.d/httpd restart
Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 19 of /etc/httpd/conf.d/php-fcgid.conf:
Invalid command 'IdleScanInterval', perhaps misspelled or defined by a
module not included in the server
configuration
[FAILED]

doesn´t accept any line under "" in the
/etc/httpd/conf.d/php-fcgid.conf file.


Any help, please??

Thanks.
Kindest regards.


[rt-users] Problems with Centos 6.2, apache and publish RT and PHPmyadmin sites with mod_fcgid

2012-03-14 Thread Juanjo
Hello.

First saludate to all, and sorry for my bad english.

I have one question.


I have two virtual host, one for RT and one for phpmyadmin.
I have a conf file for each in /etc/httpd/conf.d/ directory



# phpmyadmin.conf
# Web application to manage MySQL
#


# Order Deny,Allow
# Deny from all
# Allow from 127.0.0.1
Allow from All


Alias /phpmyadmin /usr/share/phpmyadmin
Alias /phpMyAdmin /usr/share/phpmyadmin
Alias /mysqladmin /usr/share/phpmyadmin



# rt4.conf

### 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 fcgid-script fcgi



But when i try to access i get an empty page with "not found" message.
I see my /var/log/httpd/error_log file and i get this:

[Tue Mar 13 15:07:46 2012] [error] [client 182.186.5.39] File does not
exist: /opt/rt4/sbin/rt-server.fcgi/phpmyadmin/index.php
[Tue Mar 13 15:17:11 2012] [error] [client 182.186.5.39] File does not
exist: /opt/rt4/sbin/rt-server.fcgi/

Any help?
Kindest Regards.