Upgrade from 2.4.7 to 3.00Beta

Moderator: crythias

Post Reply
jme
Znuny newbie
Posts: 20
Joined: 28 Jun 2010, 13:59
Znuny Version: 2.4

Upgrade from 2.4.7 to 3.00Beta

Post by jme »

Hi,

I'm trying to upgrade from 2.4.7 to 3.0


Run the migration script (as OTRS user, _not_ as root):
-------------------------------------------------------

You must execute the migration script to migrate some data from the old database
structure to the new one. Please run

shell> scripts/DBUpdate-to-3.0.pl

Iv' try the commande su otrs, this one ask me a password, i've no idea of this password ....

Any idea what is the otrs user password ? Or can i change it ? if yes - How?
Mike_B
Moderator
Posts: 266
Joined: 12 Jan 2010, 18:16
Znuny Version: CVS HEAD

Re: Upgrade from 2.4.7 to 3.00Beta

Post by Mike_B »

What distribution do you use?

There is no password for the otrs user, if it was created by the RPM. Usually it's enough to just type (as root) "sudo su - otrs" and then type the root password. This will log you in as the OTRS user.

BTW running the install as root will also work, but then you have to make sure you run bin/otrs.SetPermissions.pl again to correct the file permissions.

--
Mike
huntingbears.nl - @michielbeijen on Twitter
DavidM
Znuny newbie
Posts: 5
Joined: 20 Aug 2010, 12:49
Znuny Version: 3.0

Re: Upgrade from 2.4.7 to 3.00Beta

Post by DavidM »

FYI..

I installed otrs using the rpm on CentOS, it created the otrs user but set the shell as /sbin/nologin
To "su - otrs", I had to modify the /etc/passwd file and set the shell to /bin/bash

File: /etc/passwd

before:

Code: Select all

otrs:x:501:48:OTRS System User:/opt/otrs:/sbin/nologin
after:

Code: Select all

otrs:x:501:48:OTRS System User:/opt/otrs:/bin/bash
Note: Only update the last entry.
hope this helps.
OTRS: 3.0 Beta 3
OS: CentOS 5.5 x86_64
jme
Znuny newbie
Posts: 20
Joined: 28 Jun 2010, 13:59
Znuny Version: 2.4

Re: Upgrade from 2.4.7 to 3.00Beta

Post by jme »

Hi,

Thx for you answers, i'm using ubuntu OS.

I will try to run as root and execute Permissions.pl again.

Thx
Post Reply