Cpanel Error viewing cloudlinux stats

Posted at May 26, 2016 at 10:55 am by John Quaglieri

When cpanel + cloudlinux lvestats with in cpanel shows the below error:

Modification of non-creatable array value attempted, subscript -1 at /usr/local/cpanel/Cpanel/ line 573.
...caught at line 1813.
at line 1813.
cpanel::cpanel::_api1("LVEInfo", "lveinfo", "print_usage_overview()", "print_usage_overview", ARRAY(0x6e46278), "safe_html_encode") called at /usr/local/cpanel/Cpanel/Template/Plugin/ line 94
eval {...} called at /usr/local/cpanel/Cpanel/Template/Plugin/ line 94

The fix is to reset the lveinfo.db db. However, this will reset the stats so on the next page load there will not be stats for the last 24 hours.

To reset the db:

$ service lvestats stop
$ mv /var/lve/lveinfo.db /root
$ service lvestats restart; cldetect --update-license

0.00 avg. rating (0% score) - 0 votes

You can skip to the end and leave a response. Pinging is currently not allowed.

Leave a Reply