-
Notifications
You must be signed in to change notification settings - Fork 4
SOFTWARE UPGRADE
The software can be upgraded to new versions without lost of data or settings. Just download the ecu_swupdate-vx_x.tar package and install it. The package contains a script that replaces /var/www/html and /usr/lib/cgi-bin/ecu directories. Please see menu->system->update
The package will be uploaded first and then installed. Check the results that are displayed in the outputfield for errors.
Software upgrades are issued as packages like 'ecu_swupdate_v3_2.tar'. It would be wise to make a directory in your computer to save these packages in. It is harmless to install a package more than once.
important As to versions above 3_1, you should at least install 3_1 (twice!) before you can upgrade to higher versions.
Sometimes you may experience malformed webpages after an upgrade. You should clear the browser cache (settings/privacy/browserdata/) then.
Usually the software is upgradable to a version x_x. For the newcomers an image of this version is issued. If you want to install an image and you are already using this software, you can make a backup of your databases and settings first. The procedure is as follows (assuming you have an extra sd-card):
- burn the image on the other sd-card.
- wait until midnight time has passed. Now make a backup of your system. Please see backup
- install the new sd-card (or rewrite the old one first) and boot up the system. Expand the filesystem and reboot.
- wait until influxDB is running (menu->databases->healthcheck influx).
- restore the databases. Please see restore
- check if succeeded by doing a query, sometimes it failes and you have to do it again.
If you want to add zram you need to ssh into your rpi-ecu. Than issue the following commands:
-
apt install zram-tools
-
nano /etc/sysctl.conf and add the following 4 lines
vm.vfs_cache_pressure=500
vm.swappiness=100
vm.dirty_background_ratio=1
vm.dirty_ratio=50 -
sysctl --system (or reboot)
check with sudo cat /proc/swaps, you should see a zram entry.
For more info visit https://linuxblog.io/raspberry-pi-performance-add-zram-kernel-parameters/