Re: [rt-users] RT upgrade or clean installation? (Debian)

2016-09-20 Thread Aaron Zuercher
I have migrated RT to a new box/OS multiple times in our years of use.
What I do is spin up a VM with my OS of choice and install the exact same
version of RT as my old server.   I then dump the DB and import into the
new server and verify data is correct and RT is operational.Lastly, I
proceed with the upgrade to the latest version of RT.  It has always been
pretty painless but I don't have a lot of customization in RT.

Aaron

On Mon, Sep 19, 2016 at 2:38 AM, Klaus Conrad  wrote:

> Hello,
>
> I've got a Debian Wheezy installation of RT 4.0.7 and I intend to
> upgrade it to the latest version available in Debian stable, which is
> 4.2.8 on Debian Jessie.
>
> Are there any recommendations regarding how to do this?
>
> I. e. is it generally recommended to upgrade RT using the Debian package
> management system or should I rather start with a clean installation of
> Debian Etch with RT and then migrate my data over?
>
> Thank you for any insight you can provide.
>
> Cheers,
>
> Klaus
>
> --
> Klaus Conrad
>
> mailto:k...@ilk.net
> -
> RT 4.4 and RTIR training sessions, and a new workshop day!
> https://bestpractical.com/training
> * Boston - October 24-26
> * Los Angeles - Q1 2017
>
-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017

Re: [rt-users] RT upgrade or clean installation? (Debian)

2016-09-19 Thread Felix Defrance
||Hi Klaus,

Recently, i've upgrade own RT from 4.0.6 to  4.4.0 and OS to jessie too.

I've made a fresh install of Debian Jessie, install RT from the source
(not from the deb), dump the old RT database to the new server, and
apply these scripts to upgrade the database :

rt-setup-database --action upgrade --force --skip-create
--upgrade-from 4.0.6 --upgrade-to 4.3.13

I my case, it was necessary to re-run the "content" one shot (4.0.9 &
4.1.4) because they failed in the first execution time.

rt-setup-database --action insert --datafile
etc/upgrade/4.0.9/content --skip-create
rt-setup-database --action insert --datafile
etc/upgrade/4.1.4/content --skip-create

Upgrade somethings

perl -I ~/rt/lib/ etc/upgrade/time-worked-history
perl -I ~/rt/lib/ etc/upgrade/vulnerable-passwords  --fix

Update you RT_SiteConfig.pm like it was describe in the documentation

And it was a success !

Félix.|
|

Le 19/09/2016 à 09:39, Klaus Conrad a écrit :
> On 19.09.2016 09:38, Klaus Conrad wrote:
> [..]
>> I. e. is it generally recommended to upgrade RT using the Debian package
>> management system or should I rather start with a clean installation of
>> Debian Etch with RT and then migrate my data over?
> Debian Jessie I meant of course.
>
> Klaus
>

-- 
Félix Defrance
PGP: 0x0F04DC57

-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017

Re: [rt-users] RT upgrade or clean installation? (Debian)

2016-09-19 Thread Klaus Conrad
On 19.09.2016 09:38, Klaus Conrad wrote:
[..]
> I. e. is it generally recommended to upgrade RT using the Debian package
> management system or should I rather start with a clean installation of
> Debian Etch with RT and then migrate my data over?

Debian Jessie I meant of course.

Klaus

-- 
Klaus Conrad

mailto:k...@ilk.net

ILK Internet GmbH
Am Sandfeld 15
76149 Karlsruhe
Deutschland

Tel. +49 (0) 721 9100 0
Fax +49 (0) 721 9100 191
http://www.ilk.net/

Geschäftsführer: Matthias Felger
AG Mannheim, HRB 107037
-
RT 4.4 and RTIR training sessions, and a new workshop day! 
https://bestpractical.com/training
* Boston - October 24-26
* Los Angeles - Q1 2017