[SOLVED] ITSM broken, upgrade not available

Moderator: crythias

Locked
netjess
Znuny expert
Posts: 172
Joined: 16 Nov 2011, 23:35
Znuny Version: 6.0.16
Real Name: Jesse
Company: Mercer Valve Company
Location: Oklahoma USA
Contact:

[SOLVED] ITSM broken, upgrade not available

Post by netjess »

I upgraded OTRS from 3.0.11 to 3.1.10 and now ITSM reports incompatability and after selecting "update repository information" in the Admin Panel Package Manager, I still do not have an option to upgrade to ITSM 3.1.6.

I don't know if it is related but I am alos getting a db error on otrs startup.
Starting OTRS..
Checking httpd ... done.
Checking database connection... Trying to connect to database
DSN: DBI:mysql:database=otrs;host=localhost;
DatabaseUser: otrs

It looks Ok! done.
Checking OTRS Scheduler Service... DBD::mysql::st execute failed: Unknown column 'process_change' in 'field list' at /opt/otrs/Kernel/System/DB.pm line 618.
ERROR: OTRS-otrs.Scheduler-10 Perl: 5.8.8 OS: linux Time: Thu Sep 6 16:48:03 2012

Message: Unknown column 'process_change' in 'field list', SQL: 'SELECT process_name, process_id, process_host, process_create, process_change FROM process_id WHERE process_name = ? LIMIT 1'

Traceback (20737):
Module: Kernel::System::PID::PIDGet (v1.28) Line: 184
Module: /opt/otrs/bin/otrs.Scheduler.pl (v1.37) Line: 127

0
done.
Enable /opt/otrs/bin/otrs.PostMaster.pl ... done.
Checking otrs spool dir... done.
Creating cronjobs (source /opt/otrs/var/cron/*) ...
done.

-->> http://stats.grunt.dom/otrs/index.pl <<--
Final start of OTRS.. done

Thanks for assist.
Last edited by netjess on 07 Sep 2012, 21:32, edited 1 time in total.
Powered by OTRS 6
Active Directory LDAP Integration.
Ubuntu 18 LTS, Apache2, PostgreSQL.
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: ITSM broken upgrade not available after OTRS update to 3

Post by jojo »

your upgrade failed and you need to change the ITSM repository to http://ftp.otrs.org/pub/otrs/itsm/packages31/
"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
netjess
Znuny expert
Posts: 172
Joined: 16 Nov 2011, 23:35
Znuny Version: 6.0.16
Real Name: Jesse
Company: Mercer Valve Company
Location: Oklahoma USA
Contact:

Re: ITSM broken upgrade not available after OTRS update to 3

Post by netjess »

When you say my upgrade failed, are you talking about my OTRS upgrade?

When I ran the upgrade, as per instructions at http://doc.otrs.org/3.1/en/html/upgrading.html, at the end it displayed the following:
-----------------------------------------------------
Next steps:
[httpd services]
Restart httpd 'service httpd restart'

[install the OTRS database]
Make sure your database server is running.
Use a web browser and open this link:
http://servername/otrs/installer.pl

[OTRS services]
Start OTRS 'service otrs start' (service otrs {start|stop|status|restart).

((enjoy))
Your OTRS Team
-------------------------------------------------------------------------------------------

The upgrade instructions did not mention runing the http://servername/otrs/installer.pl and it looked like what you would run on a fresh install. Did I need to go ahead and disable SecureMode and run the installer.pl?
netjess
Znuny expert
Posts: 172
Joined: 16 Nov 2011, 23:35
Znuny Version: 6.0.16
Real Name: Jesse
Company: Mercer Valve Company
Location: Oklahoma USA
Contact:

Re: ITSM broken upgrade not available after OTRS update to 3

Post by netjess »

Also in case it helps someone else updating repository to http://ftp.otrs.org/pub/otrs/itsm/bundle31/ rather than package was a better option for me.
Also to save someone a bit of searching repository is updatedor added in Agent console > Admin > SysConfig > Framework:Package.
Locked