[rt-users] errors in upgrade to rt-4.2

Xin, Qiao qxin at cio.sc.gov
Fri Sep 13 09:18:30 EDT 2013


Hi,

We failed in upgrading RT from 4.0.5 with RTIR 2.6.1 to 4.2 with the following error. Please help.

mysql  Ver 14.14 Distrib 5.1.69, for redhat-linux-gnu (x86_64) using readline 5.1
This is perl, v5.10.1 (*) built for x86_64-linux-thread-multi

********************
Congratulations. RT has been upgraded. You should now check over
/opt/rt4/etc/RT_Config.pm for any necessary site customization. Additionally,
you should update RT's system database objects by running
    make upgrade-database
[root at supporttest rt-4.2.0rc1]# make upgrade-database
/usr/bin/perl -I/opt/rt4/local/lib -I/opt/rt4/lib sbin/rt-setup-database --action upgrade --prompt-for-dba-password
In order to create or update your RT database, this script needs to connect to your  mysql instance on localhost (port '') as root
Please specify that user's database password below. If the user has no database
password, just press return.

Password:
Working with:
Type: mysql
Host: localhost
Port:
Name: rt4
User: rt_user
DBA: root
Enter RT version you're upgrading from: 4.0.5

Going to apply following upgrades:
* 4.0.6
* 4.0.9
* 4.0.12
* 4.0.13
* 4.1.0
* 4.1.1
* 4.1.4
* 4.1.5
* 4.1.6
* 4.1.7
* 4.1.8
* 4.1.9
* 4.1.10
* 4.1.11
* 4.1.12
* 4.1.13
* 4.1.14
* 4.1.15
* 4.1.16
* 4.1.17
* 4.1.18
* 4.1.19
* 4.1.20
* 4.1.21
* 4.1.22
* 4.1.23

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 4.0.6
Now populating database schema.
[8932] [Thu Sep 12 20:27:33 2013] [critical]: Can't wrap non-existent subroutine RT::Queue::HasRight at /temp/rt-4.2.0rc1/sbin/../lib/RT.pm line 730.
Compilation failed in require at /temp/rt-4.2.0rc1/sbin/../lib/RT.pm line 730. (/temp/rt-4.2.0rc1/sbin/../lib/RT.pm:391)
Trace begun at /temp/rt-4.2.0rc1/sbin/../lib/RT.pm line 295
Log::Dispatch::__ANON__('Log::Dispatch=HASH(0x349c490)', 'Can\'t wrap non-existent subroutine RT::Queue::HasRight at /temp/rt-4.2.0rc1/sbin/../lib/RT.pm line 730.^JCompilation failed in require at /temp/rt-4.2.0rc1/sbin/../lib/RT.pm line 730.^J') called at /temp/rt-4.2.0rc1/sbin/../lib/RT.pm line 391
RT::__ANON__('Can\'t wrap non-existent subroutine RT::Queue::HasRight at /temp/rt-4.2.0rc1/sbin/../lib/RT.pm line 730.^JCompilation failed in require at /temp/rt-4.2.0rc1/sbin/../lib/RT.pm line 730.^J') called at /temp/rt-4.2.0rc1/sbin/../lib/RT.pm line 731
RT::InitPlugins at /temp/rt-4.2.0rc1/sbin/../lib/RT.pm line 194
RT::Init at sbin/rt-setup-database line 345
main::action_insert('prompt-for-dba-password', 1, 'datafile', undef, 'action', 'upgrade', 'datadir', './etc/upgrade/4.0.6', 'backcompat', 'ARRAY(0xb470c8)', 'package', 'RT') called at sbin/rt-setup-database line 549
main::action_upgrade('prompt-for-dba-password', 1, 'action', 'upgrade', 'package', 'RT') called at sbin/rt-setup-database line 201
Can't wrap non-existent subroutine RT::Queue::HasRight at /temp/rt-4.2.0rc1/sbin/../lib/RT.pm line 730.
Compilation failed in require at /temp/rt-4.2.0rc1/sbin/../lib/RT.pm line 730.
make: *** [upgrade-database] Error 255



Thanks,
Qiao


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20130913/2c190886/attachment.htm>


More information about the rt-users mailing list