Skip to content

Empties OCS files in server when gzip is used by unix agent #463

@jsalgado78

Description

@jsalgado78

General informations

Operating system :
Server: DockerHub image ocsinventory/ocsinventory-docker-image:2.12
Client: RHEL 9.2 x86_64

Server informations

Perl version: 5.34.0
Mysql / Mariadb / Percona version : MySQL 5.7.33

OCS Inventory informations

Ocs Server version : 2.12.0

Problem's description

OCS Inventory Server 2.12.0 (Docker image used ocsinventory/ocsinventory-docker-image:2.12) generates empties ocs files (0 bytes size) when a computer (client) is running OCS Inventory Unix Agent 2.10.0, Compress::Zlib is not detected and gzip is used by the agent

[Tue Jun 25 12:51:47 2024][debug] Compress::Zlib is not available! The data will be compressed with
             gzip instead but won't be accepted by server prior 1.02

If I force deflated mode in Compress.pm (unix agent file) .ocs file is successfully generated in OCS Inventory Server
GENERATE_OCS_FILES option is enabled

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions