ich habe unter Debian 8.1 das aktuelle OTRS 4.0.11 installiert. Es läuft soweit, aber wenn ich auf "Tickets" -> "Ansicht nach Queues" (URL: ../otrs/index.pl?Action=AgentTicketQueue ) klicke, kommt ein "Internal Server Error". Im Systemprotokoll steht:
You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')
Es ist das erste Mal, dass ich MariaDB (Version 10.0.20) anstatt MySQL nutze. Könnte es damit zu tun haben?
Meine Vermutung ist aber, dass da etwas schief läuft weil ich einige Statis in deutsch umbenannt habe, deswegen kamen erst keine Mails mehr an. Ich habe die Statis aber wieder ins englische geändert, dann kamen die Mails wieder an. Komischerweise sind die Status-Typen jetzt auch deutsch - ich dachte die waren vorher englisch.
Hat jemand eine Idee woran es liegen könnte?
In der error.log vom Apache steht:
Code: Select all
[Sat Aug 29 08:59:45.361638 2015] [authz_core:debug] [pid 866:tid 139893678184192] mod_authz_core.c(809): [client 192.168.199.129:49557] AH01626: authorization result of Require all granted: granted, referer: http://otrs.server.local/
otrs/index.pl?Action=AdminLog
[Sat Aug 29 08:59:45.361674 2015] [authz_core:debug] [pid 866:tid 139893678184192] mod_authz_core.c(809): [client 192.168.199.129:49557] AH01626: authorization result of <RequireAny>: granted, referer: http://otrs.server.local/otrs/in
dex.pl?Action=AdminLog
[Sat Aug 29 08:59:45 2015] -e: DBD::mysql::st execute failed: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')
[Sat Aug 29 08:59:45 2015] -e: AND st.queue_id = sq.id
[Sat Aug 29 08:59:45 2015] -e: AND st.archive_flag = ' at line 3 at /opt/otrs/Kernel/System/DB.pm line 629.
ERROR: OTRS-CGI-10 Perl: 5.20.2 OS: linux Time: Sat Aug 29 08:59:45 2015
Message: You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ')
AND st.queue_id = sq.id
AND st.archive_flag = ' at line 3, SQL: '
SELECT count(*), st.ticket_lock_id
FROM ticket st, queue sq, personal_queues suq
WHERE st.ticket_state_id IN ( )
AND st.queue_id = sq.id
AND st.archive_flag = 0
AND suq.queue_id = st.queue_id
AND sq.group_id IN ( 1, 2, 3, 4, 5, 6 )
AND suq.user_id = 1
GROUP BY st.ticket_lock_id'
RemoteAddress: 192.168.199.129
RequestURI: /otrs/index.pl?Action=AgentTicketQueue
Traceback (866):
Module: Kernel::System::Ticket::IndexAccelerator::RuntimeDB::TicketAcceleratorIndex Line: 143
Module: Kernel::Modules::AgentTicketQueue::BuildQueueView Line: 493
Module: Kernel::Modules::AgentTicketQueue::Run Line: 436
Module: Kernel::System::Web::InterfaceAgent::Run Line: 996
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler Line: 41
Module: (eval) (v1.99) Line: 207
Module: ModPerl::RegistryCooker::run (v1.99) Line: 207
Module: ModPerl::RegistryCooker::default_handler (v1.99) Line: 173
Module: ModPerl::Registry::handler (v1.99) Line: 32
[Sat Aug 29 08:59:45 2015] -e: (in cleanup) Can't call method "Get" on an undefined value at /opt/otrs/Kernel/System/AuthSession/DB.pm line 583.
[Sat Aug 29 08:59:45.407026 2015] [:error] [pid 866:tid 139893678184192] Can't use an undefined value as an ARRAY reference at /opt/otrs/Kernel/Modules/AgentTicketQueue.pm line 513.\n
[Sat Aug 29 09:00:13.040186 2015] [authz_core:debug] [pid 866:tid 139893669791488] mod_authz_core.c(809): [client ::1:50098] AH01626: authorization result of Require local : granted
[Sat Aug 29 09:00:13.040213 2015] [authz_core:debug] [pid 866:tid 139893669791488] mod_authz_core.c(809): [client ::1:50098] AH01626: authorization result of <RequireAny>: granted
[Sat Aug 29 09:01:13.583951 2015] [authz_core:debug] [pid 866:tid 139893745325824] mod_authz_core.c(809): [client ::1:50113] AH01626: authorization result of Require local : granted