# Error on uploading Director Basket "exceeds the defined ini size"

**URL:** <https://community.icinga.com/t/error-on-uploading-director-basket-exceeds-the-defined-ini-size/8950>\
**Category:** Icinga Director\
**Tags:** director-baskets, director\
**Created:** [January 7, 2022, 2:16pm UTC](https://community.icinga.com/t/error-on-uploading-director-basket-exceeds-the-defined-ini-size/8950 "2022-01-07T14:16:32Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![fesch](https://community.icinga.com/letter_avatar_proxy/v4/letter/f/c0e974/32.png) [@fesch](https://community.icinga.com/u/fesch)\
**Post date:** [January 7, 2022, 2:16pm UTC](https://community.icinga.com/t/error-on-uploading-director-basket-exceeds-the-defined-ini-size/8950/1 "2022-01-07T14:16:32Z")

</div>

Hello,  
i try to restore a Director Basket JSON File. But if i try to upload it through the webinterface i get the following error:  
“File ‘icingaweb2-module-director-basket.json’ exceeds the defined ini size”

 ![chrome_2022-01-07_15-12-38](https://community.icinga.com/uploads/default/original/2X/8/8ec647f3c526736cc1c18c236cf3284f56f74242.png)

Does anyone know how I can work around this error or is this a bug in the director? Can I adjust the ini size somewhere?

Best regards  
Felix

---

<div class="post-metadata">

**Author:** ![fesch](https://community.icinga.com/letter_avatar_proxy/v4/letter/f/c0e974/32.png) [@fesch](https://community.icinga.com/u/fesch)\
**Post date:** [January 12, 2022, 8:21am UTC](https://community.icinga.com/t/error-on-uploading-director-basket-exceeds-the-defined-ini-size/8950/2 "2022-01-12T08:21:30Z")

</div>

I was able to solve the problem in the meantime. I had to adjust “upload\_max\_filesize” and “post\_max\_size” in php.ini. After that I had to adjust the “max\_allowed\_packet” in the MySQL server.cnf.
