Posted on 05-14-2015 04:54 AM
Does anybody else have issues with checkmarking updates in SUS? For one thing, when I "select all" and then hit apply, they all come back as unchecked when the page refreshes. For a second issue, I seem to only be able to checkmark 995 updates total. Any additional updates that are checked will not apply properly.
Solved! Go to Solution.
Posted on 05-19-2015 06:03 AM
I noticed this in the /etc/httpd/logs/ssl_error_log:
PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0
So I changed /etc/php.ini and set max_input_vars = 10000
After that change and restarting httpd, I can checkmark all of the updates.
Posted on 05-14-2015 06:16 AM
I've noticed that as well. Not a huge deal, I just leave one of the updates from 2005 unchecked.
Posted on 05-19-2015 06:03 AM
I noticed this in the /etc/httpd/logs/ssl_error_log:
PHP Warning: Unknown: Input variables exceeded 1000. To increase the limit change max_input_vars in php.ini. in Unknown on line 0
So I changed /etc/php.ini and set max_input_vars = 10000
After that change and restarting httpd, I can checkmark all of the updates.
Posted on 05-19-2015 07:12 AM
@itsops You should add this change to the netsus github.
Posted on 05-19-2015 07:32 AM
There was an issue opened on github that seemed to be related, and I posted the same solution response there. Is that what you meant?
Posted on 05-19-2015 10:32 AM
Are you guys using the OVA or installing your own NetSUS? Because I'm not seeing this files you are looking at.
Posted on 05-19-2015 12:00 PM
We are not running the OVA. We're running the NetSUS package on Redhat, and maybe that was why we had the issue in the first place.
If you are running the OVA and have this problem as well, you probably just need to find where php.ini is on the system and update it. Try this command:
find / -name php.ini
Posted on 05-27-2015 07:59 AM
@itsops I did the find command and it found two different php.ini files. I found the max_input_vars in /etc/php5/cli/php.ini and changed it from 1000 to 10000. Then I did the service apache2 restart command to restart httpd. It still does not apply my select all. Did I do everything correctly?
Posted on 05-27-2015 08:04 AM
@krusej23 The /etc/php5/apache2/php.ini file is the correct one. Remember to restart apache after updating it:
sudo service apache2 restart
Posted on 05-27-2015 08:14 AM
@itsops I am not finding a max_input_vars in the apache2 php file. There is a max_input_time that is set to 3600 but that is the only thing that is max_input.
I am running Ubuntu 14.04 if that makes a difference.
Posted on 05-27-2015 08:19 AM
@krusej23 Add these lines below the max_input_time line then:
; How many GET/POST/COOKIE input variables may be accepted
max_input_vars = 10000
Posted on 05-27-2015 08:22 AM
@itsops That worked now. Thank you very much for the help!