Fehler beim update auf 4.0.1

Hilfe zu Znuny Problemen aller Art
Locked
ruetingse
Znuny newbie
Posts: 12
Joined: 01 Oct 2012, 15:35
Znuny Version: 4.0.2

Fehler beim update auf 4.0.1

Post by ruetingse »

Jemand eine idee:

Step 8 of 15: Migrate Settings... [Fri Nov 28 14:43:06 2014] DBUpdate-to-4.pl: D
BD::ODBC::db do failed: [Microsoft][ODBC SQL Server Driver][SQL Server]The data
types nvarchar(max) and ntext are incompatible in the equal to operator. (SQL-42
000)
[Fri Nov 28 14:43:06 2014] DBUpdate-to-4.pl: [Microsoft][ODBC SQL Server Driver]
[SQL Server]Statement(s) could not be prepared. (SQL-42000) at C:/otrs/Kernel/Sy
stem/DB.pm line 442.
ERROR: OTRS-DBUpdate-to-4.pl-10 Perl: 5.14.2 OS: MSWin32 Time: Fri Nov 28 14:43:
06 2014

Message: [Microsoft][ODBC SQL Server Driver][SQL Server]The data types nvarchar
(max) and ntext are incompatible in the equal to operator. (SQL-42000)
[Microsoft][ODBC SQL Server Driver][SQL Server]Statement(s) could not be prepare
d. (SQL-42000), SQL: '
UPDATE user_preferences
SET preferences_value = ?
WHERE
( preferences_key = ? OR preferences_key = ? )
AND preferences_value = ?'

Traceback (1944):
Module: main::_MigrateSettings Line: 1283
Module: C:\otrs\scripts\DBUpdate-to-4.pl Line: 165

error.

[Fri Nov 28 14:43:06 2014] DBUpdate-to-4.pl: Died at C:\otrs\scripts\DBUpdate-to
-4.pl line 170.
ruetingse
Znuny newbie
Posts: 12
Joined: 01 Oct 2012, 15:35
Znuny Version: 4.0.2

Re: Fehler beim update auf 4.0.1

Post by ruetingse »

Hat hier jemand eine Idee woran es liegen kann. Hab es jetzt noch einmal auf einem neu aufgesetzten System mit der Datenbank versucht. Gleicher fehler. Ist hier ein Fehler im Migrationsskript? Die Spalten der Tabelle sind ja alle NVarchar und nicht ntext.
Locked