since around wednesday, 2019-06-05 I have problems with the alert notifications interface: …/alerts
When i open that URL, the interface says “Loading…”, later “No results found!”
and in ~/logs/librenms.logs I can see
[2019-06-11 08:33:36] production.ERROR: Maximum execution time of 30 seconds exceeded {“userId”:4,“email”:“[email protected]”,“exception”:"[object] (Symfony\Component\Debug\Exception\FatalErrorException(code: 1): Maximum execution time of 30 seconds exceeded at /opt/librenms/includes/html/functions.inc.php:1057)
[stacktrace] #0 {main}
"}
I noticed this problem last wednesday… ./daily did not work on that night before.
So I ran it manually in the morning, that’s when the problem started.
At the same time I did on OS-update… so I thought it might be related to this…
That’s why I went back to my VM snpashot, reverting the updates of daily.sh and also the OS updates.
On the thursday night daily.sh ran again… bringing back this problem.
So from that error would hint the script is timing out from this rtrim function
$fault_detail = rtrim($fault_detail, ', ');
Try set max_execution_time = 360 in your php.ini then restart the webserver. Go to alert notifications again and wait 6 minutes, if still hasn’t loaded then it would seem to be an endless loop.