OTRS 6 Upgrade - JSDataInsert: not found

Moderator: crythias

ruzzetto
OTRS wizard
Posts: 147
Joined: 14 Apr 2017, 10:53
OTRS Version?: 5.0.20

OTRS 6 Upgrade - JSDataInsert: not found

Postby ruzzetto » 06 Sep 2017, 16:58

Hi All!
just trying to test new otrs 6 beta. Installation was fine but when i try to open login page (for agents) i have an issue like image attacched.
Anyone could help me?
You do not have the required permissions to view the files attached to this post.

jojo
Moderator
Posts: 14088
Joined: 26 Jan 2007, 14:50
OTRS Version?: Git Master
Contact:

Re: OTRS 6 Upgrade - JSDataInsert: not found

Postby jojo » 06 Sep 2017, 17:02

did you do a clean install or a migration? If a migration: any errors in the script? any packages installed?
"Production": OTRS Business Solution™ 6, STORM powered by OTRS
"Testing": OTRS git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com :: Share your ideas

ruzzetto
OTRS wizard
Posts: 147
Joined: 14 Apr 2017, 10:53
OTRS Version?: 5.0.20

Re: OTRS 6 Upgrade - JSDataInsert: not found

Postby ruzzetto » 06 Sep 2017, 17:29

RPM installer gave me a lot of errors related to DB, but i think it was correct because the script to update DB was the next step. Script was fine excepts for a third party packages.......

jojo
Moderator
Posts: 14088
Joined: 26 Jan 2007, 14:50
OTRS Version?: Git Master
Contact:

Re: OTRS 6 Upgrade - JSDataInsert: not found

Postby jojo » 06 Sep 2017, 18:00

so please try the migration with a vanilla installation
"Production": OTRS Business Solution™ 6, STORM powered by OTRS
"Testing": OTRS git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com :: Share your ideas

ruzzetto
OTRS wizard
Posts: 147
Joined: 14 Apr 2017, 10:53
OTRS Version?: 5.0.20

Re: OTRS 6 Upgrade - JSDataInsert: not found

Postby ruzzetto » 07 Sep 2017, 09:07

jojo wrote:with a vanilla installation

....how? :)

jojo
Moderator
Posts: 14088
Joined: 26 Jan 2007, 14:50
OTRS Version?: Git Master
Contact:

Re: OTRS 6 Upgrade - JSDataInsert: not found

Postby jojo » 07 Sep 2017, 09:09

remove all modules before migration (it is a beta, so not intented for production use). Also no modules are migrated to OTRS6 actually
"Production": OTRS Business Solution™ 6, STORM powered by OTRS
"Testing": OTRS git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com :: Share your ideas

ruzzetto
OTRS wizard
Posts: 147
Joined: 14 Apr 2017, 10:53
OTRS Version?: 5.0.20

Re: OTRS 6 Upgrade - JSDataInsert: not found

Postby ruzzetto » 07 Sep 2017, 09:18

...unfortunately I have no much time spending in testing. Better to revert to backup...

root
Moderator
Posts: 1079
Joined: 18 Dec 2007, 12:23
OTRS Version?: 4/5/6
Real Name: Roy Kaldung
Company: Znuny Inc.
Contact:

Re: OTRS 6 Upgrade - JSDataInsert: not found

Postby root » 20 Jan 2018, 09:40

After restating you should upgrade all package, even the 3rd party via shell.

- Roy
OTRS 4/5/6 CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

You need professional services? Check out http://znuny.com/

pfipf
OTRS expert
Posts: 61
Joined: 14 Jul 2017, 09:30
OTRS Version?: 5s Free, 6
Real Name: Guenter
Company: KIT

Re: OTRS 6 Upgrade - JSDataInsert: not found

Postby pfipf » 13 Feb 2018, 10:15

Hi,

I have the same problem after updating to OTRS 6.
When running bin/otrs.Console.pl Admin::Package::UpgradeAll I get this error message:
Error: Can't locate object method "PackageUpgradeAllIsRunning" via package "Kernel::System::Package" at /opt/otrs/Kernel/System/Console/Command/Admin/Package/UpgradeAll.pm line 44.

In article viewtopic.php?f=62&t=37305&p=156939&hilit=JSDataInsert%3A+not+found#p156939 it is said, one should update all packages via shell.
How can I do this?

Any help is welcome.

Thanks a lot.

G.

root
Moderator
Posts: 1079
Joined: 18 Dec 2007, 12:23
OTRS Version?: 4/5/6
Real Name: Roy Kaldung
Company: Znuny Inc.
Contact:

Re: OTRS 6 Upgrade - JSDataInsert: not found

Postby root » 13 Feb 2018, 11:01

Hi,

Did you tried tyo install them one by one?
What's the output of

Code: Select all

bin/otrs.Console.pl Admin::Package::RepositoryList


- Roy
OTRS 4/5/6 CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

You need professional services? Check out http://znuny.com/

pfipf
OTRS expert
Posts: 61
Joined: 14 Jul 2017, 09:30
OTRS Version?: 5s Free, 6
Real Name: Guenter
Company: KIT

Re: OTRS 6 Upgrade - JSDataInsert: not found

Postby pfipf » 13 Feb 2018, 11:18

Hi,
I followed the steps from http://doc.otrs.com/doc/manual/admin/6. ... ating.html.
During the update I got these messages several times:
Kernel::Config::Files::Acl_Adminkonto has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
Kernel::Config::Files::Znuny4OTRSAttachmentMultiUpload has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.

Then I ran this command: bin/otrs.Console.pl Admin::Package::UpgradeAll and got some errors about packages that are not available for OTRS 6 (Znuny4OTRS-AttachmentMultiUpload).

I didn't care about the additional packages as this document says
"You can use the command below to update all installed packages. This works for all packages that are available from online repositories. You can update other packages later via the package manager (this requires a running OTRS Daemon). " Hence I believed I can manage the packages after the update within the package manager tool.

bin/otrs.Console.pl Admin::Package::RepositoryList displays a long list with packages from Znuny public, OTRS free and perl services

Guenter

root
Moderator
Posts: 1079
Joined: 18 Dec 2007, 12:23
OTRS Version?: 4/5/6
Real Name: Roy Kaldung
Company: Znuny Inc.
Contact:

Re: OTRS 6 Upgrade - JSDataInsert: not found

Postby root » 13 Feb 2018, 11:25

pfipf wrote:
Then I ran this command: bin/otrs.Console.pl Admin::Package::UpgradeAll and got some errors about packages that are not available for OTRS 6 (Znuny4OTRS-AttachmentMultiUpload).


This on is not needed anymore with OTRS 6, uninstall it via otrs.Console.pl

pfipf wrote:I didn't care about the additional packages as this document says
"You can use the command below to update all installed packages. This works for all packages that are available from online repositories. You can update other packages later via the package manager (this requires a running OTRS Daemon). " Hence I believed I can manage the packages after the update within the package manager tool.

bin/otrs.Console.pl Admin::Package::RepositoryList displays a long list with packages from Znuny public, OTRS free and perl services


For each package to upgrade use the Install: information from the output as the package URL to upgrade.

hth,
Roy
OTRS 4/5/6 CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO

You need professional services? Check out http://znuny.com/

pfipf
OTRS expert
Posts: 61
Joined: 14 Jul 2017, 09:30
OTRS Version?: 5s Free, 6
Real Name: Guenter
Company: KIT

Re: OTRS 6 Upgrade - JSDataInsert: not found

Postby pfipf » 13 Feb 2018, 11:40

<<This on is not needed anymore with OTRS 6, uninstall it via otrs.Console.pl

Well, I tried this but I can't find the right URL for running the uninstall. This package is not listed in the output of RepositoryList.

<<For each package to upgrade use the Install: information from the output as the package URL to upgrade.

I tried the Install for the Znuny repo and got this error:
Kernel::Config::Files::Acl_Adminkonto has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
Kernel::Config::Files::Znuny4OTRSAttachmentMultiUpload has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
Kernel::Config::Files::Acl_Adminkonto has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
Kernel::Config::Files::Znuny4OTRSAttachmentMultiUpload has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
Error: Can't locate object method "WriteDefault" via package "Kernel::System::SysConfig" at /opt/otrs/Custom/Kernel/System/Package.pm line 997.

So there are again the problems with getting rid of Znuny4OTRS-AttachmentMultiUpload and the Acl_Adminkonto I guess

Guenter

pfipf
OTRS expert
Posts: 61
Joined: 14 Jul 2017, 09:30
OTRS Version?: 5s Free, 6
Real Name: Guenter
Company: KIT

Re: OTRS 6 Upgrade - JSDataInsert: not found

Postby pfipf » 13 Feb 2018, 11:46

Hi,
I just tried to install the FAQ feature.
There was another error occuring now:
Kernel::Config::Files::Acl_Adminkonto has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
Kernel::Config::Files::Znuny4OTRSAttachmentMultiUpload has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
Kernel::Config::Files::Acl_Adminkonto has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
Kernel::Config::Files::Znuny4OTRSAttachmentMultiUpload has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.

ERROR: OTRS-otrs.Console.pl-Admin::Package::Install-63 Perl: 5.16.3 OS: linux Time: Tue Feb 13 10:43:35 2018

But it may be a follow-up of the Znuny4OTRSAttachmentMultiUpload thing.

Guenter

pfipf
OTRS expert
Posts: 61
Joined: 14 Jul 2017, 09:30
OTRS Version?: 5s Free, 6
Real Name: Guenter
Company: KIT

Re: OTRS 6 Upgrade - JSDataInsert: not found

Postby pfipf » 13 Feb 2018, 11:51

Hi,

I have access to the system again. The admin page is available now.
I hope to fix the rest via the admin page now.

Thanks a lot for you help so far.

Guenter

reneeb
OTRS guru
Posts: 4483
Joined: 13 Mar 2011, 09:54
OTRS Version?: 3.3.x
Company: Perl-Services.de
Contact:

Re: OTRS 6 Upgrade - JSDataInsert: not found

Postby reneeb » 13 Feb 2018, 11:55

How did you upgrade? There seems to be a mix of OTRS5 code and OTRS6 code:

Error: Can't locate object method "WriteDefault" via package "Kernel::System::SysConfig" at /opt/otrs/Custom/Kernel/System/Package.pm line 997.


Error: Can't locate object method "PackageUpgradeAllIsRunning" via package "Kernel::System::Package" at /opt/otrs/Kernel/System/Console/Command/Admin/Package/UpgradeAll.pm line 44.


That indicates that the Kernel::System::Package module is old. Can you run

Code: Select all

perl bin/otrs.Console.pl Admin::Package::FileSearch Kernel/System/Package.pm
?

Can you remove the Kernel/Config/Files/Znuny4OTRSAttachmentMultiUpload.pm file? And add a subroutine Load() to the Acl module...
Perl / OTRS development: http://perl-services.de
Free OTRS add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de

pfipf
OTRS expert
Posts: 61
Joined: 14 Jul 2017, 09:30
OTRS Version?: 5s Free, 6
Real Name: Guenter
Company: KIT

Re: OTRS 6 Upgrade - JSDataInsert: not found

Postby pfipf » 13 Feb 2018, 11:59

Hi,

Kernel::Config::Files::Acl_Adminkonto has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
Searching in installed OTRS packages...
+----------------------------------------------------------------------------+
| File: Custom/Kernel/System/Package.pm
| Name: Znuny4OTRS-Repo
| Version: 6.0.14
| Vendor: Znuny GmbH
| URL: http://znuny.com/
| License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, November 2007
+----------------------------------------------------------------------------+
Done.

This is the result.

And I get this message Kernel::Config::Files::Acl_Adminkonto has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967. every minute via mail

Guenter

reneeb
OTRS guru
Posts: 4483
Joined: 13 Mar 2011, 09:54
OTRS Version?: 3.3.x
Company: Perl-Services.de
Contact:

Re: OTRS 6 Upgrade - JSDataInsert: not found

Postby reneeb » 13 Feb 2018, 12:06

reneeb wrote:And add a subroutine Load() to the Acl module...



If you post the module, we can give you hints how the module should look like...
Perl / OTRS development: http://perl-services.de
Free OTRS add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de

reneeb
OTRS guru
Posts: 4483
Joined: 13 Mar 2011, 09:54
OTRS Version?: 3.3.x
Company: Perl-Services.de
Contact:

Re: OTRS 6 Upgrade - JSDataInsert: not found

Postby reneeb » 13 Feb 2018, 12:09

pfipf wrote:Hi,

Kernel::Config::Files::Acl_Adminkonto has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967.
Searching in installed OTRS packages...
+----------------------------------------------------------------------------+
| File: Custom/Kernel/System/Package.pm
| Name: Znuny4OTRS-Repo
| Version: 6.0.14
| Vendor: Znuny GmbH
| URL: http://znuny.com/
| License: GNU AFFERO GENERAL PUBLIC LICENSE Version 3, November 2007
+----------------------------------------------------------------------------+
Done.

This is the result.

And I get this message Kernel::Config::Files::Acl_Adminkonto has no Load() method. at /opt/otrs/Kernel/Config/Defaults.pm line 1967. every minute via mail

Guenter

Did you upgrade Znuny4OTRS-Repo? In the 6.0.x versions there is an updated Kernel/System/Package.pm...
Perl / OTRS development: http://perl-services.de
Free OTRS add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de

pfipf
OTRS expert
Posts: 61
Joined: 14 Jul 2017, 09:30
OTRS Version?: 5s Free, 6
Real Name: Guenter
Company: KIT

Re: OTRS 6 Upgrade - JSDataInsert: not found

Postby pfipf » 13 Feb 2018, 12:09

<<If you post the module, we can give you hints how the module should look like...

I don't use this module. I have played around with it in the past. But the one rule I had is disabled. Hence I don't understand what is going wrong.
Can I delete this ACL rule?

Guenter

pfipf
OTRS expert
Posts: 61
Joined: 14 Jul 2017, 09:30
OTRS Version?: 5s Free, 6
Real Name: Guenter
Company: KIT

Re: OTRS 6 Upgrade - JSDataInsert: not found

Postby pfipf » 13 Feb 2018, 12:10

Yes. I did this:

bin/otrs.Console.pl Admin::Package::Install https://addons.znuny.com/api/addon_repos/public:5693

pfipf
OTRS expert
Posts: 61
Joined: 14 Jul 2017, 09:30
OTRS Version?: 5s Free, 6
Real Name: Guenter
Company: KIT

Re: OTRS 6 Upgrade - JSDataInsert: not found

Postby pfipf » 13 Feb 2018, 14:49

Hi,

Some more problems occurred:
- @reneeb: The templates menu is not available any longer
- when trying to submit a new ticket and select a customer user I get the error message attached. After closing the pop-up window everythings seems working fine.
- legacy tickets are not accessible any longer: an internal server error occurrs
- a lot of config settings got lost, e.g. SMIME certification

Thanks.
Guenter
You do not have the required permissions to view the files attached to this post.

pfipf
OTRS expert
Posts: 61
Joined: 14 Jul 2017, 09:30
OTRS Version?: 5s Free, 6
Real Name: Guenter
Company: KIT

Re: OTRS 6 Upgrade - JSDataInsert: not found

Postby pfipf » 13 Feb 2018, 16:01

A reboot of the whole system including OS fixed at least these problems:

- when trying to submit a new ticket and select a customer user I get the error message attached. After closing the pop-up window everythings seems working fine.
- legacy tickets are not accessible any longer: an internal server error occurrs

Guenter


Return to “Help”

Who is online

Users browsing this forum: No registered users and 1 guest