4.0.1RC2 upgrade errors from 3.8.7

Successfully used ora2pg to migrate my 3.8.7 RT instance to Pg.
Now upgrading my Pg instance to 4.0.1 and stumbling over the addition
of some ACLs at 3.9.1

John
groenveld@acm.org

/opt/rt4/sbin/rt-setup-database --prompt-for-dba-password --action upgrade --dba rt_user

In order to create or update your RT database, this script needs to connect to your Pg instance on localhost as rt_user
Please specify that user’s database password below. If the user has no database
password, just press return.

Password:
Working with:
Type: Pg
Host: localhost
Name: rt4
User: rt_user
DBA: rt_user
Enter RT version you’re upgrading from: 3.8.7

***** There are upgrades for 4.0.1, which is later than 4.0.1rc2,
***** which you are nominally upgrading to. Upgrading to 4.0.1 instead.

Going to apply following upgrades:

  • 3.8.8
  • 3.8.9
  • 3.9.1
  • 3.9.2
  • 3.9.3
  • 3.9.5
  • 3.9.6
  • 3.9.7
  • 3.9.8
  • 4.0.0rc2
  • 4.0.0rc4
  • 4.0.0rc7
  • 4.0.1

Enter RT version if you want to stop upgrade at some point,
or leave it blank if you want apply above upgrades:

IT’S VERY IMPORTANT TO BACK UP BEFORE THIS STEP

Proceed [y/N]:y
Processing 3.8.8
Now inserting data.
Processing 3.8.9
Now inserting data.
[Fri Jun 17 00:13:27 2011] [warning]: Use of uninitialized value in string eq at /opt/rt4/sbin/…/lib/RT/Template.pm line 627, <> line 1. (/opt/rt4/sbin/…/lib/RT/Template.pm:627)
[Fri Jun 17 00:13:27 2011] [warning]: Use of uninitialized value in string eq at /opt/rt4/sbin/…/lib/RT/Template.pm line 627, <> line 1. (/opt/rt4/sbin/…/lib/RT/Template.pm:627)
Processing 3.9.1
Now inserting data.
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 5817, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 5817, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 5817, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x4e0f038)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 5817, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x4e0f038)’, ‘PrincipalId’, 5817, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x4e0f038)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 5817, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x4be0198)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 5817: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 5817, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 5817, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 5817, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x4959118)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 5817, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x4959118)’, ‘PrincipalId’, 5817, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x4959118)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 5817, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x4632550)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 5817: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 8616, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 8616, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 8616, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x1492360)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 8616, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x1492360)’, ‘PrincipalId’, 8616, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x1492360)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 8616, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x4de66b0)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 8616: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 8616, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 8616, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 8616, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x4954f40)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 8616, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x4954f40)’, ‘PrincipalId’, 8616, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x4954f40)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 8616, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x2adb1b0)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 8616: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 8655, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 8655, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 8655, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x4db7fd8)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 8655, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x4db7fd8)’, ‘PrincipalId’, 8655, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x4db7fd8)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 8655, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x4dc93b0)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 8655: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 8655, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 8655, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 8655, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x4dea7e0)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 8655, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x4dea7e0)’, ‘PrincipalId’, 8655, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x4dea7e0)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 8655, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x4e2c178)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 8655: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 4645, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 4645, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 4645, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x4d49b68)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 4645, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x4d49b68)’, ‘PrincipalId’, 4645, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x4d49b68)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 4645, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x4959118)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 4645: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 4645, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 4645, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 4645, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x4ba74a8)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 4645, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x4ba74a8)’, ‘PrincipalId’, 4645, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x4ba74a8)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 4645, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x4e8e650)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 4645: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 122, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 122, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 122, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x4b3ec88)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 122, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x4b3ec88)’, ‘PrincipalId’, 122, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x4b3ec88)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 122, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x4954f40)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 122: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 122, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 122, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 122, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x4e289f8)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 122, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x4e289f8)’, ‘PrincipalId’, 122, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x4e289f8)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 122, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x40bc300)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 122: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 346, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 346, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 346, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x49b7fe8)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 346, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x49b7fe8)’, ‘PrincipalId’, 346, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x49b7fe8)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 346, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x4dea7e0)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 346: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 346, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 346, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 346, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x4c2e410)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 346, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x4c2e410)’, ‘PrincipalId’, 346, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x4c2e410)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 346, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x4b56b08)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 346: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 122, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 122, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 122, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x4e289f8)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 122, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x4e289f8)’, ‘PrincipalId’, 122, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x4e289f8)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 122, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x4ba74a8)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 122: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 122, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 122, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 122, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x49b7fe8)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 122, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x49b7fe8)’, ‘PrincipalId’, 122, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x49b7fe8)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 122, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x4468c10)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 122: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 23, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 23, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 23, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x4c28f78)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 23, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x4c28f78)’, ‘PrincipalId’, 23, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x4c28f78)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 23, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x4cbe478)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 23: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 23, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 23, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 23, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x3f2fce0)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 23, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x3f2fce0)’, ‘PrincipalId’, 23, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x3f2fce0)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 23, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x4dc0210)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 23: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 76, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 76, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 76, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x4c217d8)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 76, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x4c217d8)’, ‘PrincipalId’, 76, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x4c217d8)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 76, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x4c2e410)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 76: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 76, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 76, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 76, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x4b577b0)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 76, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x4b577b0)’, ‘PrincipalId’, 76, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x4b577b0)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 76, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x496adc8)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 76: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 189, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 189, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 189, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x38cdf30)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 189, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x38cdf30)’, ‘PrincipalId’, 189, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x38cdf30)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 189, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x49b7fe8)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 189: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 189, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 189, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 189, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x44cd458)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 189, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x44cd458)’, ‘PrincipalId’, 189, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x44cd458)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 189, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x37ac370)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 189: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 1097, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 1097, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 1097, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x4c74aa0)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 1097, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x4c74aa0)’, ‘PrincipalId’, 1097, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x4c74aa0)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 1097, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x3f2fce0)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 1097: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 1097, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 1097, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 1097, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x4e39da0)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 1097, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x4e39da0)’, ‘PrincipalId’, 1097, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x4e39da0)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 1097, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x4da7000)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 1097: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 1222, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 1222, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 1222, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x4959bf8)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 1222, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x4959bf8)’, ‘PrincipalId’, 1222, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x4959bf8)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 1222, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x4b577b0)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 1222: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 1222, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 1222, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 1222, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x4b5eab0)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 1222, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x4b5eab0)’, ‘PrincipalId’, 1222, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x4b5eab0)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 1222, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x4e42920)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 1222: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 2021, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 2021, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 2021, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x4bb1f60)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 2021, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x4bb1f60)’, ‘PrincipalId’, 2021, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x4bb1f60)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 2021, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x44cd458)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 2021: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 2021, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 2021, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 2021, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x48e6410)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 2021, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x48e6410)’, ‘PrincipalId’, 2021, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x48e6410)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 2021, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x4bb24a0)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 2021: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 4982, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 4982, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 4982, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x4e11fc8)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 4982, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x4e11fc8)’, ‘PrincipalId’, 4982, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x4e11fc8)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 4982, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x4e39da0)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 4982: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed: ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <> line 1. (/opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jun 17 00:13:37 2011] [warning]: RT::Handle=HASH(0x1bef578) couldn’t execute the query ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, ObjectId, ObjectType) VALUES (?, ?, ?, ?, ?)’ at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery(‘RT::Handle=HASH(0x1bef578)’, ‘INSERT INTO ACL (PrincipalType, PrincipalId, RightName, Objec…’, ‘Group’, 4982, ‘ExecuteCode’, 1, ‘RT::System’) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 357
DBIx::SearchBuilder::Handle::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 4982, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle/Pg.pm line 66
DBIx::SearchBuilder::Handle::Pg::Insert(‘RT::Handle=HASH(0x1bef578)’, ‘ACL’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 4982, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, …) called at /opt/rt4/perl-5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Record.pm line 1292
DBIx::SearchBuilder::Record::Create(‘RT::ACE=HASH(0x49ffb78)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 4982, ‘RightName’, ‘ExecuteCode’, ‘ObjectId’, 1, …) called at /opt/rt4/sbin/…/lib/RT/Record.pm line 304
RT::Record::Create(‘RT::ACE=HASH(0x49ffb78)’, ‘PrincipalId’, 4982, ‘PrincipalType’, ‘Group’, ‘RightName’, ‘ExecuteCode’, ‘ObjectType’, ‘RT::System’, …) called at /opt/rt4/sbin/…/lib/RT/ACE.pm line 291
RT::ACE::Create(‘RT::ACE=HASH(0x49ffb78)’, ‘RightName’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’, ‘PrincipalType’, ‘Group’, ‘PrincipalId’, 4982, …) called at /opt/rt4/sbin/…/lib/RT/Principal.pm line 172
RT::Principal::GrantRight(‘RT::Principal=HASH(0x4e57088)’, ‘Right’, ‘ExecuteCode’, ‘Object’, ‘RT::System=HASH(0x18b3d80)’) called at ./etc/upgrade/3.9.1/content line 56
RT::Handle::ANON() called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
eval {…} called at /opt/rt4/sbin/…/lib/RT/Handle.pm line 767
RT::Handle::InsertData(‘RT::Handle=HASH(0x1bef578)’, ‘./etc/upgrade/3.9.1/content’, undef) called at /opt/rt4/sbin/rt-setup-database line 292
main::action_insert(‘prompt-for-dba-password’, 1, ‘datafile’, undef, ‘action’, ‘upgrade’, ‘datadir’, ‘./etc/upgrade/3.9.1’, ‘backcompat’, …) called at /opt/rt4/sbin/rt-setup-database line 398
main::action_upgrade(‘prompt-for-dba-password’, 1, ‘action’, ‘upgrade’, ‘dba’, ‘rt_user’) called at /opt/rt4/sbin/rt-setup-database line 197 (/opt/rt4/perl-5.12.3/lib/5.12.3/Carp.pm:65)
[Fri Jun 17 00:13:37 2011] [warn]: Unable to grant ExecuteCode on principal 4982: System error. Right not granted. (./etc/upgrade/3.9.1/content:62)
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.
Done.

Successfully used ora2pg to migrate my 3.8.7 RT instance to Pg.
Now upgrading my Pg instance to 4.0.1 and stumbling over the addition
of some ACLs at 3.9.1

Can you show \d on acl and acl_id_seq

[Fri Jun 17 00:13:37 2011] [warning]: DBD::Pg::st execute failed:
ERROR: null value in column “id” violates not-null constraint at /opt/rt4/perl-
5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm line 509, <>
line 1. (/opt/rt4/perl-
5.12.3/lib/site_perl/5.12.3/DBIx/SearchBuilder/Handle.pm:509)

-kevin

In message 20110617011915.GL912@jibsheet.com, Kevin Falcone writes:

Can you show \d on acl and acl_id_seq

When did the sequence for ACL.ID rename from ACL_SEQ to
ACL_ID_SEQ?

John
groenveld@acm.org

rt4=> \d acl
Table “public.acl”
Column | Type | Modifiers
id | bigint | not null
principaltype | character varying(25) | not null
principalid | bigint | not null
rightname | character varying(25) | not null
objecttype | character varying(25) | not null
objectid | bigint | default 0
creator | integer | not null default 0
created | timestamp without time zone |
lastupdatedby | integer | not null default 0
lastupdated | timestamp without time zone |
Indexes:
“acl_pkey” PRIMARY KEY, btree (id)
“acl1” btree (rightname, objecttype, objectid, principaltype, principalid)

rt4=> \d acl_id_seq
Did not find any relation named “acl_id_seq”.

rt4=> \d acl_seq
Sequence “public.acl_seq”
Column | Type | Value
sequence_name | name | acl_seq
last_value | bigint | 466
start_value | bigint | 466
increment_by | bigint | 1
max_value | bigint | 9223372036854775807
min_value | bigint | 1
cache_value | bigint | 20
log_cnt | bigint | 1
is_cycled | boolean | f
is_called | boolean | f

In message 20110617011915.GL912@jibsheet.com, Kevin Falcone writes:

Can you show \d on acl and acl_id_seq

When did the sequence for ACL.ID rename from ACL_SEQ to
ACL_ID_SEQ?

Looking through project history, I can’t find a time when we had a
sequence named ACL_SEQ for the Postgres port of RT. What can you tell us
about the lineage of this database?

In message 20110617023209.GX3098@bestpractical.com, Jesse Vincent writes:

Looking through project history, I can’t find a time when we had a
sequence named ACL_SEQ for the Postgres port of RT. What can you tell us
about the lineage of this database?

IIRC I started RT at 3.4.
Just now ran ora2pg to migrate.
Thank you for the heads-up, I wasn’t aware that there were different
object names for each database port.

John
groenveld@acm.org

In message 201106171302.p5HD2hPN004580@elvis.arl.psu.edu, John D Groenveld wr
ites:

Thank you for the heads-up, I wasn’t aware that there were different
object names for each database port.

Success.

Create the sequences from ora2pg’s “TYPE SEQUENCE”.
Rename them.
Load the schema from rt-3.8.7/etc/schema.Pg, minus the sequences.
Load the data from ora2pg’s “TYPE COPY”.
Run /opt/rt4/sbin/rt-setup-database --prompt-for-dba-password --action upgrade

Looking forward to the move to RT4; thanks Kevin, Jesse, et al!
John
groenveld@acm.org