Errors on reboot after update - Related to RRD
-
After doing an update through the webgui I get this after "configuring firewall…..done" and before "starting CRON... done"
Generatinog RRD graphs...ERROR: expected 2 data sources readings (got 4) from N:U:
U:U:U
ERROR: expected 2 data sources readings (got 4) from N:U:U:U:U
ERROR: expected 2 data sources readings (got 4) from N:U:U:U:U
ERROR: expected 2 data sources readings (got 4) from N:U:U:U:U
ERROR: expected 2 data sources readings (got 4) from N:U:U:U:U
ERROR: expected 2 data sources readings (got 4) from N:U:U:U:U
ERROR: expected 2 data sources readings (got 4) from N:U:U:U:U
ERROR: expected 2 data sources readings (got 4) from N:U:U:U:U
done. -
A have same problem.
But only the Wan RRD graphics not see.
And this error in a log:
"php: /status_rrd_graph_img.php: Failed to create graph with error code 1, the error is: ERROR: No DS called 'inblock' in '/var/db…." -
Actually, a later snapshot should have upgraded your databases to a newer format. At which point it should not show those errors anymore.
Seth
-
I remove traffic and packets rrd file in /var/db/rrd/ folder. Reboot.
And its works ;DBut wan is empty :(
-
Actually, a later snapshot should have upgraded your databases to a newer format. At which point it should not show those errors anymore.
Seth
Is there a way to manually upgrade the databases to the new format because it hasn't happened for me. Been using it since before it turned into 2.0-alphaalpha and generally updated every few days but I must have somehow missed the build that updated the DB.
-
You can't miss the DB update normally because it will have the config.xml version 5.5.
This so that it triggers only once.
If you set the config.xml to 5.4 it'll run on the next boot.
-
Hmm, well I dunno what to tell you - I've definitely missed the update :)
In any case, I did like you said; changed the version tag in /conf/config.xml to 5.4 and rebooted the system. That was quite some time ago now, and not only has it still not updated the RRD database but my config file is still showing version 5.4.
I'm about to run through the update process again (i.e. grab a new build) but if that still does not work - do you have any other ideas?
-
Hi,
Even if you're able to update your db, the graphs for the WAN are empty. For example,
http://pfbox/status_rrd_graph.php?cat=traffic&option=lan&style=inverse
gives me all LAN traffic in/out, but
http://pfbox/status_rrd_graph.php?cat=traffic&option=wan&style=inverse
gives me nothing, just empty graphs.
Same happens to packets graphs. It's been quite some time since I first noticed, beg of January.
cheers,
-
nocer, I can not replicate that issue. They have been working normally for me.
I suspect your databases might be broken. If you have been updating a lot in the timeframe I was working on this it might well have broken your databases.