Errors after update to 5.0.1

Moderator: crythias

Locked
coolmf
Znuny newbie
Posts: 37
Joined: 02 Nov 2015, 16:29
Znuny Version: 5.0.26

Errors after update to 5.0.1

Post by coolmf »

Hi

Ran update from v4.11 to v5.0.1 with no other problem than Module FAQ.pm not in @INC
So i downloaded FAQ-5.0.1.opm and updated that.
No errors in logfiles, everything looked ok.
Created new danish notifications and deleted the old ones from v4.11
Now all of a sudden i start getting errors in /var/log/httpd/error_log
[Mon Nov 2 14:47:12 2015] -e: Use of uninitialized value in substitution iterator at /opt/otrs//Kernel/System/TemplateGenerator.pm line 1099.
[Mon Nov 2 14:47:12 2015] -e: Use of uninitialized value in substitution iterator at /opt/otrs//Kernel/System/TemplateGenerator.pm line 1099.
[Mon Nov 2 14:47:12 2015] -e: Use of uninitialized value in substitution iterator at /opt/otrs//Kernel/System/TemplateGenerator.pm line 1099.
[Mon Nov 2 14:47:13 2015] -e: Version string '-1, set by base.pm' contains invalid data; ignoring: '-1, set by base.pm' at /opt/otrs//Kernel/System/Log.pm line 211.
[Mon Nov 2 14:47:13 2015] -e: Version string '-1, set by base.pm' contains invalid data; ignoring: '-1, set by base.pm' at /opt/otrs//Kernel/System/Log.pm line 211.
ERROR: OTRS-CGI-10 Perl: 5.10.1 OS: linux Time: Mon Nov 2 14:47:13 2015

Message: Could not update To field for Article: 3992.

RemoteAddress: 10.0.47.150
RequestURI: /index.pl

Traceback (12326):
Module: Kernel::System::Ticket::Event::NotificationEvent::Run Line: 343
Module: Kernel::System::EventHandler::EventHandler Line: 225
Module: Kernel::System::EventHandler::EventHandlerTransaction Line: 267
Module: Kernel::System::ObjectManager::ObjectsDiscard Line: 368
Module: Kernel::System::ObjectManager::DESTROY Line: 549
Module: (eval) (v1.99) Line: 204
Module: ModPerl::ROOT::ModPerl::Registry::opt_otrs_bin_cgi_2dbin_index_2epl::handler (v1.99) Line: 204
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

[Mon Nov 2 16:20:57 2015] -e: Use of uninitialized value in substitution iterator at /opt/otrs//Kernel/System/TemplateGenerator.pm line 1099.
[Mon Nov 2 16:20:57 2015] -e: Use of uninitialized value in substitution iterator at /opt/otrs//Kernel/System/TemplateGenerator.pm line 1099.
[Mon Nov 2 16:20:57 2015] -e: Use of uninitialized value in substitution iterator at /opt/otrs//Kernel/System/TemplateGenerator.pm line 1099.
[Mon Nov 2 16:20:58 2015] -e: Use of uninitialized value in substitution iterator at /opt/otrs//Kernel/System/TemplateGenerator.pm line 1099.
[Mon Nov 2 16:20:58 2015] -e: Use of uninitialized value in substitution iterator at /opt/otrs//Kernel/System/TemplateGenerator.pm line 1099.
[Mon Nov 2 16:22:52 2015] -e: Use of uninitialized value in substitution iterator at /opt/otrs//Kernel/System/TemplateGenerator.pm line 1099.
[Mon Nov 2 16:22:53 2015] -e: Use of uninitialized value in substitution iterator at /opt/otrs//Kernel/System/TemplateGenerator.pm line 1099.
and this In Admin --> systemlog:
Mon Nov 2 14:47:13 2015 error OTRS-CGI-10 Could not update To field for Article: 3992.
I also noticed that the emails is missing the body content <OTRS_CUSTOMER_Body[30]>
OTRS 5.0.26 with ITSM, and FAQ module on CentOS 7 with MariaDB and Apache
Using LDAPS for customers and agents against Azure AD
coolmf
Znuny newbie
Posts: 37
Joined: 02 Nov 2015, 16:29
Znuny Version: 5.0.26

Re: Errors after update to 5.0.1

Post by coolmf »

Ok, more problems.
Now im not getting emails when customers create a new ticket.


Edit:
i recieve mails when they update a ticket.
OTRS 5.0.26 with ITSM, and FAQ module on CentOS 7 with MariaDB and Apache
Using LDAPS for customers and agents against Azure AD
coolmf
Znuny newbie
Posts: 37
Joined: 02 Nov 2015, 16:29
Znuny Version: 5.0.26

Re: Errors after update to 5.0.1

Post by coolmf »

Update:

Fixed the problem with missing body in emails.
Changed <OTRS_CUSTOMER_Body[30]> to <OTRS_CUSTOMER_BODY[30]> in all my notifikations and it seems to work.

Now i upgrated to 5.0.2 and it still works with <OTRS_CUSTOMER_BODY[30]>

I also fixed the problem where it didnt send mails to me about new tickets.
Personal settings --> Ticket Notifications --> Ticket create notification was suddenly unchecked. :(

But also discovered a new problem: when a customer replies to a ticket i get Ticket follow-up notification (Locked) even if the ticket has status as open :?
OTRS 5.0.26 with ITSM, and FAQ module on CentOS 7 with MariaDB and Apache
Using LDAPS for customers and agents against Azure AD
Locked