Updating, backup and uninstalling
Choose how you installed Gleanvolt. The tabs stay on your choice for the whole page.
Updating
Section titled “Updating”Your settings and history are kept.
Run the install command again:
curl -fsSL https://github.com/mpospisil/gleanvolt/releases/latest/download/install.sh | sudo shTo go back to an earlier version, add GLEANVOLT_VERSION= and its number before sh, for example:
curl -fsSL https://github.com/mpospisil/gleanvolt/releases/latest/download/install.sh | sudo GLEANVOLT_VERSION=1.0.6 shDownload the new version, remove the old container, and run the same docker run command as when you
installed:
docker pull ghcr.io/mpospisil/gleanvolt:latestdocker rm -f gleanvolt-controllerThen the docker run … command from Docker.
- Synology: in Container Manager, update the image under Image (it says Update available), then
rebuild the
gleanvoltproject. - QNAP, Unraid: use the application’s or the stack’s update or pull.
- TrueNAS SCALE: use the app’s Update or Pull image.
-
Close Gleanvolt’s terminal window.
-
Copy the
datafolder somewhere safe (see Backup below). An update can replace the folder it is in. -
Update:
Terminal window winget upgrade MartinPospisil.Gleanvolt -
Start it with
gleanvolt. If your settings are gone, close it, copy yourdatafolder back next to the program, and start it again.
If you run the OpenWeather plugin, update it to the same version: a plugin from another version may not connect. In Docker, pull and recreate its container too; on Windows, download its zip for the new version and unzip it over the old one. Its key is kept.
Backup
Section titled “Backup”Everything Gleanvolt knows is in one folder called data: your settings, your charging history and the
sign-in to your car’s account. A copy of that folder is a complete backup. To restore, stop Gleanvolt,
put the folder back, and start it.
The folder is /var/lib/gleanvolt. To copy it, with your settings file, into one archive in your home
folder:
sudo tar czf ~/gleanvolt-backup.tar.gz /var/lib/gleanvolt /etc/gleanvoltThe folder is /opt/gleanvolt/data:
sudo tar czf ~/gleanvolt-backup.tar.gz /opt/gleanvolt/dataThe folder is data, inside the folder you made for Gleanvolt when you installed it. Include that folder
in your NAS’s own backup.
The folder is data, next to the program: in %LOCALAPPDATA%\Microsoft\WinGet\Packages\, in the folder
whose name starts with MartinPospisil.Gleanvolt. Copy it somewhere safe.
The car sign-in in it is locked to your Windows account. Restored on another PC, or under another account, Gleanvolt asks you to sign in to the car again; everything else works.
Uninstalling
Section titled “Uninstalling”sudo apt remove gleanvolt # removes the program, keeps your settings and historysudo apt purge gleanvolt # removes everything, including the historydocker rm -f gleanvolt-controllerdocker image rm ghcr.io/mpospisil/gleanvolt:latestsudo rm -rf /opt/gleanvolt # only if you don't want your settings and history any moreDelete the gleanvolt project, application, stack or app in your NAS’s container app. Then delete the
folder you made for it, if you don’t want your settings and history any more.
Copy the data folder first if you want to keep your history. Then:
winget uninstall MartinPospisil.Gleanvolt