Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ran upgrade.sh but it does not pull all new files #56

Open
VenomrushCT opened this issue Dec 5, 2023 · 2 comments
Open

Ran upgrade.sh but it does not pull all new files #56

VenomrushCT opened this issue Dec 5, 2023 · 2 comments

Comments

@VenomrushCT
Copy link

Ran the upgrade.sh script to update to latest version, expected tessolarcharge.py script to be available under 'tools' folder but could not find this script after the update.

These are what can be found under tools after running the update:

-rw-r--r-- 1 pi pi 3532 Oct 4 20:36 DOCKER.md
drwxr-xr-x 2 pi pi 4096 May 8 2023 ecowitt-weather-history
drwxr-xr-x 2 pi pi 4096 Mar 28 2023 fixmonthtags
drwxr-xr-x 5 pi pi 4096 May 8 2023 influxdb2
drwxr-xr-x 2 pi pi 4096 Mar 28 2023 mysql
drwxr-xr-x 2 pi pi 4096 Mar 28 2023 pvoutput
drwxr-xr-x 2 pi pi 4096 Jul 3 17:11 pwstatus
-rw-r--r-- 1 pi pi 4540 Dec 4 23:12 README.md
drwxr-xr-x 2 pi pi 4096 Dec 4 23:12 solar-only
drwxr-xr-x 2 pi pi 4096 Dec 4 23:12 tesla-history
drwxr-xr-x 2 pi pi 4096 Oct 16 22:09 usage-service
drwxr-xr-x 2 pi pi 4096 Jul 3 17:11 weather-history

@VenomrushCT
Copy link
Author

VenomrushCT commented Dec 5, 2023

Output from running upgrade.sh

Upgrade Powerwall-Dashboard from 2.10.0 to 3.0.2

This script will attempt to upgrade you to the latest version without
removing existing data. A backup is still recommended.

Upgrade - Proceed? [y/N] Y

Resetting Timezone to Default...

Pull influxdb.sql, dashboard.json, telegraf.conf, and other changes...

No local changes to save
remote: Enumerating objects: 170, done.
remote: Counting objects: 100% (170/170), done.
remote: Compressing objects: 100% (92/92), done.
remote: Total 170 (delta 103), reused 135 (delta 72), pack-reused 0
Receiving objects: 100% (170/170), 76.25 KiB | 2.93 MiB/s, done.
Resolving deltas: 100% (103/103), completed with 18 local objects.
From https://github.com/jasonacox/Powerwall-Dashboard
9affc53..2644e62 main -> origin/main

  • [new branch] v3.0.3 -> origin/v3.0.3
  • [new tag] v3.0.2 -> v3.0.2
  • [new tag] v3.0.1 -> v3.0.1
    Updating 9affc53..2644e62
    Fast-forward
    .gitignore | 7 +
    README.md | 61 +-
    RELEASE.md | 19 +
    VERSION | 2 +-
    WINDOWS.md | 201 +++
    compose-dash.sh | 54 +-
    compose.env.sample | 11 +-
    dashboards/README.md | 16 +-
    .../dashboard-solar-only.json | 574 +++----
    dashboards/dashboard.json | 4 +-
    .../powerwall.yml => powerwall-v1-solar.yml | 8 +-
    powerwall-v1.yml | 90 ++
    powerwall.yml | 26 +
    setup.sh | 286 +++-
    tools/README.md | 36 +-
    tools/solar-only/README.md | 130 +-
    tools/solar-only/compose-dash.sh | 69 -
    tools/solar-only/compose.env.sample | 27 -
    tools/solar-only/grafana.env.sample | 34 -
    tools/solar-only/grafana/.keep | 1 -
    tools/solar-only/influxdb.conf | 154 --
    tools/solar-only/influxdb/dropcq.sql | 25 -
    tools/solar-only/influxdb/influxdb.sql | 42 -
    tools/solar-only/influxdb/run-once-2.8.0.sql | 15 -
    tools/solar-only/influxdb/run-once-2.8.3.sql | 13 -
    tools/solar-only/influxdb/run-once-2.9.2.sql | 18 -
    tools/solar-only/setup.sh | 178 ---
    tools/solar-only/tesla-history/README.md | 286 ----
    tools/solar-only/tesla-history/tesla-history.py | 1560 --------------------
    tools/solar-only/tz | 1 -
    tools/solar-only/tz.sh | 31 -
    tools/solar-only/weather.sh | 149 --
    tools/solar-only/weather/weather411.conf.sample | 34 -
    tools/{solar-only => }/tesla-history/Dockerfile | 0
    tools/tesla-history/tesla-history.py | 793 +++++++---
    tools/{solar-only => }/tesla-history/upload.sh | 0
    tz.sh | 18 +-
    upgrade.sh | 243 ++-
    verify.sh | 355 +++--
    weather.sh | 86 +-
    40 files changed, 2111 insertions(+), 3546 deletions(-)
    create mode 100644 WINDOWS.md
    rename tools/solar-only/dashboard.json => dashboards/dashboard-solar-only.json (85%)
    rename tools/solar-only/powerwall.yml => powerwall-v1-solar.yml (92%)
    create mode 100644 powerwall-v1.yml
    delete mode 100755 tools/solar-only/compose-dash.sh
    delete mode 100644 tools/solar-only/compose.env.sample
    delete mode 100644 tools/solar-only/grafana.env.sample
    delete mode 100644 tools/solar-only/grafana/.keep
    delete mode 100644 tools/solar-only/influxdb.conf
    delete mode 100644 tools/solar-only/influxdb/dropcq.sql
    delete mode 100644 tools/solar-only/influxdb/influxdb.sql
    delete mode 100644 tools/solar-only/influxdb/run-once-2.8.0.sql
    delete mode 100644 tools/solar-only/influxdb/run-once-2.8.3.sql
    delete mode 100644 tools/solar-only/influxdb/run-once-2.9.2.sql
    delete mode 100755 tools/solar-only/setup.sh
    delete mode 100644 tools/solar-only/tesla-history/README.md
    delete mode 100644 tools/solar-only/tesla-history/tesla-history.py
    delete mode 100644 tools/solar-only/tz
    delete mode 100755 tools/solar-only/tz.sh
    delete mode 100755 tools/solar-only/weather.sh
    delete mode 100644 tools/solar-only/weather/weather411.conf.sample
    rename tools/{solar-only => }/tesla-history/Dockerfile (100%)
    rename tools/{solar-only => }/tesla-history/upload.sh (100%)
    mode change 100644 => 100755

Setting Timezone back to America/New_York...

Updating Powerwall-Dashboard stack...
Running Docker Compose...
[+] Running 5/5
✔ Container influxdb Started 1.5s
✔ Container pypowerwall Started 1.9s
✔ Container grafana Started 1.2s
✔ Container weather411 Started 4.9s
✔ Container telegraf Started 1.0s

Waiting for InfluxDB to start...
..... up!

Add downsample continuous queries to InfluxDB...
2023/12/05 04:13:15 error: continuous query already exists
2023/12/05 04:13:15 error: continuous query already exists

Deleting old pyPowerwall...
pypowerwall
pypowerwall

Deleting old telegraf...
telegraf
telegraf

Deleting old weather411...
weather411
weather411

Restarting Powerwall-Dashboard stack...
Running Docker Compose...
[+] Running 5/5
✔ Container pypowerwall Started 0.4s
✔ Container influxdb Running 0.0s
✔ Container weather411 Started 0.4s
✔ Container grafana Running 0.0s
✔ Container telegraf Started 0.2s

---------------[ Update Dashboard ]---------------
Open Grafana at http://localhost:9000/

From 'Dashboard/Browse', select 'New/Import', and
upload 'dashboard.json' located in the folder
/home/pi/Powerwall-Dashboard/dashboards/

Please note, you may need to select data sources
for 'InfluxDB' and 'Sun and Moon' via the
dropdowns and use 'Import (Overwrite)' button.

@mcbirse
Copy link
Collaborator

mcbirse commented Dec 5, 2023

Hi @VenomrushCT - your upgrade output looks good, I don't see any issues?

Please note, the tessolarcharge.py script is part of pypowerwall tools, not Powerwall-Dashboard.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants