[rt-users] DB upgrade errors from 3.8.9 to 4.0.4

Kim Pedersen lists at kimp.org
Wed Jan 25 15:18:34 EST 2012


Hi everyone

I have a 3.8.9 RT RPM based (Mandriva) installation runnning on Postgres 
that I wanted to upgrade to 4.0.4, and get away from RPM based 
distribution of RT at the same time.

I downloaded the 4.0.4 tarball, resolved the dependencies, and ran 
configure & make upgrade successfully, installing to the default and 
clean location of /opt/rt4

I cloned the postgres rt3 database to rt4 beforehand using the following 
commands:
--
CREATE DATABASE rt4 TEMPLATE rt3 ;
ALTER DATABASE rt4 OWNER TO rt ;
--

Then I ran make upgrade-database, and got the following output listed 
below, which looks good until I get to 4.0.1 where it complains that 
column "delegatedby" does not exist.

I can see others have posted on this list about the same problem when 
upgrading, but they have been installing RT4 on top of their old RT3.

And from what I can gather from the database upgrade scripts, 
"delegatedby" was dropped in version 3.9.3 (Based on Schema.Pg), so 
should I just ignore the error output, or do you have any words of 
wisomd/guidance on how to proceed from here?



Best regards,

Kim



---------------------------
Proceed [y/N]:y

Processing 3.8.9
Now inserting data.
Processing 3.9.1
Now inserting data.
Processing 3.9.2
Now inserting data.
Processing 3.9.3
Now populating database schema.
Processing 3.9.5
Now populating database schema.
Processing 3.9.6
Now populating database schema.
Processing 3.9.7
Now populating database schema.
Now inserting data.
Processing 3.9.8
Now populating database schema.
Now inserting data.
Processing 4.0.0rc2
Processing 4.0.0rc4
Now populating database schema.
Processing 4.0.0rc7
Now inserting data.
Processing 4.0.1
Now inserting database ACLs.
Now inserting data.
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  column "delegatedby" does not exist
LINE 1: SELECT delegatedby FROM ACL WHERE id = $1
                ^ at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'SELECT delegatedby FROM ACL WHERE id = ?' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'SELECT delegatedby FROM ACL WHERE id = ?', 90) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 714
         DBIx::SearchBuilder::Record::__Value('RT::ACE=HASH(0x6e70ef0)', 
'DelegatedBy') called at /home/kim/src/rt-4.0.4/sbin/../lib/RT/Record.pm 
line 627
         RT::Record::__Value('RT::ACE=HASH(0x6e70ef0)', 'DelegatedBy') 
called at /usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 440
         RT::ACE::Delete('RT::ACE=HASH(0x6e70ef0)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  column main.delegatedfrom does not exist
LINE 1: SELECT main.* FROM ACL main  WHERE (main.DelegatedFrom = '90...
                                             ^ at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'SELECT main.* FROM ACL main  WHERE 
(main.DelegatedFrom = '90') ' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'SELECT main.* FROM ACL main  WHERE (main.DelegatedFrom = \'90...') 
called at /usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder.pm line 235
         DBIx::SearchBuilder::_DoSearch('RT::ACL=HASH(0x6c6b1d0)') 
called at /home/kim/src/rt-4.0.4/sbin/../lib/RT/SearchBuilder.pm line 320
         RT::SearchBuilder::_DoSearch('RT::ACL=HASH(0x6c6b1d0)') called 
at /usr/lib/perl5/vendor_perl/5.10.1/RT/ACL_Overlay.pm line 316
         RT::ACL::_DoSearch('RT::ACL=HASH(0x6c6b1d0)') called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder.pm line 503
         DBIx::SearchBuilder::Next('RT::ACL=HASH(0x6c6b1d0)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACL_Overlay.pm line 283
         RT::ACL::Next('RT::ACL=HASH(0x6c6b1d0)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 467
         RT::ACE::_Delete('RT::ACE=HASH(0x6e70ef0)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 447
         RT::ACE::Delete('RT::ACE=HASH(0x6e70ef0)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [crit]: _DoSearch is not so successful as it 
still needs redo search, won't call _BuildHash 
(/usr/lib/perl5/vendor_perl/5.10.1/RT/ACL_Overlay.pm:319)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  current transaction is aborted, commands ignored until end of 
transaction block at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'DELETE FROM ACL WHERE id=? ' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'DELETE FROM ACL WHERE id=? ', 90) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1325
         
DBIx::SearchBuilder::Record::__Delete('RT::ACE=HASH(0x6e70ef0)') called 
at /usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record/Cachable.pm 
line 153
         
DBIx::SearchBuilder::Record::Cachable::__Delete('RT::ACE=HASH(0x6e70ef0)') 
called at /usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm 
line 1305
         DBIx::SearchBuilder::Record::Delete('RT::ACE=HASH(0x6e70ef0)') 
called at /home/kim/src/rt-4.0.4/sbin/../lib/RT/Record.pm line 121
         RT::Record::Delete('RT::ACE=HASH(0x6e70ef0)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 478
         RT::ACE::_Delete('RT::ACE=HASH(0x6e70ef0)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 447
         RT::ACE::Delete('RT::ACE=HASH(0x6e70ef0)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [warning]: Use of uninitialized value in 
subroutine entry at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1327. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm:1327)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  current transaction is aborted, commands ignored until end of 
transaction block at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'SELECT  * FROM CachedGroupMembers WHERE 
GroupId = ? AND MemberId = ?' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'SELECT  * FROM CachedGroupMembers WHERE GroupId = ? AND Membe...', 106, 
1) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1206
         
DBIx::SearchBuilder::Record::_LoadFromSQL('RT::CachedGroupMember=HASH(0x6e87730)', 
'SELECT  * FROM CachedGroupMembers WHERE GroupId = ? AND Membe...', 106, 
1) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1125
         
DBIx::SearchBuilder::Record::LoadByCols('RT::CachedGroupMember=HASH(0x6e87730)', 
'GroupId', 106, 'MemberId', 1) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record/Cachable.pm 
line 120
         
DBIx::SearchBuilder::Record::Cachable::LoadByCols('RT::CachedGroupMember=HASH(0x6e87730)', 
'GroupId', 106, 'MemberId', 1) called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Record.pm line 381
         RT::Record::LoadByCols('RT::CachedGroupMember=HASH(0x6e87730)', 
'MemberId', 1, 'GroupId', 106) called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/Group_Overlay.pm line 1098
         RT::Group::HasMemberRecursively('RT::Group=HASH(0x71a3958)', 
'RT::Principal=HASH(0x71b7f90)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 650
         RT::ACE::_Value('RT::ACE=HASH(0x6e70ef0)', 'RightName') called 
at /usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 545
         RT::ACE::RightName('RT::ACE=HASH(0x6e70ef0)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 482
         RT::ACE::_Delete('RT::ACE=HASH(0x6e70ef0)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 447
         RT::ACE::Delete('RT::ACE=HASH(0x6e70ef0)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [error]: Invalid right. Couldn't canonicalize 
right 'AdminAllPersonalGroups' 
(/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm:553)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  current transaction is aborted, commands ignored until end of 
transaction block at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'SELECT  * FROM CachedGroupMembers WHERE 
GroupId = ? AND MemberId = ?' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'SELECT  * FROM CachedGroupMembers WHERE GroupId = ? AND Membe...', 106, 
1) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1206
         
DBIx::SearchBuilder::Record::_LoadFromSQL('RT::CachedGroupMember=HASH(0x6fdf128)', 
'SELECT  * FROM CachedGroupMembers WHERE GroupId = ? AND Membe...', 106, 
1) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1125
         
DBIx::SearchBuilder::Record::LoadByCols('RT::CachedGroupMember=HASH(0x6fdf128)', 
'GroupId', 106, 'MemberId', 1) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record/Cachable.pm 
line 120
         
DBIx::SearchBuilder::Record::Cachable::LoadByCols('RT::CachedGroupMember=HASH(0x6fdf128)', 
'GroupId', 106, 'MemberId', 1) called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Record.pm line 381
         RT::Record::LoadByCols('RT::CachedGroupMember=HASH(0x6fdf128)', 
'MemberId', 1, 'GroupId', 106) called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/Group_Overlay.pm line 1098
         RT::Group::HasMemberRecursively('RT::Group=HASH(0x6c70378)', 
'RT::Principal=HASH(0x6c859c0)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 650
         RT::ACE::_Value('RT::ACE=HASH(0x6e70ef0)', 'RightName') called 
at /usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 545
         RT::ACE::RightName('RT::ACE=HASH(0x6e70ef0)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 482
         RT::ACE::_Delete('RT::ACE=HASH(0x6e70ef0)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 447
         RT::ACE::Delete('RT::ACE=HASH(0x6e70ef0)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [error]: Invalid right. Couldn't canonicalize 
right 'AdminAllPersonalGroups' 
(/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm:553)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  column "delegatedby" does not exist
LINE 1: SELECT delegatedby FROM ACL WHERE id = $1
                ^ at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'SELECT delegatedby FROM ACL WHERE id = ?' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'SELECT delegatedby FROM ACL WHERE id = ?', 94) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 714
         DBIx::SearchBuilder::Record::__Value('RT::ACE=HASH(0x6c56230)', 
'DelegatedBy') called at /home/kim/src/rt-4.0.4/sbin/../lib/RT/Record.pm 
line 627
         RT::Record::__Value('RT::ACE=HASH(0x6c56230)', 'DelegatedBy') 
called at /usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 440
         RT::ACE::Delete('RT::ACE=HASH(0x6c56230)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  column main.delegatedfrom does not exist
LINE 1: SELECT main.* FROM ACL main  WHERE (main.DelegatedFrom = '94...
                                             ^ at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'SELECT main.* FROM ACL main  WHERE 
(main.DelegatedFrom = '94') ' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'SELECT main.* FROM ACL main  WHERE (main.DelegatedFrom = \'94...') 
called at /usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder.pm line 235
         DBIx::SearchBuilder::_DoSearch('RT::ACL=HASH(0x6c42aa8)') 
called at /home/kim/src/rt-4.0.4/sbin/../lib/RT/SearchBuilder.pm line 320
         RT::SearchBuilder::_DoSearch('RT::ACL=HASH(0x6c42aa8)') called 
at /usr/lib/perl5/vendor_perl/5.10.1/RT/ACL_Overlay.pm line 316
         RT::ACL::_DoSearch('RT::ACL=HASH(0x6c42aa8)') called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder.pm line 503
         DBIx::SearchBuilder::Next('RT::ACL=HASH(0x6c42aa8)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACL_Overlay.pm line 283
         RT::ACL::Next('RT::ACL=HASH(0x6c42aa8)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 467
         RT::ACE::_Delete('RT::ACE=HASH(0x6c56230)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 447
         RT::ACE::Delete('RT::ACE=HASH(0x6c56230)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [crit]: _DoSearch is not so successful as it 
still needs redo search, won't call _BuildHash 
(/usr/lib/perl5/vendor_perl/5.10.1/RT/ACL_Overlay.pm:319)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  current transaction is aborted, commands ignored until end of 
transaction block at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'DELETE FROM ACL WHERE id=? ' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'DELETE FROM ACL WHERE id=? ', 94) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1325
         
DBIx::SearchBuilder::Record::__Delete('RT::ACE=HASH(0x6c56230)') called 
at /usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record/Cachable.pm 
line 153
         
DBIx::SearchBuilder::Record::Cachable::__Delete('RT::ACE=HASH(0x6c56230)') 
called at /usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm 
line 1305
         DBIx::SearchBuilder::Record::Delete('RT::ACE=HASH(0x6c56230)') 
called at /home/kim/src/rt-4.0.4/sbin/../lib/RT/Record.pm line 121
         RT::Record::Delete('RT::ACE=HASH(0x6c56230)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 478
         RT::ACE::_Delete('RT::ACE=HASH(0x6c56230)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 447
         RT::ACE::Delete('RT::ACE=HASH(0x6c56230)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [warning]: Use of uninitialized value in 
subroutine entry at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1327. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm:1327)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  current transaction is aborted, commands ignored until end of 
transaction block at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'SELECT  * FROM CachedGroupMembers WHERE 
GroupId = ? AND MemberId = ?' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'SELECT  * FROM CachedGroupMembers WHERE GroupId = ? AND Membe...', 106, 
1) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1206
         
DBIx::SearchBuilder::Record::_LoadFromSQL('RT::CachedGroupMember=HASH(0x6eb8910)', 
'SELECT  * FROM CachedGroupMembers WHERE GroupId = ? AND Membe...', 106, 
1) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1125
         
DBIx::SearchBuilder::Record::LoadByCols('RT::CachedGroupMember=HASH(0x6eb8910)', 
'GroupId', 106, 'MemberId', 1) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record/Cachable.pm 
line 120
         
DBIx::SearchBuilder::Record::Cachable::LoadByCols('RT::CachedGroupMember=HASH(0x6eb8910)', 
'GroupId', 106, 'MemberId', 1) called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Record.pm line 381
         RT::Record::LoadByCols('RT::CachedGroupMember=HASH(0x6eb8910)', 
'MemberId', 1, 'GroupId', 106) called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/Group_Overlay.pm line 1098
         RT::Group::HasMemberRecursively('RT::Group=HASH(0x700aba8)', 
'RT::Principal=HASH(0x35a41a0)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 650
         RT::ACE::_Value('RT::ACE=HASH(0x6c56230)', 'RightName') called 
at /usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 545
         RT::ACE::RightName('RT::ACE=HASH(0x6c56230)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 482
         RT::ACE::_Delete('RT::ACE=HASH(0x6c56230)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 447
         RT::ACE::Delete('RT::ACE=HASH(0x6c56230)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [error]: Invalid right. Couldn't canonicalize 
right 'AdminOwnPersonalGroups' 
(/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm:553)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  current transaction is aborted, commands ignored until end of 
transaction block at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'SELECT  * FROM CachedGroupMembers WHERE 
GroupId = ? AND MemberId = ?' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'SELECT  * FROM CachedGroupMembers WHERE GroupId = ? AND Membe...', 106, 
1) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1206
         
DBIx::SearchBuilder::Record::_LoadFromSQL('RT::CachedGroupMember=HASH(0x6e98e10)', 
'SELECT  * FROM CachedGroupMembers WHERE GroupId = ? AND Membe...', 106, 
1) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1125
         
DBIx::SearchBuilder::Record::LoadByCols('RT::CachedGroupMember=HASH(0x6e98e10)', 
'GroupId', 106, 'MemberId', 1) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record/Cachable.pm 
line 120
         
DBIx::SearchBuilder::Record::Cachable::LoadByCols('RT::CachedGroupMember=HASH(0x6e98e10)', 
'GroupId', 106, 'MemberId', 1) called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Record.pm line 381
         RT::Record::LoadByCols('RT::CachedGroupMember=HASH(0x6e98e10)', 
'MemberId', 1, 'GroupId', 106) called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/Group_Overlay.pm line 1098
         RT::Group::HasMemberRecursively('RT::Group=HASH(0x7194270)', 
'RT::Principal=HASH(0x70cebc0)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 650
         RT::ACE::_Value('RT::ACE=HASH(0x6c56230)', 'RightName') called 
at /usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 545
         RT::ACE::RightName('RT::ACE=HASH(0x6c56230)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 482
         RT::ACE::_Delete('RT::ACE=HASH(0x6c56230)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 447
         RT::ACE::Delete('RT::ACE=HASH(0x6c56230)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [error]: Invalid right. Couldn't canonicalize 
right 'AdminOwnPersonalGroups' 
(/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm:553)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  column "delegatedby" does not exist
LINE 1: SELECT delegatedby FROM ACL WHERE id = $1
                ^ at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'SELECT delegatedby FROM ACL WHERE id = ?' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'SELECT delegatedby FROM ACL WHERE id = ?', 101) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 714
         DBIx::SearchBuilder::Record::__Value('RT::ACE=HASH(0x6fdef30)', 
'DelegatedBy') called at /home/kim/src/rt-4.0.4/sbin/../lib/RT/Record.pm 
line 627
         RT::Record::__Value('RT::ACE=HASH(0x6fdef30)', 'DelegatedBy') 
called at /usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 440
         RT::ACE::Delete('RT::ACE=HASH(0x6fdef30)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  column main.delegatedfrom does not exist
LINE 1: SELECT main.* FROM ACL main  WHERE (main.DelegatedFrom = '10...
                                             ^ at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'SELECT main.* FROM ACL main  WHERE 
(main.DelegatedFrom = '101') ' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'SELECT main.* FROM ACL main  WHERE (main.DelegatedFrom = \'10...') 
called at /usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder.pm line 235
         DBIx::SearchBuilder::_DoSearch('RT::ACL=HASH(0x70df3a8)') 
called at /home/kim/src/rt-4.0.4/sbin/../lib/RT/SearchBuilder.pm line 320
         RT::SearchBuilder::_DoSearch('RT::ACL=HASH(0x70df3a8)') called 
at /usr/lib/perl5/vendor_perl/5.10.1/RT/ACL_Overlay.pm line 316
         RT::ACL::_DoSearch('RT::ACL=HASH(0x70df3a8)') called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder.pm line 503
         DBIx::SearchBuilder::Next('RT::ACL=HASH(0x70df3a8)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACL_Overlay.pm line 283
         RT::ACL::Next('RT::ACL=HASH(0x70df3a8)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 467
         RT::ACE::_Delete('RT::ACE=HASH(0x6fdef30)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 447
         RT::ACE::Delete('RT::ACE=HASH(0x6fdef30)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [crit]: _DoSearch is not so successful as it 
still needs redo search, won't call _BuildHash 
(/usr/lib/perl5/vendor_perl/5.10.1/RT/ACL_Overlay.pm:319)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  current transaction is aborted, commands ignored until end of 
transaction block at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'DELETE FROM ACL WHERE id=? ' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'DELETE FROM ACL WHERE id=? ', 101) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1325
         
DBIx::SearchBuilder::Record::__Delete('RT::ACE=HASH(0x6fdef30)') called 
at /usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record/Cachable.pm 
line 153
         
DBIx::SearchBuilder::Record::Cachable::__Delete('RT::ACE=HASH(0x6fdef30)') 
called at /usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm 
line 1305
         DBIx::SearchBuilder::Record::Delete('RT::ACE=HASH(0x6fdef30)') 
called at /home/kim/src/rt-4.0.4/sbin/../lib/RT/Record.pm line 121
         RT::Record::Delete('RT::ACE=HASH(0x6fdef30)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 478
         RT::ACE::_Delete('RT::ACE=HASH(0x6fdef30)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 447
         RT::ACE::Delete('RT::ACE=HASH(0x6fdef30)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [warning]: Use of uninitialized value in 
subroutine entry at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1327. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm:1327)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  current transaction is aborted, commands ignored until end of 
transaction block at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'SELECT  * FROM CachedGroupMembers WHERE 
GroupId = ? AND MemberId = ?' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'SELECT  * FROM CachedGroupMembers WHERE GroupId = ? AND Membe...', 106, 
1) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1206
         
DBIx::SearchBuilder::Record::_LoadFromSQL('RT::CachedGroupMember=HASH(0x6fe68d0)', 
'SELECT  * FROM CachedGroupMembers WHERE GroupId = ? AND Membe...', 106, 
1) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1125
         
DBIx::SearchBuilder::Record::LoadByCols('RT::CachedGroupMember=HASH(0x6fe68d0)', 
'GroupId', 106, 'MemberId', 1) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record/Cachable.pm 
line 120
         
DBIx::SearchBuilder::Record::Cachable::LoadByCols('RT::CachedGroupMember=HASH(0x6fe68d0)', 
'GroupId', 106, 'MemberId', 1) called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Record.pm line 381
         RT::Record::LoadByCols('RT::CachedGroupMember=HASH(0x6fe68d0)', 
'MemberId', 1, 'GroupId', 106) called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/Group_Overlay.pm line 1098
         RT::Group::HasMemberRecursively('RT::Group=HASH(0x71b7f90)', 
'RT::Principal=HASH(0x2c55410)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 650
         RT::ACE::_Value('RT::ACE=HASH(0x6fdef30)', 'RightName') called 
at /usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 545
         RT::ACE::RightName('RT::ACE=HASH(0x6fdef30)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 482
         RT::ACE::_Delete('RT::ACE=HASH(0x6fdef30)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 447
         RT::ACE::Delete('RT::ACE=HASH(0x6fdef30)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  current transaction is aborted, commands ignored until end of 
transaction block at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'SELECT DISTINCT main.* FROM 
CachedGroupMembers main JOIN Principals Principals_1  ON ( 
Principals_1.id = main.MemberId )  WHERE (main.GroupId = '106') AND 
(Principals_1.PrincipalType = 'User') ' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'SELECT DISTINCT main.* FROM CachedGroupMembers main JOIN Prin...') 
called at /usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder.pm line 235
         
DBIx::SearchBuilder::_DoSearch('RT::CachedGroupMembers=HASH(0x70ef4a0)') 
called at /home/kim/src/rt-4.0.4/sbin/../lib/RT/SearchBuilder.pm line 320
         
RT::SearchBuilder::_DoSearch('RT::CachedGroupMembers=HASH(0x70ef4a0)') 
called at /usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder.pm line 503
         
DBIx::SearchBuilder::Next('RT::CachedGroupMembers=HASH(0x70ef4a0)') 
called at /usr/lib/perl5/vendor_perl/5.10.1/RT/Group_Overlay.pm line 1230
         
RT::Group::_CleanupInvalidDelegations('RT::Group=HASH(0x6ec6960)', 
'InsideTransaction', 1) called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/Principal_Overlay.pm line 249
         
RT::Principal::_CleanupInvalidDelegations('RT::Principal=HASH(0x71c81d8)', 
'InsideTransaction', 1) called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 482
         RT::ACE::_Delete('RT::ACE=HASH(0x6fdef30)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 447
         RT::ACE::Delete('RT::ACE=HASH(0x6fdef30)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  column "delegatedby" does not exist
LINE 1: SELECT delegatedby FROM ACL WHERE id = $1
                ^ at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'SELECT delegatedby FROM ACL WHERE id = ?' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'SELECT delegatedby FROM ACL WHERE id = ?', 910) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 714
         DBIx::SearchBuilder::Record::__Value('RT::ACE=HASH(0x70f03d0)', 
'DelegatedBy') called at /home/kim/src/rt-4.0.4/sbin/../lib/RT/Record.pm 
line 627
         RT::Record::__Value('RT::ACE=HASH(0x70f03d0)', 'DelegatedBy') 
called at /usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 440
         RT::ACE::Delete('RT::ACE=HASH(0x70f03d0)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  column main.delegatedfrom does not exist
LINE 1: SELECT main.* FROM ACL main  WHERE (main.DelegatedFrom = '91...
                                             ^ at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'SELECT main.* FROM ACL main  WHERE 
(main.DelegatedFrom = '910') ' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'SELECT main.* FROM ACL main  WHERE (main.DelegatedFrom = \'91...') 
called at /usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder.pm line 235
         DBIx::SearchBuilder::_DoSearch('RT::ACL=HASH(0x70df3a8)') 
called at /home/kim/src/rt-4.0.4/sbin/../lib/RT/SearchBuilder.pm line 320
         RT::SearchBuilder::_DoSearch('RT::ACL=HASH(0x70df3a8)') called 
at /usr/lib/perl5/vendor_perl/5.10.1/RT/ACL_Overlay.pm line 316
         RT::ACL::_DoSearch('RT::ACL=HASH(0x70df3a8)') called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder.pm line 503
         DBIx::SearchBuilder::Next('RT::ACL=HASH(0x70df3a8)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACL_Overlay.pm line 283
         RT::ACL::Next('RT::ACL=HASH(0x70df3a8)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 467
         RT::ACE::_Delete('RT::ACE=HASH(0x70f03d0)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 447
         RT::ACE::Delete('RT::ACE=HASH(0x70f03d0)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [crit]: _DoSearch is not so successful as it 
still needs redo search, won't call _BuildHash 
(/usr/lib/perl5/vendor_perl/5.10.1/RT/ACL_Overlay.pm:319)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  current transaction is aborted, commands ignored until end of 
transaction block at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'DELETE FROM ACL WHERE id=? ' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'DELETE FROM ACL WHERE id=? ', 910) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1325
         
DBIx::SearchBuilder::Record::__Delete('RT::ACE=HASH(0x70f03d0)') called 
at /usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record/Cachable.pm 
line 153
         
DBIx::SearchBuilder::Record::Cachable::__Delete('RT::ACE=HASH(0x70f03d0)') 
called at /usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm 
line 1305
         DBIx::SearchBuilder::Record::Delete('RT::ACE=HASH(0x70f03d0)') 
called at /home/kim/src/rt-4.0.4/sbin/../lib/RT/Record.pm line 121
         RT::Record::Delete('RT::ACE=HASH(0x70f03d0)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 478
         RT::ACE::_Delete('RT::ACE=HASH(0x70f03d0)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 447
         RT::ACE::Delete('RT::ACE=HASH(0x70f03d0)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [warning]: Use of uninitialized value in 
subroutine entry at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1327. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm:1327)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  current transaction is aborted, commands ignored until end of 
transaction block at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'SELECT  * FROM CachedGroupMembers WHERE 
GroupId = ? AND MemberId = ?' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'SELECT  * FROM CachedGroupMembers WHERE GroupId = ? AND Membe...', 106, 
1) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1206
         
DBIx::SearchBuilder::Record::_LoadFromSQL('RT::CachedGroupMember=HASH(0x70c0218)', 
'SELECT  * FROM CachedGroupMembers WHERE GroupId = ? AND Membe...', 106, 
1) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1125
         
DBIx::SearchBuilder::Record::LoadByCols('RT::CachedGroupMember=HASH(0x70c0218)', 
'GroupId', 106, 'MemberId', 1) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record/Cachable.pm 
line 120
         
DBIx::SearchBuilder::Record::Cachable::LoadByCols('RT::CachedGroupMember=HASH(0x70c0218)', 
'GroupId', 106, 'MemberId', 1) called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Record.pm line 381
         RT::Record::LoadByCols('RT::CachedGroupMember=HASH(0x70c0218)', 
'MemberId', 1, 'GroupId', 106) called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/Group_Overlay.pm line 1098
         RT::Group::HasMemberRecursively('RT::Group=HASH(0x6ec31a0)', 
'RT::Principal=HASH(0x70c5f40)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 650
         RT::ACE::_Value('RT::ACE=HASH(0x70f03d0)', 'RightName') called 
at /usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 545
         RT::ACE::RightName('RT::ACE=HASH(0x70f03d0)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 482
         RT::ACE::_Delete('RT::ACE=HASH(0x70f03d0)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 447
         RT::ACE::Delete('RT::ACE=HASH(0x70f03d0)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  current transaction is aborted, commands ignored until end of 
transaction block at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'SELECT DISTINCT main.* FROM 
CachedGroupMembers main JOIN Principals Principals_1  ON ( 
Principals_1.id = main.MemberId )  WHERE (main.GroupId = '106') AND 
(Principals_1.PrincipalType = 'User') ' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'SELECT DISTINCT main.* FROM CachedGroupMembers main JOIN Prin...') 
called at /usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder.pm line 235
         
DBIx::SearchBuilder::_DoSearch('RT::CachedGroupMembers=HASH(0x70df5e8)') 
called at /home/kim/src/rt-4.0.4/sbin/../lib/RT/SearchBuilder.pm line 320
         
RT::SearchBuilder::_DoSearch('RT::CachedGroupMembers=HASH(0x70df5e8)') 
called at /usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder.pm line 503
         
DBIx::SearchBuilder::Next('RT::CachedGroupMembers=HASH(0x70df5e8)') 
called at /usr/lib/perl5/vendor_perl/5.10.1/RT/Group_Overlay.pm line 1230
         
RT::Group::_CleanupInvalidDelegations('RT::Group=HASH(0x2c55410)', 
'InsideTransaction', 1) called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/Principal_Overlay.pm line 249
         
RT::Principal::_CleanupInvalidDelegations('RT::Principal=HASH(0x7103508)', 
'InsideTransaction', 1) called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 482
         RT::ACE::_Delete('RT::ACE=HASH(0x70f03d0)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 447
         RT::ACE::Delete('RT::ACE=HASH(0x70f03d0)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  column "delegatedby" does not exist
LINE 1: SELECT delegatedby FROM ACL WHERE id = $1
                ^ at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'SELECT delegatedby FROM ACL WHERE id = ?' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'SELECT delegatedby FROM ACL WHERE id = ?', 918) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 714
         DBIx::SearchBuilder::Record::__Value('RT::ACE=HASH(0x6c5bf60)', 
'DelegatedBy') called at /home/kim/src/rt-4.0.4/sbin/../lib/RT/Record.pm 
line 627
         RT::Record::__Value('RT::ACE=HASH(0x6c5bf60)', 'DelegatedBy') 
called at /usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 440
         RT::ACE::Delete('RT::ACE=HASH(0x6c5bf60)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  column main.delegatedfrom does not exist
LINE 1: SELECT main.* FROM ACL main  WHERE (main.DelegatedFrom = '91...
                                             ^ at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'SELECT main.* FROM ACL main  WHERE 
(main.DelegatedFrom = '918') ' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'SELECT main.* FROM ACL main  WHERE (main.DelegatedFrom = \'91...') 
called at /usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder.pm line 235
         DBIx::SearchBuilder::_DoSearch('RT::ACL=HASH(0x6fef070)') 
called at /home/kim/src/rt-4.0.4/sbin/../lib/RT/SearchBuilder.pm line 320
         RT::SearchBuilder::_DoSearch('RT::ACL=HASH(0x6fef070)') called 
at /usr/lib/perl5/vendor_perl/5.10.1/RT/ACL_Overlay.pm line 316
         RT::ACL::_DoSearch('RT::ACL=HASH(0x6fef070)') called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder.pm line 503
         DBIx::SearchBuilder::Next('RT::ACL=HASH(0x6fef070)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACL_Overlay.pm line 283
         RT::ACL::Next('RT::ACL=HASH(0x6fef070)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 467
         RT::ACE::_Delete('RT::ACE=HASH(0x6c5bf60)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 447
         RT::ACE::Delete('RT::ACE=HASH(0x6c5bf60)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [crit]: _DoSearch is not so successful as it 
still needs redo search, won't call _BuildHash 
(/usr/lib/perl5/vendor_perl/5.10.1/RT/ACL_Overlay.pm:319)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  current transaction is aborted, commands ignored until end of 
transaction block at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'DELETE FROM ACL WHERE id=? ' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'DELETE FROM ACL WHERE id=? ', 918) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1325
         
DBIx::SearchBuilder::Record::__Delete('RT::ACE=HASH(0x6c5bf60)') called 
at /usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record/Cachable.pm 
line 153
         
DBIx::SearchBuilder::Record::Cachable::__Delete('RT::ACE=HASH(0x6c5bf60)') 
called at /usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm 
line 1305
         DBIx::SearchBuilder::Record::Delete('RT::ACE=HASH(0x6c5bf60)') 
called at /home/kim/src/rt-4.0.4/sbin/../lib/RT/Record.pm line 121
         RT::Record::Delete('RT::ACE=HASH(0x6c5bf60)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 478
         RT::ACE::_Delete('RT::ACE=HASH(0x6c5bf60)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 447
         RT::ACE::Delete('RT::ACE=HASH(0x6c5bf60)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [warning]: Use of uninitialized value in 
subroutine entry at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1327. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm:1327)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  current transaction is aborted, commands ignored until end of 
transaction block at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'SELECT  * FROM CachedGroupMembers WHERE 
GroupId = ? AND MemberId = ?' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'SELECT  * FROM CachedGroupMembers WHERE GroupId = ? AND Membe...', 106, 
1) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1206
         
DBIx::SearchBuilder::Record::_LoadFromSQL('RT::CachedGroupMember=HASH(0x71a5ca0)', 
'SELECT  * FROM CachedGroupMembers WHERE GroupId = ? AND Membe...', 106, 
1) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record.pm line 1125
         
DBIx::SearchBuilder::Record::LoadByCols('RT::CachedGroupMember=HASH(0x71a5ca0)', 
'GroupId', 106, 'MemberId', 1) called at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Record/Cachable.pm 
line 120
         
DBIx::SearchBuilder::Record::Cachable::LoadByCols('RT::CachedGroupMember=HASH(0x71a5ca0)', 
'GroupId', 106, 'MemberId', 1) called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Record.pm line 381
         RT::Record::LoadByCols('RT::CachedGroupMember=HASH(0x71a5ca0)', 
'MemberId', 1, 'GroupId', 106) called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/Group_Overlay.pm line 1098
         RT::Group::HasMemberRecursively('RT::Group=HASH(0x6c6b260)', 
'RT::Principal=HASH(0x71ca138)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 650
         RT::ACE::_Value('RT::ACE=HASH(0x6c5bf60)', 'RightName') called 
at /usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 545
         RT::ACE::RightName('RT::ACE=HASH(0x6c5bf60)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 482
         RT::ACE::_Delete('RT::ACE=HASH(0x6c5bf60)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 447
         RT::ACE::Delete('RT::ACE=HASH(0x6c5bf60)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
[Wed Jan 25 18:23:30 2012] [warning]: DBD::Pg::st execute failed: 
ERROR:  current transaction is aborted, commands ignored until end of 
transaction block at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 587. 
(/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm:587)
[Wed Jan 25 18:23:30 2012] [warning]: RT::Handle=HASH(0x71d00c8) 
couldn't execute the query 'SELECT DISTINCT main.* FROM 
CachedGroupMembers main JOIN Principals Principals_1  ON ( 
Principals_1.id = main.MemberId )  WHERE (main.GroupId = '106') AND 
(Principals_1.PrincipalType = 'User') ' at 
/usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder/Handle.pm line 600
         
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0x71d00c8)', 
'SELECT DISTINCT main.* FROM CachedGroupMembers main JOIN Prin...') 
called at /usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder.pm line 235
         
DBIx::SearchBuilder::_DoSearch('RT::CachedGroupMembers=HASH(0x71dc798)') 
called at /home/kim/src/rt-4.0.4/sbin/../lib/RT/SearchBuilder.pm line 320
         
RT::SearchBuilder::_DoSearch('RT::CachedGroupMembers=HASH(0x71dc798)') 
called at /usr/lib/perl5/site_perl/5.10.1/DBIx/SearchBuilder.pm line 503
         
DBIx::SearchBuilder::Next('RT::CachedGroupMembers=HASH(0x71dc798)') 
called at /usr/lib/perl5/vendor_perl/5.10.1/RT/Group_Overlay.pm line 1230
         
RT::Group::_CleanupInvalidDelegations('RT::Group=HASH(0x71f45c0)', 
'InsideTransaction', 1) called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/Principal_Overlay.pm line 249
         
RT::Principal::_CleanupInvalidDelegations('RT::Principal=HASH(0x6c8a968)', 
'InsideTransaction', 1) called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 482
         RT::ACE::_Delete('RT::ACE=HASH(0x6c5bf60)') called at 
/usr/lib/perl5/vendor_perl/5.10.1/RT/ACE_Overlay.pm line 447
         RT::ACE::Delete('RT::ACE=HASH(0x6c5bf60)') called at 
./etc/upgrade/4.0.1/content line 56
         RT::Handle::__ANON__() called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         eval {...} called at 
/home/kim/src/rt-4.0.4/sbin/../lib/RT/Handle.pm line 767
         RT::Handle::InsertData('RT::Handle=HASH(0x71d00c8)', 
'./etc/upgrade/4.0.1/content', undef) called at sbin/rt-setup-database 
line 293
         main::action_insert('prompt-for-dba-password', 1, 'datafile', 
undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.1', 
'backcompat', ...) called at sbin/rt-setup-database line 399
         main::action_upgrade('prompt-for-dba-password', 1, 'action', 
'upgrade', 'dba', 'postgres') called at sbin/rt-setup-database line 198 
(/usr/lib/perl5/5.10.1/Carp.pm:47)
Processing 4.0.3
Now inserting data.
Processing 4.0.4
Now inserting data.
Done.





More information about the rt-users mailing list