Fehler nach Update von OTRS 2.4.7 => 3.0.7

Moderator: crythias

Locked
saavik
Znuny newbie
Posts: 15
Joined: 09 Mar 2007, 10:29

Fehler nach Update von OTRS 2.4.7 => 3.0.7

Post by saavik »

Hallo!

Die Standardbeschreibung für das Update auf 3.0.7 funktioniert für mich leider nicht. Versuche ich mein bestehendes System upzudaten, kommen Fehler über Fehler.

Nun habe ich die Idee, das System komplett neu aufzusetzen, und die DB zu migrieren.

Welche Konfigurationsdateien würde ich brauche, damit die Konfiguration so 1:1 wieder funktioniert ?

Die Dateien aus dem Sicherungsskript, oder noch weitere ?
root
Administrator
Posts: 4254
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Fehler nach Update von OTRS 2.4.7 => 3.0.7

Post by root »

For any type of help we should know the system you're running.

Regards, Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
saavik
Znuny newbie
Posts: 15
Joined: 09 Mar 2007, 10:29

Re: Fehler nach Update von OTRS 2.4.7 => 3.0.7

Post by saavik »

OS:
SUSE Linux Enterprise Server 10 (x86_64)
VERSION = 10
PATCHLEVEL = 3

OTRS:
otrs-2.4.9-01


perl-5.8.8-14.19.7
apache2-2.2.3-16.29.2
mysql-5.0.26-12.29.1

Anything missing ?

My way to update:

1. rpm -U /tmp/otrs-3…..rpm
2. cat /opt/otrs/scripts/DBUpdate-to-3.0.mysql.sql | mysql -p -f -u root otrs
3. /opt/otrs/scripts/DBUpdate-to-3.0.pl
4. cat /opt/otrs/scripts/DBUpdate-to-3.0-post.mysql.sql | mysql -p -f -u root otrs
5. bin/otrs.RebuildConfig.pl
6. bin/otrs.DeleteCache.pl
root
Administrator
Posts: 4254
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Fehler nach Update von OTRS 2.4.7 => 3.0.7

Post by root »

What error message is displayed?
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
saavik
Znuny newbie
Posts: 15
Joined: 09 Mar 2007, 10:29

Re: Fehler nach Update von OTRS 2.4.7 => 3.0.7

Post by saavik »

No error message.

I just can not enter anything in the fields for username an password and no, clean the cache did not help.

I think it has something to do with the modules i installed or changes i made. Is there a way to find that out ?

I get this while the update via rpm:

Code: Select all

Check OTRS user ... otrs exists.
warning: /opt/otrs/.procmailrc created as /opt/otrs/.procmailrc.rpmnew
warning: /opt/otrs/Kernel/Config.pm created as /opt/otrs/Kernel/Config.pm.rpmnew
warning: /opt/otrs/Kernel/Language/da.pm created as /opt/otrs/Kernel/Language/da.pm.rpmnew
warning: /opt/otrs/Kernel/Language/de.pm created as /opt/otrs/Kernel/Language/de.pm.rpmnew
warning: /opt/otrs/Kernel/Language/en.pm created as /opt/otrs/Kernel/Language/en.pm.rpmnew
warning: /opt/otrs/Kernel/Language/en_CA.pm created as /opt/otrs/Kernel/Language/en_CA.pm.rpmnew
warning: /opt/otrs/Kernel/Language/en_GB.pm created as /opt/otrs/Kernel/Language/en_GB.pm.rpmnew
warning: /opt/otrs/Kernel/Language/es.pm created as /opt/otrs/Kernel/Language/es.pm.rpmnew
warning: /opt/otrs/Kernel/Language/nl.pm created as /opt/otrs/Kernel/Language/nl.pm.rpmnew
warning: /opt/otrs/Kernel/Language/pt_BR.pm created as /opt/otrs/Kernel/Language/pt_BR.pm.rpmnew
warning: /opt/otrs/Kernel/Language/uk.pm created as /opt/otrs/Kernel/Language/uk.pm.rpmnew
warning: /opt/otrs/Kernel/Output/HTML/Standard/AgentDashboardTicketStats.dtl created as /opt/otrs/Kernel/Output/HTML/Standard/AgentDashboardTicketStats.dtl.rpmnew
warning: /opt/otrs/Kernel/Output/HTML/Standard/AgentSpelling.dtl created as /opt/otrs/Kernel/Output/HTML/Standard/AgentSpelling.dtl.rpmnew
warning: /opt/otrs/Kernel/Output/HTML/Standard/AgentStatsEditSpecification.dtl created as /opt/otrs/Kernel/Output/HTML/Standard/AgentStatsEditSpecification.dtl.rpmnew
warning: /opt/otrs/Kernel/Output/HTML/Standard/AgentStatsOverview.dtl created as /opt/otrs/Kernel/Output/HTML/Standard/AgentStatsOverview.dtl.rpmnew
warning: /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketClose.dtl created as /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketClose.dtl.rpmnew
warning: /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketEmail.dtl created as /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketEmail.dtl.rpmnew
warning: /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketFreeText.dtl created as /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketFreeText.dtl.rpmnew
warning: /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketMove.dtl created as /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketMove.dtl.rpmnew
warning: /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketNote.dtl created as /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketNote.dtl.rpmnew
warning: /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketOwner.dtl created as /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketOwner.dtl.rpmnew
warning: /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketPending.dtl created as /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketPending.dtl.rpmnew
warning: /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketPriority.dtl created as /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketPriority.dtl.rpmnew
warning: /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketResponsible.dtl created as /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketResponsible.dtl.rpmnew
warning: /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketSearchOpenSearchDescriptionFulltext.dtl created as /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketSearchOpenSearchDescriptionFulltext.dtl.rpmnew
warning: /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketSearchOpenSearchDescriptionTicketNumber.dtl created as /opt/otrs/Kernel/Output/HTML/Standard/AgentTicketSearchOpenSearchDescriptionTicketNumber.dtl.rpmnew
warning: /opt/otrs/Kernel/Output/HTML/Standard/Installer.dtl created as /opt/otrs/Kernel/Output/HTML/Standard/Installer.dtl.rpmnew
warning: /opt/otrs/Kernel/Output/HTML/Standard/RichTextEditor.dtl created as /opt/otrs/Kernel/Output/HTML/Standard/RichTextEditor.dtl.rpmnew
warning: /opt/otrs/Kernel/Output/HTML/Standard/SpellingInline.dtl created as /opt/otrs/Kernel/Output/HTML/Standard/SpellingInline.dtl.rpmnew
backup old (maybe not compatible) templates (of 2.4.7)
„/opt/otrs/Kernel/Output/HTML/Standard/AgentDashboardTicketStats.dtl“ -> „/opt/otrs/Kernel/Output/HTML/Standard/AgentDashboardTicketStats.dtl.backup_maybe_not_compat_to.2.4.7“
„/opt/otrs/Kernel/Output/HTML/Standard/AgentSpelling.dtl“ -> „/opt/otrs/Kernel/Output/HTML/Standard/AgentSpelling.dtl.backup_maybe_not_compat_to.2.4.7“
„/opt/otrs/Kernel/Output/HTML/Standard/AgentStatsEditSpecification.dtl“ -> „/opt/otrs/Kernel/Output/HTML/Standard/AgentStatsEditSpecification.dtl.backup_maybe_not_compat_to.2.4.7“
„/opt/otrs/Kernel/Output/HTML/Standard/AgentStatsOverview.dtl“ -> „/opt/otrs/Kernel/Output/HTML/Standard/AgentStatsOverview.dtl.backup_maybe_not_compat_to.2.4.7“
„/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketClose.dtl“ -> „/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketClose.dtl.backup_maybe_not_compat_to.2.4.7“
„/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketEmail.dtl“ -> „/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketEmail.dtl.backup_maybe_not_compat_to.2.4.7“
„/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketFreeText.dtl“ -> „/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketFreeText.dtl.backup_maybe_not_compat_to.2.4.7“
„/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketMove.dtl“ -> „/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketMove.dtl.backup_maybe_not_compat_to.2.4.7“
„/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketNote.dtl“ -> „/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketNote.dtl.backup_maybe_not_compat_to.2.4.7“
„/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketOwner.dtl“ -> „/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketOwner.dtl.backup_maybe_not_compat_to.2.4.7“
„/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketPending.dtl“ -> „/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketPending.dtl.backup_maybe_not_compat_to.2.4.7“
„/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketPriority.dtl“ -> „/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketPriority.dtl.backup_maybe_not_compat_to.2.4.7“
„/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketResponsible.dtl“ -> „/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketResponsible.dtl.backup_maybe_not_compat_to.2.4.7“
„/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketSearchOpenSearchDescriptionFulltext.dtl“ -> „/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketSearchOpenSearchDescriptionFulltext.dtl.backup_maybe_not_compat_to.2.4.7“
„/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketSearchOpenSearchDescriptionTicketNumber.dtl“ -> „/opt/otrs/Kernel/Output/HTML/Standard/AgentTicketSearchOpenSearchDescriptionTicketNumber.dtl.backup_maybe_not_compat_to.2.4.7“
„/opt/otrs/Kernel/Output/HTML/Standard/Installer.dtl“ -> „/opt/otrs/Kernel/Output/HTML/Standard/Installer.dtl.backup_maybe_not_compat_to.2.4.7“
„/opt/otrs/Kernel/Output/HTML/Standard/RichTextEditor.dtl“ -> „/opt/otrs/Kernel/Output/HTML/Standard/RichTextEditor.dtl.backup_maybe_not_compat_to.2.4.7“
„/opt/otrs/Kernel/Output/HTML/Standard/SpellingInline.dtl“ -> „/opt/otrs/Kernel/Output/HTML/Standard/SpellingInline.dtl.backup_maybe_not_compat_to.2.4.7“

Next steps: 

[SuSEconfig]
 Execute 'SuSEconfig' to configure the webserver.

[start Apache and MySQL]
 Execute 'rcapache2 restart' and 'rcmysql start' in case they don't run.

[install the OTRS database]
 Use a webbrowser and open this link:
 http://sles10sp3-64-test.hospital/otrs/installer.pl

[OTRS services]
 Start OTRS 'rcotrs start-force' (rcotrs {start|stop|status|restart|start-force|stop-force}).

((enjoy))

 Your OTRS Team
 http://otrs.org/

warning: /opt/otrs/Kernel/Output/HTML/Standard/AdminNotificationEventForm.dtl saved as /opt/otrs/Kernel/Output/HTML/Standard/AdminNotificationEventForm.dtl.rpmsave
warning: /opt/otrs/Kernel/Output/HTML/Standard/AdminCustomerUserGroupForm.dtl saved as /opt/otrs/Kernel/Output/HTML/Standard/AdminCustomerUserGroupForm.dtl.rpmsave
warning: /opt/otrs/Kernel/Output/HTML/Standard/AdminAttachmentForm.dtl saved as /opt/otrs/Kernel/Output/HTML/Standard/AdminAttachmentForm.dtl.rpmsave
warning: /opt/otrs/Kernel/Output/HTML/Standard/AAANavBar.dtl saved as /opt/otrs/Kernel/Output/HTML/Standard/AAANavBar.dtl.rpmsave
warning: /opt/otrs/Kernel/Language/cz.pm saved as /opt/otrs/Kernel/Language/cz.pm.rpmsave
root
Administrator
Posts: 4254
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Fehler nach Update von OTRS 2.4.7 => 3.0.7

Post by root »

saavik wrote:No error message.

I just can not enter anything in the fields for username an password and no, clean the cache did not help.

I think it has something to do with the modules i installed or changes i made. Is there a way to find that out ?
You're right. E.g. the file /opt/otrs/Kernel/Config.pm created as /opt/otrs/Kernel/Config.pm from the update rpm ist saved as /opt/otrs/Kernel/Config.pm created as /opt/otrs/Kernel/Config.pm.rpmnew to keep you current configuration. The rpmsave files are the opposite, the rpmsave contain your changes:

/opt/otrs/Kernel/Output/HTML/Standard/AdminAttachmentForm.dtl.rpmsave => with your own changes
/opt/otrs/Kernel/Output/HTML/Standard/AdminAttachmentForm.dtl => from the new rpm

Details can be found here http://www.linux.com/archive/feed/121476

Rearding to the .dtl files: Don't use them see, http://doc.otrs.org/3.0/en/html/upgrading.html section 6. You have to run through
your templates again. For future upgrades recommend to use an own theme.

hth, Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

Use a test system - always.

Do you need professional services? Check out https://www.znuny.com/

Do you want to contribute or want to know where it goes ?
ferrosti
Znuny superhero
Posts: 723
Joined: 10 Oct 2007, 14:30
Znuny Version: 3.0
Location: Hamburg, Germany

Re: Fehler nach Update von OTRS 2.4.7 => 3.0.7

Post by ferrosti »

Do not forget to run the upgrade script as otrs user (point 3)
openSuSE on ESX
IT-Helpdesk: OTRS 3.0
Customer Service: OTRS 3.0 (upgraded from 2.3)
Customer Service (subsidiary): OTRS 3.0
+additional test and development systems
Locked