You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm getting the error above with the latest barcodebuddy version.
The web interface is inaccessible due to the error.
After some debugging I've found the underlying problem.
It is caused by the logs / "Processed Barcodes"-Section, when the amount of log lines are very high.
For some reason I've got 50k+ entries in my logs.
My fix was that I limited the amount of log lines displayed. For example only the last 50 entries.
my new index.php, lines 498-501: $logs = array_splice($logs, 0, 50); foreach ($logs as $log) { $html->addHtml($log . "<br>"); }
The text was updated successfully, but these errors were encountered:
Better not ask 😆
My Barcodebuddy instance seems to lose the connection to Grocy very frequently. And that mainly generates those lines.
Need to investigate more when I got some spare time for it.
Hi,
I'm getting the error above with the latest barcodebuddy version.
The web interface is inaccessible due to the error.
After some debugging I've found the underlying problem.
It is caused by the logs / "Processed Barcodes"-Section, when the amount of log lines are very high.
For some reason I've got 50k+ entries in my logs.
My fix was that I limited the amount of log lines displayed. For example only the last 50 entries.
my new index.php, lines 498-501:
$logs = array_splice($logs, 0, 50);
foreach ($logs as $log) {
$html->addHtml($log . "<br>");
}
The text was updated successfully, but these errors were encountered: