Email notifications and graphs broken after latest package upgrade

The last email i got from my TO was:

email about updates
Update notifications

• Installed version 4.4.35+15-1-34abcd5e548fc8ed5390269f3a31d173-15 of package kmod-nfnetlink-log
• Installed version 4.4.35+15-1-34abcd5e548fc8ed5390269f3a31d173-15 of package kmod-ipt-nflog
• Installed version 1.4.21-3 of package iptables-mod-nflog
• Installed version 4.4.35+15-1-34abcd5e548fc8ed5390269f3a31d173-15 of package kmod-nfnetlink-nfacct
• Installed version 1.0.2-1 of package libnetfilter-acct
• Installed version 1.0.1-1 of package libnetfilter-log
• Installed version 2.0.5-2 of package ulogd
• Installed version 2.0.5-2 of package ulogd-mod-pcap
• Installed version 4.4.35+15-1-34abcd5e548fc8ed5390269f3a31d173-15 of package kmod-ipt-ipset
• Installed version 6.24-1 of package ipset
• Installed version 61 of package turris-firewall-rules
• Installed version 7.8-3 of package gdb
• Installed version 117 of package ucollect-lib
• Installed version 11 of package ucollect-fwup
• Installed version 4.4.35+15-1-34abcd5e548fc8ed5390269f3a31d173-15 of package kmod-nf-nat6
• Installed version 4.4.35+15-1-34abcd5e548fc8ed5390269f3a31d173-15 of package kmod-ipt-nat6
• Installed version 1.4.21-3 of package ip6tables-mod-nat
• Installed version 4.4.35+15-1-34abcd5e548fc8ed5390269f3a31d173-15 of package kmod-ipt-tproxy
• Installed version 1.4.21-3 of package iptables-mod-tproxy
• Installed version 117 of package ucollect-prog
• Installed version 20 of package ucollect-fake
• Installed version 12 of package ucollect-refused
• Installed version 8 of package ucollect-spoof
• Installed version 17 of package ucollect-sniff
• Installed version 1.2 of package ucollect-diffstore
• Installed version 31 of package ucollect-flow
• Installed version 27 of package ucollect-count
• Installed version 20 of package ucollect-bandwidth
• Installed version 25 of package ucollect-badconf
• Installed version 6 of package ucollect-meta
• Installed version 2.7.12-9 of package python-unittest
• Installed version 2.7.12-9 of package python-sqlite3
• Installed version 2.7.12-9 of package python-pydoc
• Installed version 2.7.12-9 of package python-ncurses
• Installed version 2.7.12-9 of package python-multiprocessing
• Installed version 1.11-2 of package libgdbm
• Installed version 2.7.12-9 of package python-gdbm
• Installed version 2.7.12-9 of package python-distutils
• Installed version 2.7.12-9 of package python-decimal
• Installed version 4.7.25.4.NC-5 of package libdb47
• Installed version 2.7.12-9 of package python-db
• Installed version 2.7.12-9 of package python-ctypes
• Installed version 2.7.12-9 of package python-compiler
• Installed version 2.7.12-9 of package python
• Installed version 25 of package python-libatsha204
• Installed version 40 of package nikola
• Installed version 42 of package logsend

since then sending test emails from the web interface is broken, also the graphs in LuCI “Statistics - Graphs” are not working any more.

Does anybody experience the same?

2 Likes

same here I revert update back from backup update again and working for me
edit
grapsh not work

I haven’t set an email, but I’ve done some extensive work getting luci_statistics to work. The problem was that luci_statistics wasn’t preserved in the update so it will need to be re-enabled.

There’s another thread on enabling interface names in “Interfaces” and the “Disk Space Usage” was completely broken. Also with the version of luci_statistics they’re using APCUPS doesn’t work at all.

What other modules are you using?

I tried to use:

  • df
  • dns
  • interfaces
  • iwinfo
  • load
  • ping
  • uptime

I’m not using dns or uptime. I’ll add those and see what I get.

I remember having to go into the command line and manually enable luci_statistics and collectd. It probably works fine to enable those from System|Startup.

Make sure you’ve enabled the RRDTool Plugin and if you want persistent data, put it somewhere not in the ramdisk.

df (Disk Space Usage) is totally broken. I got a file from a previous installation with the same version and it works fine. You can get https://gitlab.labs.nic.cz/turris/openwrt/uploads/24d2f6c867e8523aff2da4c83ed35911/df.lua and put it at /usr/lib/lua/luci/statistics/rrdtool/definitions/df.lua.

Interfaces is easier to fix. See Turris 3.3 - Collectd for a fix for that.

For anyone else interested, I wrote up how to fix APCUPS so it actually give graphs at https://gitlab.labs.nic.cz/turris/openwrt/issues/21

2 Likes

OK, some bad news. The dns plugin causes collectd to segfault.

I installed collectd-mod-dns and enabled it in the interface. After not getting any data or a new graph, I ran

# collectd -f
rrdtool plugin: RRASingle = true: creating only AVERAGE RRAs
Initialization complete, entering read-loop.
Segmentation fault

After disabling the DNS plugin, collectd started working again.

1 Like

i was just playing with it, can confirm.

I managed to fix email notifications by editing “/usr/bin/notifier” and setting “timeout” from 5 to 10 seconds.