Hi Bob
Was running an update today when my network crashed. This then stopped the Raspberry being able to boot.
I reinstalled os and then brexblox. After that tried to load a previous snapshot. It would not work then checked and it looks as though snapshot name is now different. So changed the name and reloaded.
Now when I go to brewblox on webpage I see no dashboards, just a new page.
Could you please upload your snapshot somewhere? If it predates the name change, it may be quite old. I can have a look at what the issue is, but compatibility degrades if it’s very outdated.
Your snapshot seems perfectly valid. Going back to your log, it does not have any user services active. I suspect it didn’t use the snapshot during installation.
I did have to update the ctl package to fix an error.
I suggest removing the “new” installation, and reloading from snapshot with the below commands:
cd
cd brewblox
brewblox-ctl down
cd
mv ./brewblox ./brewblox_bak
brewblox-ctl install --snapshot brewblox.tar.gz
cd brewblox
brewblox-ctl update-ctl
brewblox-ctl up
If it then works as expected, you can remove the brewblox_bak directory with sudo rm -rf ~/brewblox_bak
Thanks Bob
Did as suggested, but got this when i ran brewblox-ctl up
pi@raspberrypi:~/brewblox $ brewblox-ctl up
stat /home/pi/brewblox/docker-compose.shared.yml: no such file or directory
Command 'docker compose up -d ’ returned non-zero exit status 1.
When I tried a log I got this:
pi@raspberrypi:~/brewblox $ brewblox-ctl log
INFO Log file: /home/pi/brewblox/brewblox.log
INFO Writing Brewblox .env values…
INFO Writing software version info…
INFO Writing active containers…
INFO Writing docker compose configuration…
[Errno 2] No such file or directory: ‘docker-compose.yml’
INFO Docker is already installed.
INFO pi already belongs to the docker group.
INFO Installing apt packages…
Hit:1 Index of /debian bullseye InRelease
Get:2 Index of /raspbian bullseye InRelease [15.0 kB]
Hit:3 Index of linux/raspbian/ bullseye InRelease
Get:4 Index of /raspbian bullseye/main armhf Packages [13.2 MB]
Fetched 13.2 MB in 10s (1,313 kB/s)
Reading package lists… Done
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
Calculating upgrade… Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Reading package lists… Done
Building dependency tree… Done
Reading state information… Done
avahi-daemon is already the newest version (0.8-5+deb11u2).
curl is already the newest version (7.74.0-1.3+deb11u7).
libffi-dev is already the newest version (3.3-6).
libssl-dev is already the newest version (1.1.1n-0+deb11u4+rpt1).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
INFO Skipped: docker install.
INFO Skipped: adding pi to ‘docker’ group.
Docker Compose version v2.18.1
INFO Fixing Docker IPv6 settings…
INFO Using Docker config file /etc/docker/daemon.json
INFO IPv6 settings are already present. Making no changes.
INFO Setting .env values…
INFO Extracting snapshot to /home/pi/brewblox directory…
tar (child): brewblox.tar.gz: Cannot open: No such file or directory
tar (child): Error is not recoverable: exiting now
tar: Child returned status 2
tar: Error is not recoverable: exiting now
Command ‘tar -xzf brewblox.tar.gz -C /tmp/tmpfoovws0v’ returned non-zero exit status 2.
pi@raspberrypi:~ $ cd brewblox
pi@raspberrypi:~/brewblox $ ls
brewblox-ctl.tar.gz
pi@raspberrypi:~/brewblox $
It can’t find the snapshot file. It exists at /home/pi/brewblox.tar.gz ? Otherwise, retry the same commands, but use the complete path (starts with /) to the tar file instead of just brewblox.tar.gz
Hi Bob
Nearly there - managed to get the snapshot back, but now I cannot see one connect to one of the services on web interface - gives bad gateway message. Services seem to be all there in brewblox-ctl.
What am I missing?
Cheers