Ajax and JSON Error after upgrading from 3.1.8 to 3.2.6

Moderator: crythias

Locked
liuk001
Znuny newbie
Posts: 7
Joined: 09 Sep 2011, 16:48
Znuny Version: 3.0.10
Real Name: Luca Maranzano

Ajax and JSON Error after upgrading from 3.1.8 to 3.2.6

Post by liuk001 »

Hello,
we have two OTRS 3.1.8 instances running fine on Ubuntu 10.04 64 bit, with 2 Apache Virtual Hosts configured with the "PerlOptions +Parent" option.

Today I've upgraded one of the instances to version 3.2.6, upgrade went well with no errors, but now from the "Create New Request by Email" page, after selecting the From Queue we get a Browser error saying this:

Error during AJAX communication. Status: error, Error: Internal Server Error


and in the Apache Error log for the Virtual Host this is logged:

[Mon May 06 16:30:52 2013] [error] encountered object 'false', but neither allow_blessed nor convert_blessed settings are enabled at /opt/otrspath1/Kernel/System/JSON.pm line 106.\n

and the Operator pull down menu is not populated at all.

The Perl modules check is OK.
Is this a known issue ? May be related to the multiple instances confgiration ?

Thanks in advance for your support.
Best regards,
Luca
wurzel
Znuny guru
Posts: 3274
Joined: 08 Jul 2010, 22:25
Znuny Version: x.x.x
Real Name: Florian

Re: Ajax and JSON Error after upgrading from 3.1.8 to 3.2.6

Post by wurzel »

Hi,

did the otrs.DeleteCache.pl and otrs.RebuildConfig.pl ? Always helped for me.

Flo
OTRS 2025 SILVER (Prod)
OTRS 2025 auf Debian 12 (Test)
Znuny 7.x latest version testing auf Debian 12

-- Ich beantworte keine Forums-Fragen PN - No PN please

I won't answer to unfriendly users any more. A greeting and regards are just polite.
liuk001
Znuny newbie
Posts: 7
Joined: 09 Sep 2011, 16:48
Znuny Version: 3.0.10
Real Name: Luca Maranzano

Re: Ajax and JSON Error after upgrading from 3.1.8 to 3.2.6

Post by liuk001 »

Hi, thank you for your answer, yes I run both the commands several time :-)

In the mean time I'll try to reproduce the bug on a fresh Ubuntu 10.04 installation and I'll file a bug on bugs.otrs.org.

Cheers,
Luca
liuk001
Znuny newbie
Posts: 7
Joined: 09 Sep 2011, 16:48
Znuny Version: 3.0.10
Real Name: Luca Maranzano

Re: Ajax and JSON Error after upgrading from 3.1.8 to 3.2.6

Post by liuk001 »

Quick update after doing several checks:

it seems a problem due to the Multiple Instances of OTRS with mod_perl2, since
we have 2 instances, if I leave alone the problematic one all is working.
The problem started after the recent upgrade from Ubuntu 8.04 to Ubuntu 10.04
so the culprit seems to be the new version of mod_perl2.

I'll try with Ubuntu 12.04 and report here, I'm getting crazy ;-)

Thanks,
Luca
liuk001
Znuny newbie
Posts: 7
Joined: 09 Sep 2011, 16:48
Znuny Version: 3.0.10
Real Name: Luca Maranzano

Re: Ajax and JSON Error after upgrading from 3.1.8 to 3.2.6

Post by liuk001 »

Ok, getting crazy and crazy.
Upgraded to 12.04 on a Test machine, same error.
So now I've two OTRS instances, one with 3.1.8 and one with 3.2.6.
The first alphabetically instance defined in /etc/apache2/sites-enabled WORKS.
The second instance has this error, always reproducible, when creating a new phone or email ticket and selecting the From Queue.

[Wed May 08 16:36:24 2013] [error] encountered object 'false', but neither allow_blessed nor convert_blessed settings are enabled at /opt/otrpathX//Kernel/System/JSON.pm line 110.\n

If I leave only one instance, it will work without any issue! If I invert the order changing the name, the first works, the second has the error!
All this is happening after Ubuntu upgrade from 8.04, the error is present in both 10.04 (mod_perl 2.0.4) and 12.04 (mod_perl 2.0.5)
Configuration seems ok with the PerlOptions +Parent for both Virtual Hosts.

So the question is: how can I debug this nasty mess ?
Anyone among you with Ubuntu 12.x and multiple OTRS instances ?

Thanks!
Luca
Locked