[rt-users] Problem upgrading database from 3.8.6 to 4.0.1 on Ubuntu 8.0.4(mysql)

2011-07-29 Thread Wikus Smit
Hi,

We have upgraded from RT 3.8.6 (Ubuntu 8.0.4, Mysql,Posfix,Apache) to 4.0.1 but 
ran into a problem whilst upgrading the database. We created a new RT4 database 
with 'make initialize-database' and imported an rt3 dump with 'mysql -p rt4  
rt3.dump'.

We then ran '/opt/rt4/sbin/rt-setup-database --prompt-for-dba-password --action 
upgrade' to upgrade the database but received the error below at the upgrading 
3.9.1. stage.

Has anyone experienced the same problem or did I maybe miss something out?


Regards,

Wikus


Enter RT version you're upgrading from: 3.8.6

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.
Processing 3.9.1
Now inserting data.
[Fri Jul 29 08:03:16 2011] [warning]: Couldn't change Type of Template #1: That 
is already the current value (./etc/upgrade/3.9.1/content:28)
[Fri Jul 29 08:03:16 2011] [warning]: Couldn't change Type of Template #2: That 
is already the current value (./etc/upgrade/3.9.1/content:28)
[Fri Jul 29 08:03:16 2011] [warning]: Couldn't change Type of Template #3: That 
is already the current value (./etc/upgrade/3.9.1/content:28)
[Fri Jul 29 08:03:16 2011] [warning]: Couldn't change Type of Template #4: That 
is already the current value (./etc/upgrade/3.9.1/content:28)
[Fri Jul 29 08:03:16 2011] [warning]: Couldn't change Type of Template #5: That 
is already the current value (./etc/upgrade/3.9.1/content:28)
[Fri Jul 29 08:03:16 2011] [warning]: Couldn't change Type of Template #6: That 
is already the current value (./etc/upgrade/3.9.1/content:28)
[Fri Jul 29 08:03:16 2011] [warning]: Couldn't change Type of Template #7: That 
is already the current value (./etc/upgrade/3.9.1/content:28)
[Fri Jul 29 08:03:16 2011] [warning]: Couldn't change Type of Template #8: That 
is already the current value (./etc/upgrade/3.9.1/content:28)
[Fri Jul 29 08:03:16 2011] [warning]: Couldn't change Type of Template #9: That 
is already the current value (./etc/upgrade/3.9.1/content:28)
[Fri Jul 29 08:03:16 2011] [warning]: Couldn't change Type of Template #10: 
That is already the current value (./etc/upgrade/3.9.1/content:28)
[Fri Jul 29 08:03:16 2011] [warning]: Couldn't change Type of Template #11: 
That is already the current value (./etc/upgrade/3.9.1/content:28)
[Fri Jul 29 08:03:16 2011] [warning]: Couldn't change Type of Template #12: 
That is already the current value (./etc/upgrade/3.9.1/content:28)
[Fri Jul 29 08:03:16 2011] [warning]: Couldn't change Type of Template #13: 
That is already the current value (./etc/upgrade/3.9.1/content:28)
[Fri Jul 29 08:03:16 2011] [warning]: Couldn't change Type of Template #14: 
That is already the current value (./etc/upgrade/3.9.1/content:28)
[Fri Jul 29 08:03:16 2011] [warning]: Couldn't change Type of Template #15: 
That is already the current value (./etc/upgrade/3.9.1/content:28)
[Fri Jul 29 08:03:16 2011] [warning]: Couldn't change Type of Template #16: 
That is already the current value (./etc/upgrade/3.9.1/content:28)
[Fri Jul 29 08:03:16 2011] [warning]: Couldn't change Type of Template #17: 
That is already the current value (./etc/upgrade/3.9.1/content:28)
[Fri Jul 29 08:03:16 2011] [warning]: Couldn't change Type of Template #18: 
That is already the current value (./etc/upgrade/3.9.1/content:28)
[Fri Jul 29 08:03:16 2011] [warning]: Couldn't change Type of Template #19: 
That is already the current value (./etc/upgrade/3.9.1/content:28)
[Fri Jul 29 08:03:16 2011] [warning]: Couldn't change Type of Template #20: 
That is already the current value (./etc/upgrade/3.9.1/content:28)
[Fri Jul 29 08:03:16 2011] [warning]: Couldn't change Type of Template #21: 
That is already the current value (./etc/upgrade/3.9.1/content:28)
[Fri Jul 29 08:03:16 2011] [warning]: Couldn't change Type of Template #22: 
That is already the current value (./etc/upgrade/3.9.1/content:28)
Processing 3.9.2
Now inserting data.
[Fri Jul 29 08:03:19 2011] [warning]: DBD::mysql::st execute failed: Unknown 
column 'main.DelegatedBy' in 'where clause' at 
/usr/local/share/perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 509,  line 1. 
(/usr/local/share/perl/5.8.8/DBIx/SearchBuilder/Handle.pm:509)
[Fri Jul 29 08:03:19 2011] [warning]: RT::Handle=HASH(0xa706830) couldn't 
execute the query 'SELECT main.* FROM ACL main  WHERE (main.DelegatedBy  '0') 
AND (main.DelegatedFrom  '0') ' at 
/usr/local/share/perl/5.8.8/DBIx/SearchBuilder/Handle.pm line 522
DBIx::SearchBuilder::Handle::SimpleQuery('RT::Handle=HASH(0xa706830)', 
'SELECT main.* FROM ACL main  WHERE (main.DelegatedBy  \'0\')...') called at 
/usr/local/share/perl/5.8.8/DBIx/SearchBuilder.pm line 235

Re: [rt-users] Problem upgrading database from 3.8.6 to 4.0.1 on Ubuntu 8.0.4(mysql)

2011-07-29 Thread Wikus Smit

Thanks Thomas that worked! - we managed to upgrade to 4.0.1

Regards,

Wikus

-Original Message-
From: rt-users-boun...@lists.bestpractical.com 
[mailto:rt-users-boun...@lists.bestpractical.com] On Behalf Of Thomas Sibley
Sent: 29 July 2011 15:48
To: RT Users
Subject: Re: [rt-users] Problem upgrading database from 3.8.6 to 4.0.1 on 
Ubuntu 8.0.4(mysql)

Please keep all replies on the list.

On 07/29/2011 10:44 AM, Wikus Smit wrote:
 I dropped the rt4 database and tried to import the rt3 database dump 
 with 'mysql -p rt4  rt3.sql ' as suggested but received an 'ERROR
 1049 (42000): Unknown database 'rt4'' error.
 
 How can I import the rt3.sql dump file into mysql now that the rt4 
 database has been dropped?

This is basic MySQL administration.  Just create an empty database before hand 
with:

create database rt4;

Thomas


2011 Training: http://bestpractical.com/services/training.html


2011 Training: http://bestpractical.com/services/training.html


[rt-users] Getting error with Shredder On rt3.8.6

2009-12-03 Thread Wikus Smit
Hi All,

We are trying to get the Shredder working on RT 3.8.6 (Ubuntu Install)
under tools but with no luck, it keeps saying   “Shredder needs a
directory to write dumps to. Please check that you have
/opt/rt3/var/data/RT-Shredder and it is writable by your web server”
in the GUI.

We created it manually because it didn’t exist and  made it writable
by www-data group with no luck. We also tried running the rt-shredder
script as below but just seems to be able to delete 10 tickets at a
time and we have over 30k deleted tickets to wipe.

./rt-shredder --plugin 'Tickets=query,Queue=it-support and Status=deleted'

Did anyone experienced  the same problem in the GUI or maybe knows how
to delete more tickets at a time?

Regards,

Wikus Smit
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] Automatically add user as new watcher when ticket is taken (RT 3.8.2)

2009-02-20 Thread Wikus Smit
Hi,

Is there a way to  automatically add a user as a new watcher (for that
ticket) when a ticket is taken or do I have to add myself every time
manually as Cc?

Regards,

Wikus
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com


[rt-users] Easy install guide for RT3.8.1 On Ubuntu 8.0.4 Server

2009-01-27 Thread Wikus Smit
Hi,

Does anyone have a easy to follow guide for installing RT 3.8.2 On ubuntu 8.0.4?

Regards,
Wikus
___
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: sa...@bestpractical.com


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com