OTRS 6 Upgrade - JSDataInsert: not found
Moderator: crythias
OTRS 6 Upgrade - JSDataInsert: not found
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?
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.
Re: OTRS 6 Upgrade - JSDataInsert: not found
did you do a clean install or a migration? If a migration: any errors in the script? any packages installed?
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: OTRS 6 Upgrade - JSDataInsert: not found
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.......
Re: OTRS 6 Upgrade - JSDataInsert: not found
so please try the migration with a vanilla installation
"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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: OTRS 6 Upgrade - JSDataInsert: not found
....how?jojo wrote:with a vanilla installation
Re: OTRS 6 Upgrade - JSDataInsert: not found
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™ 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
"Testing": ((OTRS Community Edition)) and git Master
Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
Re: OTRS 6 Upgrade - JSDataInsert: not found
...unfortunately I have no much time spending in testing. Better to revert to backup...
-
- Administrator
- Posts: 4011
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: OTRS 6 Upgrade - JSDataInsert: not found
After restating you should upgrade all package, even the 3rd party via shell.
- Roy
- Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny advanced
- Posts: 123
- Joined: 14 Jul 2017, 09:30
- Znuny Version: 6 Free
- Real Name: Günter
- Company: KIT
Re: OTRS 6 Upgrade - JSDataInsert: not found
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&hil ... nd#p156939 it is said, one should update all packages via shell.
How can I do this?
Any help is welcome.
Thanks a lot.
G.
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&hil ... nd#p156939 it is said, one should update all packages via shell.
How can I do this?
Any help is welcome.
Thanks a lot.
G.
-
- Administrator
- Posts: 4011
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: OTRS 6 Upgrade - JSDataInsert: not found
Hi,
Did you tried tyo install them one by one?
What's the output of
- Roy
Did you tried tyo install them one by one?
What's the output of
Code: Select all
bin/otrs.Console.pl Admin::Package::RepositoryList
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny advanced
- Posts: 123
- Joined: 14 Jul 2017, 09:30
- Znuny Version: 6 Free
- Real Name: Günter
- Company: KIT
Re: OTRS 6 Upgrade - JSDataInsert: not found
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
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
-
- Administrator
- Posts: 4011
- Joined: 18 Dec 2007, 12:23
- Znuny Version: Znuny and Znuny LTS
- Real Name: Roy Kaldung
- Company: Znuny
- Contact:
Re: OTRS 6 Upgrade - JSDataInsert: not found
This on is not needed anymore with OTRS 6, uninstall it via otrs.Console.plpfipf 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).
For each package to upgrade use the Install: information from the output as the package URL to upgrade.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
hth,
Roy
Znuny and Znuny LTS running on CentOS / RHEL / Debian / SLES / MySQL / PostgreSQL / Oracle / OpenLDAP / Active Directory / SSO
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
Use a test system - always.
Do you need professional services? Check out https://www.znuny.com/
Do you want to contribute or want to know where it goes ?
-
- Znuny advanced
- Posts: 123
- Joined: 14 Jul 2017, 09:30
- Znuny Version: 6 Free
- Real Name: Günter
- Company: KIT
Re: OTRS 6 Upgrade - JSDataInsert: not found
<<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
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
-
- Znuny advanced
- Posts: 123
- Joined: 14 Jul 2017, 09:30
- Znuny Version: 6 Free
- Real Name: Günter
- Company: KIT
Re: OTRS 6 Upgrade - JSDataInsert: not found
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
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
-
- Znuny advanced
- Posts: 123
- Joined: 14 Jul 2017, 09:30
- Znuny Version: 6 Free
- Real Name: Günter
- Company: KIT
Re: OTRS 6 Upgrade - JSDataInsert: not found
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
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
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: OTRS 6 Upgrade - JSDataInsert: not found
How did you upgrade? There seems to be a mix of OTRS5 code and OTRS6 code:
?
Can you remove the Kernel/Config/Files/Znuny4OTRSAttachmentMultiUpload.pm file? And add a subroutine Load() to the Acl module...
Error: Can't locate object method "WriteDefault" via package "Kernel::System::SysConfig" at /opt/otrs/Custom/Kernel/System/Package.pm line 997.
That indicates that the Kernel::System::Package module is old. Can you runError: Can't locate object method "PackageUpgradeAllIsRunning" via package "Kernel::System::Package" at /opt/otrs/Kernel/System/Console/Command/Admin/Package/UpgradeAll.pm line 44.
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 / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny advanced
- Posts: 123
- Joined: 14 Jul 2017, 09:30
- Znuny Version: 6 Free
- Real Name: Günter
- Company: KIT
Re: OTRS 6 Upgrade - JSDataInsert: not found
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
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
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: OTRS 6 Upgrade - JSDataInsert: not found
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 / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny guru
- Posts: 5018
- Joined: 13 Mar 2011, 09:54
- Znuny Version: 6.0.x
- Real Name: Renée Bäcker
- Company: Perl-Services.de
- Contact:
Re: OTRS 6 Upgrade - JSDataInsert: not found
Did you upgrade Znuny4OTRS-Repo? In the 6.0.x versions there is an updated Kernel/System/Package.pm...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
Perl / Znuny development: http://perl-services.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
Free Znuny add ons from the community: http://opar.perl-services.de
Commercial add ons: http://feature-addons.de
-
- Znuny advanced
- Posts: 123
- Joined: 14 Jul 2017, 09:30
- Znuny Version: 6 Free
- Real Name: Günter
- Company: KIT
Re: OTRS 6 Upgrade - JSDataInsert: not found
<<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
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
-
- Znuny advanced
- Posts: 123
- Joined: 14 Jul 2017, 09:30
- Znuny Version: 6 Free
- Real Name: Günter
- Company: KIT
Re: OTRS 6 Upgrade - JSDataInsert: not found
Yes. I did this:
bin/otrs.Console.pl Admin::Package::Install https://addons.znuny.com/api/addon_repos/public:5693
bin/otrs.Console.pl Admin::Package::Install https://addons.znuny.com/api/addon_repos/public:5693
-
- Znuny advanced
- Posts: 123
- Joined: 14 Jul 2017, 09:30
- Znuny Version: 6 Free
- Real Name: Günter
- Company: KIT
Re: OTRS 6 Upgrade - JSDataInsert: not found
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
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.
-
- Znuny advanced
- Posts: 123
- Joined: 14 Jul 2017, 09:30
- Znuny Version: 6 Free
- Real Name: Günter
- Company: KIT
Re: OTRS 6 Upgrade - JSDataInsert: not found
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
- 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