error bei Ticket versenden ... HILFE

Hilfe zu Znuny Problemen aller Art
Locked
hoffi-
Znuny newbie
Posts: 36
Joined: 14 Sep 2007, 19:06
Znuny Version: 3.1.5
Location: berlin
Contact:

error bei Ticket versenden ... HILFE

Post by hoffi- »

kann mir jemand den folgenden Fehler erklären, möglichst mit Lösung.

Fehlermeldung: Unknown column 'a_message_id_md5' in 'field list', SQL: 'INSERT INTO article (ti[..]

Fehlerdetail:
Backend ERROR: OTRS-CGI-30 Perl: 5.14.2 OS: linux Time: Fri Apr 4 22:44:27 2014 Message: Unknown column 'a_message_id_md5' 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_message_id_md5, 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, '2014-04-04 22:44:27' , ?, '2014-04-04 22:44:27' , ?)' RemoteAddress: 87.152.50.86 RequestURI: /otrs/index.pl Traceback (2245): Module: Kernel::System::Ticket::Article::ArticleCreate (OTRS 3.3.5) Line: 264 Module: Kernel::Modules::AgentTicketActionCommon::Run (OTRS 3.3.5) Line: 895 Module: Kernel::System::Web::InterfaceAgent::Run (OTRS 3.3.5) Line: 871 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

Ich nutze OTRSITSM 3.3.6 auf Debian7

thx4help
hoffi-
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: error bei Ticket versenden ... HILFE

Post by jojo »

Fehlerhafte Migration da nicht alle scripte ausgeführt wurden
"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
hoffi-
Znuny newbie
Posts: 36
Joined: 14 Sep 2007, 19:06
Znuny Version: 3.1.5
Location: berlin
Contact:

Re: error bei Ticket versenden ... HILFE

Post by hoffi- »

ok und was kann ich tun zum lösen des fehlers ? erneut alle scripts ausführen oder wie ist das richtige vorgehen ?

thx4help
hoffi-
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: error bei Ticket versenden ... HILFE

Post by jojo »

Rollback und erneute Migration
"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
hoffi-
Znuny newbie
Posts: 36
Joined: 14 Sep 2007, 19:06
Znuny Version: 3.1.5
Location: berlin
Contact:

Re: error bei Ticket versenden ... HILFE

Post by hoffi- »

danke für die schnelle antwort. aber kannst du mir bitte genauer schreiben wie ich einen rollback und die dazugehörige migration durchführe .? danke im voraus

hoffi-
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: error bei Ticket versenden ... HILFE

Post by Wolfgangf »

ganz einfach: Sicherung wieder einspielen, UPGRADING Prozedur von vorne durchspielen
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
hoffi-
Znuny newbie
Posts: 36
Joined: 14 Sep 2007, 19:06
Znuny Version: 3.1.5
Location: berlin
Contact:

Re: error bei Ticket versenden ... HILFE

Post by hoffi- »

sorry das ich erst jetzt antworte.
ich hab die migration auf die neuste otrs version (3.3.6) wie in http://otrs.github.io/doc/manual/admin/ ... ading.html beschrieben durchgeführt.
beim durchführen von otrs.CheckDB.pl erhalte ich folgende info:

root@computername:/opt/otrs/bin# ./otrs.CheckDB.pl
Trying to connect to database
DSN: DBI:mysql:database=otrs;host=127.0.0.1
DatabaseUser: otrs

Connected.
Your storage engine is InnoDB.
These tables use a different storage engine:

article
article_attachment
article_flag
article_plain
article_search
article_sender_type
article_type
auto_response
auto_response_type
change_cab
change_cip_allocate
change_condition
change_freekey
change_freetext
change_history
change_history_type
change_item
change_notification
change_notification_grps
change_notification_rec
change_state_machine
change_template
change_template_type
change_wo_freekey
change_wo_freetext
change_workorder
cip_allocate
condition_action
condition_attribute
condition_expression
condition_object
condition_operator
configitem
configitem_counter
configitem_definition
configitem_history
configitem_history_type
configitem_version
customer_company
customer_preferences
customer_user
dynamic_field
dynamic_field_value
faq_attachment
faq_category
faq_category_group
faq_history
faq_item
faq_language
faq_log
faq_state
faq_state_type
faq_voting
follow_up_possible
general_catalog
general_catalog_preferences
generic_agent_jobs
gi_debugger_entry
gi_debugger_entry_content
gi_object_lock_state
gi_webservice_config
gi_webservice_config_history
group_customer_user
group_role
group_user
groups
imexport_format
imexport_mapping
imexport_mapping_format
imexport_mapping_object
imexport_object
imexport_search
imexport_template
link_object
link_relation
link_state
link_type
mail_account
notification_event
notification_event_item
notifications
package_repository
personal_queues
pm_activity
pm_activity_dialog
pm_entity
pm_entity_sync
pm_process
pm_transition
pm_transition_action
postmaster_filter
process_id
queue
queue_auto_response
queue_preferences
queue_standard_response
role_user
roles
salutation
scheduler_task_list
search_profile
service
service_customer_user
service_preferences
service_sla
sessions
signature
sla
sla_preferences
smime_signer_cert_relations
standard_attachment
standard_response
standard_response_attachment
support_bench_test
survey
survey_answer
survey_question
survey_queue
survey_request
survey_vote
system_address
ticket
ticket_flag
ticket_history
ticket_history_type
ticket_index
ticket_lock_index
ticket_lock_type
ticket_loop_protection
ticket_priority
ticket_state
ticket_state_type
ticket_type
ticket_watcher
time_accounting
time_accounting_action
time_accounting_project
time_accounting_table
time_accounting_user
time_accounting_user_period
user_preferences
users
valid
virtual_fs
virtual_fs_db
virtual_fs_preferences
web_upload_cache
xml_storage

*** Please correct these problems! ***

root@computername:/opt/otrs/bin#

Beim aufrufen des interfaces zum aufgeben von problemen (otrs/customer.pl) erhalte ich folgendes:

Fehler: Unknown column 'a_message_id_md5' 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_message_id_md5, 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, '2014-04-14 18:56:36' , ?, '2014-04-14 18:56:36' , ?)'

Kommentar:

Traceback:
ERROR: OTRS-CGI-30 Perl: 5.14.2 OS: linux Time: Mon Apr 14 18:56:36 2014

Message: Unknown column 'a_message_id_md5' 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_message_id_md5, 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 (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
'2014-04-14 18:56:36'
, ?,
'2014-04-14 18:56:36'
, ?)'

RemoteAddress: 87.152.60.36
RequestURI: /otrs/customer.pl

Traceback (2242):
Module: Kernel::System::Ticket::Article::ArticleCreate (OTRS 3.3.6) Line: 264
Module: Kernel::Modules::CustomerTicketMessage::Run (OTRS 3.3.6) Line: 573
Module: Kernel::System::Web::InterfaceCustomer::Run (OTRS 3.3.6) Line: 1000
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_customer_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

was muss ich tun ?
thx4helping
hoffi-
Christoph89
Znuny newbie
Posts: 19
Joined: 16 Apr 2014, 15:27
Znuny Version: 3.3.6

Re: error bei Ticket versenden ... HILFE

Post by Christoph89 »

Your storage engine is InnoDB.
These tables use a different storage engine:
...

*** Please correct these problems! ***

Hast du das Problem gelösst? Dazu musst du die Storage Engine von vermutlich MyISAM auf InnoDB umstellen. Kannst du zB mit phpmyadmin machen.

LG Christoph
hoffi-
Znuny newbie
Posts: 36
Joined: 14 Sep 2007, 19:06
Znuny Version: 3.1.5
Location: berlin
Contact:

Re: error bei Ticket versenden ... HILFE

Post by hoffi- »

hallo Christoph,

kannst du mir bitte schrit für schrit helfen ? ich hab keine Ahnung wie ich das machen kann.

thx4help hoffi-
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: error bei Ticket versenden ... HILFE

Post by jojo »

es gibt dafür ein script unter bin....
"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
hoffi-
Znuny newbie
Posts: 36
Joined: 14 Sep 2007, 19:06
Znuny Version: 3.1.5
Location: berlin
Contact:

Re: error bei Ticket versenden ... HILFE

Post by hoffi- »

kannst du mir bitte noch den titel des scripts verraten.

thx4help
hoffi-
hoffi-
Znuny newbie
Posts: 36
Joined: 14 Sep 2007, 19:06
Znuny Version: 3.1.5
Location: berlin
Contact:

Re: error bei Ticket versenden ... HILFE

Post by hoffi- »

deanke hab das script (bin/otrs.MySQLInnoDBSwitch.pl) ausgeführt mal sehen ob das hilft.
vielen dank auf jedenfall für den Support

THX4HELP
hoffi-
Wolfgangf
Znuny ninja
Posts: 1029
Joined: 13 Apr 2009, 12:26
Znuny Version: 6.0.13
Real Name: Wolfgang Fürtbauer
Company: PBS Logitek GmbH
Location: Pinsdorf

Re: error bei Ticket versenden ... HILFE

Post by Wolfgangf »

ansonsten stellt Du den Default_storage_type in der mysql auf MYISAM
Produktiv:
OTRS 6.0.13/ ITSM 6.0.13
OS: SUSE Linux (SLES 12, Leap), MySql 5.5.x, 5.6.x
Windows 2012 AD Integration (agents and customers), Nagios integration (incidents, CMDB), Survey, TimeAccounting
Christoph89
Znuny newbie
Posts: 19
Joined: 16 Apr 2014, 15:27
Znuny Version: 3.3.6

Re: error bei Ticket versenden ... HILFE

Post by Christoph89 »

Wäre nett wenn du uns noch sagst ob es denn geklappt hat, hilft auch zukünftigen Usern, wenn Sie direkt sehen ob der vorgeschlagenen Lösungsweg zum Ziel führte.
hoffi-
Znuny newbie
Posts: 36
Joined: 14 Sep 2007, 19:06
Znuny Version: 3.1.5
Location: berlin
Contact:

Re: error bei Ticket versenden ... HILFE

Post by hoffi- »

ja sorry hat alles gut geklappt.

thx4help hoffi-
Locked