• Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search

    Evok & NodeRed backup/restore

    Official API - Evok
    2
    2
    1302
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • H
      honza.muller last edited by

      I am going to upgrade NodeRed image to the newest version. What do I need to backup before upgrade? I assume i should backup NodeRed configuration, /etc/evok.conf file, but what next? Also, is there any changelog where can i check, what have changed? Thank you!

      1 Reply Last reply Reply Quote 0
      • R
        robinr1 last edited by

        I performed an update today to the newest nodered OS image.
        I took a OS backup using the service mode, to be safe
        I took a file copy backup of /home/unipi and /etc
        I flashed the new image
        boot into the new image
        set timezone

        $ sudo timedatectl set-timezone Europe/Brussels
        

        installed latest updates

        $ sudo apt-get update
        $ sudo apt-get upgrade
        

        updated unipi firmware:

        $ sudo /opt/unipi/tools/fwspi -u 1 -v -P -U
        

        Stopped node-red

        $ sudo systemctl stop node-red
        

        moved /home/unipi/.node-red to /home/unipi/.node-red.old
        copied /home/unipi/.node-red and /home/unipi/node_modules from the file-backup to the current system
        rebooted unipi

        Node-red came up with correct config. Inside Node-red I had to update the @unipitechnology/node-red-contrib-unipi-evok node-palette to v0.0.8 and then had to replace all unipi-evok inputs and outputs by their respective unipi-evok-v3 counterparts.
        After that everything seems to be up and running again. (apart from my 1Wire temp sensor which seems no longer be detected by Evok.. but that is out of scope here, I assume)

        Possibly you may have to configure more and or re-apply changes you did on previous OS image. (I had to also install and configure mosquitto mqtt for example.)

        1 Reply Last reply Reply Quote 0
        • First post
          Last post