Skip to content

upgrade process? #17

Answered by jasonacox
itsits asked this question in Q&A
Apr 1, 2022 · 1 comments · 9 replies
Discussion options

You must be logged in to vote

That's a great question @itsits - The data is stored in the influxdb folder. I should add an upgrade.sh to the root folder. It would basically be this:

#!/bin/bash

echo "Upgrade Powerwall-Dashboard"
echo "---------------------------"
echo "This script will upgrade you to the latest version without"
echo "removing existing data. A backup is still recommended."
echo ""

read -r -p "Upgrade - Proceed? [y/N] " response
if [[ "$response" =~ ^([yY][eE][sS]|[yY])$ ]]
then
    echo ""
else
    echo "Cancel"
    exit 
fi

echo "Pull influxdb.sql, dashboard.json, telegraf.conf, and other changes..."
git pull 

echo ""
echo "Add downsample continuous queries..."
docker exec -it influxdb influx -imp…

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@nhasan
Comment options

@jasonacox
Comment options

@jasonacox
Comment options

@nhasan
Comment options

@jasonacox
Comment options

Answer selected by itsits
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants