Hallo Zusammen,
ich bin gerade dabei, mal mein OTRS endlich auf die neueste Version zu aktualisieren.
Bin derezeit auf 3.1.10 und will jetzt auf die 3.2.18.
Upgrade-Anleitung durchgelesen und soweit auch kapiert.
Habe nun aber das Problem, dass ich meine Datenbank nicht updaten kann, da CheckDB.pl meckert, dass meine Storage Engine bei paar Tabellen nicht passt.
Also wollte ich nun das MysqlInnoDBSwitch.pl ausführen aber da meckert er gleich.
Hier mal die Meldung:
81 tables need to be converted.
Changing table article to engine InnoDB
DBD::mysql::db do failed: Table './otrs/article' already exists at /opt/otrs-3.2.18/Kernel/System/DB.pm line 482.
ERROR: OTRS-otrs.MySQLInnoDBSwitch.pl-10 Perl: 5.14.2 OS: linux Time: Fri Apr 28 14:29:56 2017
Message: Table './otrs/article' already exists, SQL: 'ALTER TABLE article ENGINE = InnoDB'
Traceback (5355):
Module: bin/otrs.MySQLInnoDBSwitch.pl (unknown version) Line: 129
ERROR: OTRS-otrs.MySQLInnoDBSwitch.pl-10 Perl: 5.14.2 OS: linux Time: Fri Apr 28 14:29:56 2017
Message: Could not convert table article to engine InnoDB
Traceback (5355):
Module: bin/otrs.MySQLInnoDBSwitch.pl (unknown version) Line: 134
Ich checks nicht, was er für ein Problem hat. Könnt Ihr mir vielleicht helfen?
Danke schonmal
Gruß
Pascal
MySQLInnoDBSwitch.pl bricht mit Fehler ab
-
- Znuny newbie
- Posts: 4
- Joined: 28 Apr 2017, 14:45
- Znuny Version: 3.1.10
Re: MySQLInnoDBSwitch.pl bricht mit Fehler ab
das sieht ggf. nach einer sehr alten MySQL Version aus.
"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 newbie
- Posts: 4
- Joined: 28 Apr 2017, 14:45
- Znuny Version: 3.1.10
Re: MySQLInnoDBSwitch.pl bricht mit Fehler ab
Also wenn ich die Version auslese, sieht das wie folgt aus:
mysql> SELECT VERSION();
+-------------------------+
| VERSION() |
+-------------------------+
| 5.5.34-0ubuntu0.13.04.1 |
+-------------------------+
mysql> SELECT VERSION();
+-------------------------+
| VERSION() |
+-------------------------+
| 5.5.34-0ubuntu0.13.04.1 |
+-------------------------+
Re: MySQLInnoDBSwitch.pl bricht mit Fehler ab
das sollte klappen. Und wenn Du die Tabellen händisch per SQL konvertierst? Klappt das?
"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 newbie
- Posts: 4
- Joined: 28 Apr 2017, 14:45
- Znuny Version: 3.1.10
Re: MySQLInnoDBSwitch.pl bricht mit Fehler ab
geht nicht. Da kommt wieder ein Fehler mit "already exists"
mysql> alter table article ENGINE=innodb;
ERROR 1050 (42S01): Table './otrs/article' already exists
mysql> alter table article ENGINE=innodb;
ERROR 1050 (42S01): Table './otrs/article' already exists
Re: MySQLInnoDBSwitch.pl bricht mit Fehler ab
dann sieht es stark nach einem MySQL Problem aus.
"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