Welcome to OCS Inventory NG community support, where you can ask questions and receive answers from other members of the community.

Please ask questions only in English or French.

Release 2.12.3 available

The official documentation can be found on https://wiki.ocsinventory-ng.org. Read it before asking your question.

Can't find information file at..activation error

Hello guys,

first of all thanks for this geat tool and your daily work and development on this.

OS: Debian 9.6 (stretch)
OCS-InventoryNG: OCSNG_UNIX_SERVER_2.5
Agents OS: mostly Windows 7 & 10
Agent execution logs:
Starting OCS Inventory NG Agent on Monday, December 03, 2018 06:34:57.
AGENT => Running OCS Inventory NG Agent Version 2.1.1.3
AGENT => Using OCS Inventory NG FrameWork Version 2.1.1.3
AGENT => Loading plug-in(s)
AGENT => Using network connection with Communication Server
AGENT => Using Communication Provider <OCS Inventory NG cURL Communication Provider> Version <2.1.1.3>
AGENT => Sending Prolog
AGENT => Prolog successfully sent
SUPPORT => No support detected, Registration key : N/A
AGENT => Inventory required
AGENT => Launching hardware and software checks
AGENT => Sending Inventory
INVENTORY => Inventory changed since last run
AGENT => Inventory successfully sent
AGENT =>  Communication Server ask for Package Download
AGENT => Unloading communication provider
AGENT => Unloading plug-in(s)
AGENT => Execution duration: 00:00:24.
Apache server logs:
no errors

I have a problem regarding the package activation that tells me a "Warning: Can't find information file at https://xxxxx/download/xxxxx"

If I manually enter the path I see the directory content (http as also on https)

It's kind a weird that upon building a package the directory permissions always get set back to 755 www-data:www-data...
As described in the following post I added these options to the ocsinventory-report.conf  http://ask.ocsinventory-ng.org/5827/deployment-activate
Options Indexes FollowSymLinks MultiViews
AllowOverride None

Also I can't access the package statistics site with a notice, that there's no access to this data

Hopefully you can help on this issue I'm really clueless :-(

thanks

sip_mw

in OCS Inventory NG server for Unix by (520 points)

3 Answers

0 votes
Hi,

Did you enable ssl on the ocs server?

Regards

Frank
by (90.2k points)
0 votes
Hi Frank,

did you mean the ssl within the ocsinventory-reports.conf or z-ocsinventory-server.conf?

Edit:

SSL is enabled per default on my apache2 server...a2query -m => ssl enabled
I can also access the download directory via https...

Regards
Marco
by (520 points)
edited by
0 votes

Hey Frank,

well, I think this seems to be a bug so whenever activating a package there's left a error message in error.log

[Thu Dec 06 13:02:30.478552 2018] [:error] [pid 11010] [client 192.xx.xx.xx:52527] PHP Warning:  in_array() expects parameter 2 to be array, null given in /usr/share/ocsinventory-reports/ocsreports/require/function_telediff.php on line 230, referer: https://xxx/ocsreports/index.php?function=tele_popup_active&head=1&active=1544097041
[Thu Dec 06 13:02:30.478603 2018] [:error] [pid 11010] [client 192.xx.xx.xx:52527] PHP Warning:  in_array() expects parameter 2 to be array, null given in /usr/share/ocsinventory-reports/ocsreports/require/function_telediff.php on line 230, referer: https://xxx/ocsreports/index.php?function=tele_popup_active&head=1&active=1544097041

Bug @ Github:
https://github.com/OCSInventory-NG/OCSInventory-ocsreports/pull/532

Regards

sip_mw

by (520 points)
 
Powered by Question2Answer
...