Sceppi hat geschrieben: Sa Mär 11, 2023 2:58 pm
I do not have a backup unfortunately. Any other possibility? I don´t mind doing a complete reinstall
I assume you have ssh access.
openwb is based on git, so all old versions are on your system.
A normal complete reinstall won't help you as you get the latest Nightly.
Basic steps - without guarantee and you should do a backup and download that BEFORE doing the following!!
There is a risk that the old code may not work with the actual data on your system.
cd /var/www/html/openWB
git log > x.txt
edit x and search for the word "bump" or "Bump" and the version you want to roll back to, e.g. for 1.9.283.
The file x.txt contains blocks like this:
Code: Alles auswählen
commit 3c1c99191a9e18b138d331a3926cc5865eaccf20
Author: benderl <benderl@users.noreply.github.com>
Date: Fri Nov 18 09:20:19 2022 +0100
Bump Version 1.9.283
Beta 1.9.283
So the commit for version 1.9.283 is 3c1c99191a9e18b138d331a3926cc5865eaccf20
with the following command you switch to that version:
git checkout 3c1c99191a9e18b138d331a3926cc5865eaccf20
It will show some information about detached branch, etc, which is fine.
The switch back to the current stable just do
git checkout stable17
Similar for Nightly (master) or Beat (beta).
EDIT:
Instead of
git log > x.txt
edit x and search for the word "bump" or "Bump" and the version you want to roll back to, e.g. for 1.9.283.
The file x.txt contains blocks like this:
you can also do this
git log --grep="Bump"
This will list Beta and Stable releases.
EDIT2: After checking out another version you need to restart your raspi...
openWB-2 Standard+ | openWB EVU Kit v2 MID| 9,9kWp mit Kostal Plenticore 8.5 plus | VW ID.3, Kia EV6, Smart EQ forfour