wechsel der datenbank

Hilfe zu OTRS Problemen aller Art
Post Reply
averlon
Znuny newbie
Posts: 6
Joined: 01 Mar 2013, 17:06
Znuny Version: 3.2.2
Real Name: Karl-Heinz Fischbach

wechsel der datenbank

Post by averlon »

Edit:
hat sich erledigt. War ein user - kennwort problem mit dem db-user.
Danke

Hallo,

ich bekomme solche meldungen:

Code: Select all

Sep 14 13:18:54 f42252sd OTRS-CGI-10[14780]: [Error][Kernel::System::Valid::ValidLookup][Line:166]: No Valid for valid found!
Sep 14 13:18:54 f42252sd OTRS-CGI-10[14780]: [Error][Kernel::System::DynamicField::DynamicFieldListGet][Line:946]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND object_type IN ('Ticket') ORDER BY field_order, id' at line 1, SQL: 'SELECT id, name, field_order FROM dynamic_field WHERE valid_id IN () AND object_type IN ('Ticket') ORDER BY field_order, id'
Sep 14 13:18:58 f42252sd OTRS-CGI-10[14780]: [Error][Kernel::System::Valid::ValidLookup][Line:166]: No Valid for valid found!
Sep 14 13:18:58 f42252sd OTRS-CGI-10[14780]: [Error][Kernel::System::DynamicField::DynamicFieldListGet][Line:946]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND object_type IN ('Ticket') ORDER BY field_order, id' at line 1, SQL: 'SELECT id, name, field_order FROM dynamic_field WHERE valid_id IN () AND object_type IN ('Ticket') ORDER BY field_order, id'
Sep 14 13:18:59 f42252sd OTRS-CGI-10[14780]: [Notice][Kernel::System::Auth::LDAP::Auth] User: avadmin (uid=avadmin,ou=user,dc=av,dc=loc) authentication ok (REMOTE_ADDR: 192.168.110.165).
Sep 14 13:18:59 f42252sd OTRS-CGI-10[14780]: [Error][Kernel::System::Valid::ValidLookup][Line:166]: No Valid for valid found!
Sep 14 13:18:59 f42252sd OTRS-CGI-10[14780]: [Error][Kernel::System::Group::GroupList][Line:350]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1, SQL: 'SELECT id, name FROM groups WHERE valid_id IN ()'
Sep 14 13:18:59 f42252sd OTRS-CGI-10[14780]: [Error][Kernel::System::Valid::ValidLookup][Line:166]: No Valid for valid found!
Sep 14 13:18:59 f42252sd OTRS-CGI-10[14780]: [Error][Kernel::System::Group::RoleList][Line:1648]: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')' at line 1, SQL: 'SELECT id, name FROM roles WHERE valid_id IN ()'
Sep 14 13:18:59 f42252sd OTRS-CGI-10[14780]: [Notice][Kernel::System::User::UserUpdate] User: 'avadmin' updated successfully (1)!
Sep 14 13:18:59 f42252sd OTRS-CGI-10[14780]: [Notice][Kernel::System::User::SetPassword] User: 'avadmin' changed password successfully!
Sep 14 13:18:59 f42252sd OTRS-CGI-10[14780]: [Error][Kernel::System::Valid::ValidLookup][Line:166]: No Valid for valid found!
Was habe ich gemacht:

OTRS war und ist auf einem server installiert.

Die mysql-DB war auf einem anderen server. Hat alles funktioniert.

Ich habe jetzt die DB mit mysqldump exportiert und auf dem gleichen server auf dem auch OTRS läuft eingespielt. Keine fehler beim import.

DB Anmeldedaten in Kernel/Config.pm geändert.

Alter mysql-Server:

Code: Select all

Server version: 5.5.37-0ubuntu0.13.10.1-log (Ubuntu)
Neuer mysql-Server:

Code: Select all

Server version: 5.5.38-0ubuntu0.14.04.1-log (Ubuntu)
Wenn ich mich jetzt beim OTRS Agent anmelden will dann kommen diese Fehler.

Die installierte OTRS-Version müsste 3.3.8 sein (lt. Anmeldebildschirm).

Woran könnte das liegen?
Gruß
Kalle
KlausNehrer
Znuny ninja
Posts: 1312
Joined: 25 May 2012, 08:51
Znuny Version: OTRS 4
Real Name: Klaus Nehrer

Re: wechsel der datenbank

Post by KlausNehrer »

Dann editiere bitte den Subject Deines Postings mit einem [ Gelöst ] am anfang.
Post Reply