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.

Docker You can't send a file larger than 2MMB

Unable to store the agent due to error. I am familiar with the php.ini max upload size, however this is a docker container. I tried adding to the my.cnf in the Mysql container and restart via docker compose however it did not help. Any ideas where this setting should be changed. I been working at it for a while now and figured I would reach out for help. Also 2MMB is a typo so that could be why I cant upload becuase 2MMB is not a size.
ago in OCS Inventory NG server for Unix by (750 points)

1 Answer

0 votes
I modified the nginx config file which resolved a nginx error. But now I see this after I upload a file.

ERROR, the requested doesn't exists.

Confirmed mysql upload config change
mysql -u root -p -e "SHOW VARIABLES LIKE 'max_allowed_packet';"

+--------------------+----------+

| Variable_name      | Value    |

+--------------------+----------+

| max_allowed_packet | 67108864 |

+--------------------+----------+
ago by (750 points)
edited ago by
 
Powered by Question2Answer
...