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

    Evok & NodeRed backup/restore

    Scheduled Pinned Locked Moved Official API - Evok
    2 Posts 2 Posters 1.9k Views
    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

        Hello! It looks like you're interested in this conversation, but you don't have an account yet.

        Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

        With your input, this post could be even better 💗

        Register Login
        • First post
          Last post