Error upgrading OTRS 3.0 to 3.1

Moderator: crythias

Locked
dianis123
Znuny newbie
Posts: 27
Joined: 24 Jan 2012, 22:24
Znuny Version: 3.0.4
Real Name: Diana Carolina
Company: Go2Tel Inc.

Error upgrading OTRS 3.0 to 3.1

Post by dianis123 »

Hello,

I want upgrade OTRS 3.0.5 to 3.1.11 but i get this error:

[root@otrs otrs-3.1.11]# scripts/DBUpdate-to-3.1.pl

Migration started...

Step 1 of 24: Refresh configuration cache...
If you see warnings about 'Subroutine Load redefined', that's fine, no need to worry!
Subroutine Load redefined at /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm line 5.
Subroutine Load redefined at /opt/otrs/Kernel/Config/Files/ZZZAuto.pm line 5.
done.

Not framework version required at scripts/DBUpdate-to-3.1.pl line 365.
Step 2 of 24: Check framework version... [root@otrs otrs-3.1.11]#

Can you help me please? Thanks
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Error upgrading OTRS 3.0 to 3.1

Post by jojo »

please follow exactly the UPGRADING file
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
dianis123
Znuny newbie
Posts: 27
Joined: 24 Jan 2012, 22:24
Znuny Version: 3.0.4
Real Name: Diana Carolina
Company: Go2Tel Inc.

Re: Error upgrading OTRS 3.0 to 3.1

Post by dianis123 »

I'm doing it, but i get this error when i try to execute the command

[root@otrs otrs-3.1.11]# scripts/DBUpdate-to-3.1.pl
Migration started...

Step 1 of 24: Refresh configuration cache...
If you see warnings about 'Subroutine Load redefined', that's fine, no need to worry!
Subroutine Load redefined at /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm line 5.
Subroutine Load redefined at /opt/otrs/Kernel/Config/Files/ZZZAuto.pm line 5.
done.

Not framework version required at scripts/DBUpdate-to-3.1.pl line 365.
Step 2 of 24: Check framework version... [root@otrs otrs-3.1.11]#


What i have to do to check the framework version or to upgrate it?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Error upgrading OTRS 3.0 to 3.1

Post by jojo »

the configured directory in Config points to the old version. READ AND FOOLOW EXACTLY THE UPGRADING FILE
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
dianis123
Znuny newbie
Posts: 27
Joined: 24 Jan 2012, 22:24
Znuny Version: 3.0.4
Real Name: Diana Carolina
Company: Go2Tel Inc.

Re: Error upgrading OTRS 3.0 to 3.1

Post by dianis123 »

ok, Im triying to upgrading with RPM but i get this error:

[root@otrs /]# rpm -Uvh otrs-3.1.11-01.noarch.rpm
Preparing... ########################################### [100%]
Check OTRS user ... otrs exists.
usermod: user otrs is currently logged in
error: %pre(otrs-3.1.11-01.noarch) scriptlet failed, exit status 8
error: install: %pre scriptlet failed (2), skipping otrs-3.1.11-01


Can you help me please?
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Error upgrading OTRS 3.0 to 3.1

Post by jojo »

why a user otrs is logged in? Log off this user and try again
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
dianis123
Znuny newbie
Posts: 27
Joined: 24 Jan 2012, 22:24
Znuny Version: 3.0.4
Real Name: Diana Carolina
Company: Go2Tel Inc.

Re: Error upgrading OTRS 3.0 to 3.1

Post by dianis123 »

Hello,

Im following exactly the UPGRADING file, but I continue getting the same error:

[root@otrs otrs-3.1.11]# scripts/DBUpdate-to-3.1.pl
Migration started...

Step 1 of 24: Refresh configuration cache...
If you see warnings about 'Subroutine Load redefined', that's fine, no need to worry!
Subroutine Load redefined at /opt/otrs/Kernel/Config/Files/ZZZAAuto.pm line 5.
Subroutine Load redefined at /opt/otrs/Kernel/Config/Files/ZZZAuto.pm line 5.
done.

Not framework version required at scripts/DBUpdate-to-3.1.pl line 365.
Step 2 of 24: Check framework version...


Please can you tell me what Ihave to do? Im following exactly the UPGRADING file but I dont know what is wrong.
Thanks
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Error upgrading OTRS 3.0 to 3.1

Post by jojo »

what is the content of you RELEASE file in the OTRS home directory?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
dianis123
Znuny newbie
Posts: 27
Joined: 24 Jan 2012, 22:24
Znuny Version: 3.0.4
Real Name: Diana Carolina
Company: Go2Tel Inc.

Re: Error upgrading OTRS 3.0 to 3.1

Post by dianis123 »

[root@otrs otrs]# more RELEASE
PRODUCT = OTRS
VERSION = 3.0.10
BUILDDATE = Fri Jul 29 14:56:57 CEST 2011
BUILDHOST = lusen.otrs.org
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Error upgrading OTRS 3.0 to 3.1

Post by jojo »

so you did not upgrade all files properly. This is a 3.0.x not a 3.1.x

Please follow all instructions in the UPGRADING file
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Locked