Hallo zusammen,
ich möchte ein Update starten, ohne das ich eine neue Maschine aufsetzten muss.
Bestand:
- VM Maschine Ubuntu 12.04
- OTRS v. 3.2.8
Meine ID war, die VM zu klonen und auf der gecklonten Maschine das Update zu starten.
Leider weiß ich nicht genau die vorgehensweise. Laut Update-Anleitung in OTRS bin ich wie folgt gegangen:
Auf d. geklonten VM:
01. Ordner /opt/otrs gelöscht
02. Neue OTRS-Version in /opt/ entpackt
03. gesicherte Dateien "Kernel/Config.pm", "Kernel/Config/GenericAgent.pm", "Kernel/Config/Files/ZZZAuto.pm" wiederhergestellt
04. Muss var/* gesichert werden & wie sichere ich die DB ohne otrs-Script backup.pl?
05. Datei.Berechtigung: bin/otrs.SetPermissions.pl ausgeführt
Und dann? Wie gehe ich mit der Datenbank weiter vor?
Gruß
Robert
Update OTRS 3.3
Re: Update OTRS 3.3
lies die UPGRADING.md Datei!
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
-
- Znuny expert
- Posts: 152
- Joined: 03 Jun 2013, 14:40
- Znuny Version: 6.0.33
- Real Name: Robert
- Company: Gebr. Steimel GmbH
Re: Update OTRS 3.3
Ok, das Update hat funktioniert. Habe folgendes gemacht:
Habe aber jetzt folgendes Problem:
Wenn ich SecureMode aktivieren möchte, bekomme ich folgende Fehlermeldung:
Can't write ConfigItem
Code: Select all
1. Snapshot erstellen
2. Services stoppen:
-apache2
-cronjob
3. Sichern der Dateien in /opt/otrs:
- Kernel/Config.pm
- Kernel/Config/GenericAgent.pm
- Kernel/Config/Files/ZZZAuto.pm
- var/*
- Datenbank
4. /opt/otrs löschen
5. neue Version in /opt/ entpacken und in ./otrs umbennen
6. Dateien wiederherstellen:
- Kernel/Config.pm
- Kernel/Config/GenericAgent.pm
- Kernel/Config/Files/ZZZAuto.pm
7. Berechtigung setzen:
/opt/otrs/bin/otrs.SetPermissions.pl --otrs-user=otrs --otrs-group=otrs --web-user=www-data --web-group=www-data /opt/otrs
8. Scripts ausführen:
/bin/otrs.CheckDB.pl
cat /opt/otrs/scripts/DBUpdate-to-3.3.mysql | mysql -p -f -u otrs otrs
su -c /opt/otrs/scripts/DBUpdate-to-3.3.pl -s /bin/bash otrs
/bin/otrs.RebuildConfig.pl
/bin/otrs.DeleteCache.pl
Wenn ich SecureMode aktivieren möchte, bekomme ich folgende Fehlermeldung:
Can't write ConfigItem
Code: Select all
Backend ERROR: OTRS-CGI-10 Perl: 5.14.2 OS: linux Time: Wed Nov 27 09:39:50 2013 Message: Can't write ConfigItem! RemoteAddress: 172.28.6.107 RequestURI: /otrs/index.pl Traceback (1638): Module: Kernel::Modules::AdminSysConfig::Run (OTRS 3.3.2) Line: 200 Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.2) Line: 863 Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (unknown version) Line: 41 Module: (eval) (v1.99) Line: 204 Module: ModPerl::RegistryCooker::run (v1.99) Line: 204 Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 170 Module: ModPerl::Registry::handler (v1.99) Line: 31
-
- Znuny expert
- Posts: 152
- Joined: 03 Jun 2013, 14:40
- Znuny Version: 6.0.33
- Real Name: Robert
- Company: Gebr. Steimel GmbH
Re: Update OTRS 3.3
Problem gelöst. Habe nochmal das Script SetPermissions.pl ausgeführt.