Update von 2.3.3 auf 2.4.7

Hilfe zu Znuny Problemen aller Art
Locked
farukotrs
Znuny newbie
Posts: 35
Joined: 13 Mar 2008, 18:33

Update von 2.3.3 auf 2.4.7

Post by farukotrs »

wenn ich die DB updaten will muss ich ja nur die
DBUpdate-to-2.4.mysql.sql

ausführen oder ?

weil meine jetzige otrs installation hat 2.3.3 aber wenn ich die DB update und in das neue otrs 2.4.7 einspiele kommt
wenn ich ein neues ticket erstellen will die meldung:

Code: Select all

Fehler: Unknown column 'a_in_reply_to' in 'field list', SQL: 'INSERT INTO article (ticke[..]
Message: Unknown column 'a_in_reply_to' in 'field list', SQL: 'INSERT INTO article (ticket_id, article_type_id, article_sender_type_id, a_from, a_reply_to, a_to, a_cc, a_subject, a_message_id, a_in_reply_to, a_references, a_body, a_content_type, content_path, valid_id, incoming_time, create_time, create_by, change_time, change_by) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, current_timestamp, ?, current_timestamp, ?)'
 
 Traceback (24753): 
sieht mir nach einem fehlerhaften update der db aus kann das sein ?
und wenn ja wie kann ich mich vergewissern das ich nicht doch vorher das DBUpdate-to-2.3.mysql.sql ausführen muss ?
danke lg
OS: Debian STABLE
OTRS 2.4.7.
MYSQL 5
Apache2
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Update von 2.3.3 auf 2.4.7

Post by jojo »

Hast Du die Datei UPGRADING Deiner 2.4. gelesen?

Hier ein Auschnitt:
8) Update the database changes with (part 1/2):
--------------------------------------------

shell> cd /opt/otrs/

MySQL:
shell> cat scripts/DBUpdate-to-2.4.mysql.sql | mysql -p -f -u root otrs
PostgreSQL:
shell> cat scripts/DBUpdate-to-2.4.postgresql.sql | psql otrs


9) Run the migration script (as OTRS user, _not_ as root):
-------------------------------------------------------

You must execute the migration script to migrate some data from the old database
structure to the new one. Please run

shell> scripts/DBUpdate-to-2.4.pl


10) Update the database changes with (part 2/2):
--------------------------------------------

MySQL:
shell> cat scripts/DBUpdate-to-2.4-post.mysql.sql | mysql -p -f -u root otrs
PostgreSQL:
shell> cat scripts/DBUpdate-to-2.4-post.postgresql.sql | psql otrs

Wie Du siehst müssen 3 Scripte ausgeführt werden
"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
farukotrs
Znuny newbie
Posts: 35
Joined: 13 Mar 2008, 18:33

Update von 2.3.3 auf 2.4.7

Post by farukotrs »

thank you
=)

ps wenn ich auf die admin oberfläche gehen will kommt die meldung:

Code: Select all

ERROR: Need write permission in OTRS home
Try: $OTRS_HOME/bin/SetPermissions.pl !!!
obwohl

drwxr-xr-x 7 otrs www-data 4096 8. Feb 14:36 otrs-2.4.7

otrs und www-data als besitzer gruppe angezeigt werden ?
OS: Debian STABLE
OTRS 2.4.7.
MYSQL 5
Apache2
Locked