A bug-fix beta. No configuration, volume, or upgrade steps this time — pull the new image and restart.
Highlights:
- The Graphs tab's Ports display works again (#160). Changing a filter could leave the correct caption above an empty chart, after which the tab stayed dead until a page reload. Two faults compounded:
graph_ports/graph_sourceshad no value in the rendered page, so the browser invented them from the DOM as strings; and when that threw, the error message replaced the chart container while the chart instance stayed alive inside it, so every later update drew into an element no longer on the page. Since graphs also refresh on their own every 15s, this could strike while you were only hovering. - Source selection on the Graphs tab works with more than one source (#160). The graph kept showing every source and the clicked entry didn't stay highlighted; single-source installs were unaffected, which is why it went unnoticed.
- The Columns button on the Flows and Statistics tables opens again (#161). It was the last widget still relying on Bootstrap's JS, which the v1 frontend rewrite had removed.
- The Sankey tab works on nfdump 1.7.5 (#159) — the version Debian 13 ships, which rejects a custom print format while aggregating.
- Graph failures are now reported instead of silently freezing the graph. Anything that threw while building the graph data used to be swallowed, so a filter change simply did nothing, with no clue why.
- Step plot, Logarithmic, Stacked and date-range auto-sync keep their defaults. All four were being overwritten with an empty value on every load, so graphs quietly rendered as curves.
Help us test v1.0.0-beta.4 before the stable release:
curl -O https://raw.githubusercontent.com/mbolli/nfsen-ng/master/deploy/docker-compose.yml
# set image: ghcr.io/mbolli/nfsen-ng:1.0.0-beta.4 (or :latest)
# and set your nfcapd source path
docker compose up -dPlease open issues at https://github.com/mbolli/nfsen-ng/issues. The goal is a stable v1.0.0 shortly after.
Fixed
- The Graphs tab's Ports display broke on a filter change, leaving the correct caption but no graph, and stayed dead until a page reload;
graph_ports/graph_sourceswere invented from the DOM as strings, reachingRrd::get_data_path(): Argument #2 ($port) must be of type int, string givenordisplayItems.join is not a function, and the resulting error message orphaned the live chart instance (#160) - Changing the source selection on the Graphs tab did nothing on installations with more than one source: the graph kept showing every source, the clicked entry didn't stay highlighted, and a
rrd_xport failed. opening '<rrd>/<profile>/.rrd'banner could appear (#160) - A failure while building the graph data left the graph silently frozen on its previous contents, with no error anywhere in the UI (#160)
- The Columns button on the Flows and Statistics tables did nothing when clicked; the dropdown still depended on Bootstrap's JS, dropped from the bundle in the v1 frontend rewrite (#161)
- The Sankey tab failed outright on nfdump 1.7.5 with
Can not use print format fmt:… to aggregate flows; that one release rejects a custom-o fmt:format while-Aaggregation is active (#159) - Hovering the right-hand end of a graph threw
TypeError: Cannot read properties of null (reading 'toFixed')and left the tooltip broken (#158) Step plot,Logarithmic,Stackedand the date-range auto-sync toggle lost their defaults permanently, so graphs quietly rendered as curves; already-affected browsers heal themselves on the next load
Full changelog: v1.0.0-beta.3...v1.0.0-beta.4