fusioninventory-for-glpi icon indicating copy to clipboard operation
fusioninventory-for-glpi copied to clipboard

update timeouts - and workwaround

Open Stoatwblr opened this issue 3 years ago • 2 comments

moving from 9.5+1.0 to 9.5+3.0

I just had a lot of problems updating to the latest version thanks to PHP timeouts, etc (2GB networkconnectionlog table kept getting in the way)

Adding the following couple of lines to the top of upgrade.php allowed me to complete the update (but it still took 90 minutes to run)

<?php
set_time_limit(0);
ignore_user_abort(1);

Stoatwblr avatar Jan 14 '22 12:01 Stoatwblr

90 minutes? You update with web interface or in cli ?

ddurieux avatar Jan 14 '22 12:01 ddurieux

in the web interface. There were about 20 million lines in the networkconnectionlog table

Stoatwblr avatar Jan 14 '22 14:01 Stoatwblr