[resolved] Install Znuny4OTRS-GIArticleSend failed

Moderator: crythias

Locked
krasseoma
Znuny newbie
Posts: 7
Joined: 17 Feb 2021, 10:20
Znuny Version: 6.0.30
Real Name: S.

[resolved] Install Znuny4OTRS-GIArticleSend failed

Post by krasseoma »

I upgraded from otrs 5 to otrs 6.0.29 community edition. Now I want to install GIArticleSend via package manager, but it fails.

In my setting otrs-server has no access to the internet except for mails (in/out).
Install through console, does not work because it can't pull the plugin-data.

Code: Select all

bin/otrs.Console.pl Admin::Package::Install https://addons.znuny.com/api/addon_repos/public/1029:latest
I tried to install it through gui, but it loads very long and in the end it is not displayed in my plugin list. (no error message)

Configuration Package::AllowNotVerifiedPackages is activated!

Following is displayed when I install with console. Could it be that this is the problem with gui-installation aswell?

Code: Select all

ERROR: OTRS-otrs.Console.pl-Admin::Package::Install-10 Perl: 5.26.3 OS: linux Time: Wed Feb 17 08:09:18 2021

 Message: Can't perform GET on https://addons.znuny.com/api/addon_repos/public/1029/otrs.xml: 500 Can't connect to addons.znuny.com:443

 Traceback (527631):
   Module: Kernel::System::WebUserAgent::Request Line: 221
   Module: Kernel::System::Package::_Download Line: 3570
   Module: Kernel::System::Package::PackageOnlineList Line: 1433
   Module: Kernel::System::Console::Command::Admin::Package::List::_PackageContentGet Line: 315
   Module: Kernel::System::Console::Command::Admin::Package::Install::Run Line: 55
   Module: (eval) Line: 460
   Module: Kernel::System::Console::BaseCommand::Execute Line: 454
   Module: Kernel::System::Console::InterfaceConsole::Run Line: 80
   Module: /opt/otrs/bin/otrs.Console.pl Line: 36

Is there a way to install without this cloud post? Or can I read anywhere the errors of installation through gui? There is nothing in my server logs.
Last edited by krasseoma on 22 Feb 2021, 18:08, edited 1 time in total.
root
Administrator
Posts: 4250
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Install Znuny4OTRS-GIArticleSend failed

Post by root »

Hi,

First of all: without access to the internet you won't be able to download the add-on. Download the add-on via https://addons.znuny.com/api/addon_repo ... 092/latest and copy it to your server. Installation can be done offline without any problems.

Next thing: I did not see a cloud POST. I only see a GET request to fetch the contents of the publicly available repository. That's all.

- 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 ?
krasseoma
Znuny newbie
Posts: 7
Joined: 17 Feb 2021, 10:20
Znuny Version: 6.0.30
Real Name: S.

Re: Install Znuny4OTRS-GIArticleSend failed

Post by krasseoma »

Yes, download is only possible with internet access. But our ticketserver has only access to its mailaccount.

Sorry, this is also included in my output:

Code: Select all

Can't perform POST on https://cloud.otrs.com/otrs/public.pl: 500 Can't connect to cloud.otrs.com:443
We found a possible solution for our problem. (Not quite beautiful but a workaround)

Our solution:
Download plugin from https://github.com/znuny/Znuny4OTRS-GIArticleSend
Remove Repo dependency line: <PackageRequired Version="6.0.71">Znuny4OTRS-Repo</PackageRequired>
Activate config: Package::AllowNotVerifiedPackages
Copy plugin-file to ticketserver.
Set config Package::Timeout to 1, because installation will try to connect to cloud.otrs.com, and we don't want to wait a long timeout.
Install plugin via console (with gui it is not possible)
restart apache
done.

Installation of the whole Znuny4OTRS-Repo was no satisfying solution. Skins and Webservice were scrambled.
root
Administrator
Posts: 4250
Joined: 18 Dec 2007, 12:23
Znuny Version: Znuny and Znuny LTS
Real Name: Roy Kaldung
Company: Znuny
Contact:

Re: Install Znuny4OTRS-GIArticleSend failed

Post by root »

Hi,

There is nothing related to the skin with the Znuny4OTRS-Repo, the cloud service is from the xxx.
I know dozens of "offline' systems running without any problem. Probably you did no disabled the Cloud Service?

I'm really interested in what the problems really were and offer you to solve them. Contact me via pm if you like.

- 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 ?
Locked