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.

larger files are corrupt 64K

hello, 
 
I created a Blob type fields (file) to manage the bills. But larger than 64kb files (<2MB) are corrupt. 
Phpinfo () -> post_max_size = 8M & upload_max_filesize = 8M.
So I do not understand why. 
Thank you in advance,
in OCS Inventory NG server for Unix by (160 points)

3 Answers

0 votes
Hi,

By default, OCS can load 100 Mb file size (see ocsinventory-reports.conf file).

Question: which version of ocs have you installed or are you using?
by (90.2k points)
0 votes
thanks for your answer.

Ocs version 2.0.5 is installed on a debian 6.0.4 (VirtualBox)

Ocsinventory-reports.conf looks good :

php_value post_max_size 101m

php_value upload_max_size 100m

Where are the files stored ?
by (160 points)
0 votes
Hi,

For ocsinventory-reports.conf, you found where this file is stored.

Verify php.ini values. In debian, this file is stored in /etc/php5/apache2
by (90.2k points)
 
Powered by Question2Answer
...