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.

Big .zip package creation error

Hello!

The question is that I'm trying to create a big package (700 Mbytes) but I can't do that.

If I set the values of the /etc/httpd/conf.d/ocsinventory-reports.conf:

php_value post_max_size         201m
php_value upload_max_filesize   200m

I have an CSFR Attack. That's normal.

If I set the values of the /etc/httpd/conf.d/ocsinventory-reports.conf:

php_value post_max_size         801m
php_value upload_max_filesize   800m

I have a error that say Can't open file, and the .zip file attached to create the package dissapears.

And there is no any error message in the httpd logs.

Can somebody help me?

Thanks!

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

1 Answer

0 votes
Hi,

Did you restart apache after each modifications?

For avoiding CRSF attack message you can modify the value CRSF in var.php file. Restart apache after modification.

Regards

Frank
by (90.4k points)
 
Powered by Question2Answer
...