Interface > Interface til varme systemer

Pellmon opdatering

(1/6) > >>

kivi:
Jeg har nu efter lang tids tilløb taget mig sammen til at opdatere Pellmon på min Raspberry.

Det er gået fint bortset fra at min forbrugshistorie er væk, jeg synes jeg kan mindes at jeg tidligere har fået den frem igen, men husker ikke hvordan.

Jeg kan heller få ramdisk til at virke, der kommer bare en masse fejl ved opstart.

Nogen der kan hjælpe?

motoz:
Of course...

First, did you make a backup of your configuration file before installing the new version, and then move it back to /etc/pellmon/pellmon.conf  without any modifications after installing? The default configuration from a new installation is radically different, but your old config file should work as it is without any modifications at all. If you are using the new default configuration (which is split up in several files to make it easier to find stuff) and redoing your own configuration in those files then you have probably made some mistake there which need to be fixed.

The history is in the database, by default in /usr/local/var/lib/pellmon/rrd.db, or since you have been using a ramdisk the permanent database is in /usr/local/var/lib/pellmon/nvrrd.db, what errors do you get?


kivi:
Thank's motoz

Jeg har ikke brugt den gamle config file, da jeg hellere ville have den nye opdeling, men har lagt mine ændringer ind i de nye.

Vedr. ramdisk får jeg disse fejl ved opstart.

kivi:
Og det her er fra første opstart efter opdatering.

motoz:
The error 'found extra data on  update' is returned from the 'rrdtool update' command that pellmon calls to update the database. It means that your configuration does not match the database as it is defined. The rrd database is picky when updating, the update needs to contain all defined data 'columns' in the correct order as when the database was created. You need to set up the [rrd_ds_names] and [pollvalues] sections in your new configuration (conf.d/database.conf) so they are exactly the same as in the old single file.

In the second picture I see that it has created a new database in the default location as when not using a ramdisk, /usr/local/var/lib/pellmon/rrd.db, your original database should be in /usr/local/var/lib/pellmon/nvrrd.db. This is probably the reason for the mismatch.

Check that the 'database' and 'persistent_database' settings in the database.conf file matches your old file. One or both of these are wrong so it created a new database with the new standard definition that doesn't match your configuration.

To edit the files you can use the included 'pellmonconf' tool, run

--- Kode: ---sudo pellmonconf
--- afslutning på kode ---
on the raspberry, then you can open a nice text editor for the config files on http://<raspberryip>:8083 in your browser.

Hope this helps, just ask if you need more help.

Navigering

[0] Emneindeks

[#] Næste side

Skift til fuld version