Relevant links:
Edge release 2019/12/17
Firmware release date: 2019/12/03
Changes
Fixed a bug where device ID checks during discovery and handshakes were case sensitive.
Added automated migration from Session View sessions to Session Log sessions.
Added functionality to export/import a single block.
This is only useful in very specific scenarios, as the exported block includes links.
Plotly graphs are now exported in higher resolution.
To export a graph, mouseover the graph, and click the camera button.
Reworked the buttons in the widget toolbar to be more consistent.
In widget, from left to right:
toggle between full/basic view
open widget in dialog
show menu
in dialog, from left to right:
toggle between full/basic view
show menu
close dialog
Reworked the widget dropdown menu. It now shows all items in multiple columns.
Removed multiple redundant or obsolete actions from widget menus.
Fixed a bug in quick start wizards where editing the prefix could cause the application to freeze.
Fixed a bug in the graph settings where the tree would not correctly expand when searching.
Fixed a bug in the graph settings where you could not tick fields while searching.
In the builder, when clicking a heating element that is driven by a PID, it will open the PID dialog.
Setpoint setting is now directly editable in the PID widget (both in basic, and full view).
joyosa
December 18, 2019, 6:39pm
3
I am trying to update and am getting the the following message:
ERROR: Service âtiltâ depends on service âhistoryâ which is undefined.
Command âdocker-compose up -dâ returned non-zero exit status 1
Command â/usr/bin/python3 -m brewblox_ctl migrate --pruneâ returned non-zero exit status 1
Can you let me know what to do?
Many thanks
The simplest solution is to run brewblox-ctl editor
and remove the depends_on section from the service.
It should look something like
depends_on:
- history
- eventbus
joyosa
December 19, 2019, 8:17am
5
Sorry Bob, how do I remove the depends_on?
Thanks
Warren
Run the brewblox-ctl editor command, and then visit the url it gives you in your browser. There you can edit and save the configuration.
joyosa
December 19, 2019, 8:35am
7
Many thanks Bob
I will try that
joyosa
December 20, 2019, 6:49pm
8
Hi Bob
I run the editor and it just gives me cntl-c to cancel or screen just hangs
joyosa
December 20, 2019, 6:49pm
9
ERROR: Service âtiltâ depends on service âhistoryâ which is undefined.
Command âdocker-compose down --remove-orphansâ returned non-zero exit status 1
pi@raspberrypi:~/brewblox $ brewblox-ctl editor
The following shell commands will be used:
docker pull brewblox/brewblox-web-editor:rpi-edge
docker run --rm --init -p "8300:8300" -v "$(pwd):/app/config" brewblox/brewblox-web-editor:rpi-edge --hostPort 8300
Press ENTER to continue, Ctrl+C to cancel
Running command:
docker pull brewblox/brewblox-web-editor:rpi-edge
rpi-edge: Pulling from brewblox/brewblox-web-editor
Digest: sha256:fc81830af4a48ff881f6c7adec9e54b56381e4654aeb20d086e510bae5a5982e
Status: Image is up to date for brewblox/brewblox-web-editor:rpi-edge
docker.io/brewblox/brewblox-web-editor:rpi-edge
Running command:
docker run --rm --init -p â8300:8300â -v â$(pwd):/app/configâ brewblox/brewblox-web-editor:rpi-edge --hostPort 8300
View the editor on port 8300
Press Ctrl-C to stop the editor
The editor command starts the editor, but canât show it.
To view the editor, after starting, go to your browser, and visit http://PI_ADDRESS:8300
Youâll see the web editor there.
joyosa
December 20, 2019, 7:33pm
11
Bob_Steers:
http://PI_ADDRESS:8300
It says site canât be reached. And cannot log onto the spark ip
Maybe itâs easier if you use nano.
nano docker-compose.yml
When done, press ctrl-X to save and exit
joyosa
December 20, 2019, 7:55pm
13
ERROR: yaml.scanner.ScannerError: mapping values are not allowed here
in â./docker-compose.ymlâ, line 28, column 13
Command âdocker-compose up -d --remove-orphansâ returned non-zero exit status 1
services:
spark-one:
command: 'âname=spark-one --mdns-port=${BREWBLOX_PORT_MDNS:-5000} --device-host=192.168.86.26
'
depends_on:
- eventbus
- datastore
image: brewblox/brewblox-devcon-spark:rpi-${BREWBLOX_RELEASE:-stable}
labels:
- traefik.port=5000
- 'traefik.frontend.rule=PathPrefix: /spark-one'
privileged: true
restart: unless-stopped
spark-two:
command: 'âname=spark-two --mdns-port=${BREWBLOX_PORT_MDNS:-5000} --device-host=192.168.86.25
'
depends_on:
- eventbus
- datastore
image: brewblox/brewblox-devcon-spark:rpi-${BREWBLOX_RELEASE:-stable}
labels:
- traefik.port=5000
- 'traefik.frontend.rule=PathPrefix: /spark-two'
privileged: true
restart: unless-stopped
version: '3'
getting more confused, laast part is yml and line 28 is version 3
version: '3'
should not be indented.
To post code blocks on the forum, you can put them between triple backticks:
` ` `
Code block goes here. Remove the spaces between the backticks.
` ` `
joyosa
December 20, 2019, 8:05pm
15
OK
I am now getting
ERROR: Service 'spark-one' depends on service 'eventbus' which is undefined. Command 'docker-compose up -d --remove-orphans' returned non-zero exit status 1
Youâll want to remove the entire depends_on
section, so both depends_on:
itself, and the indented values starting with -
below it.
joyosa
December 20, 2019, 8:20pm
17
Thanks Bob, each time i remove something I get another message
Now I have only
services:
spark-one:
command: 'âname=spark-one --mdns-port=${BREWBLOX_PORT_MDNS:-5000} --device-host=192.168.86.26
spark-two:
command: 'âname=spark-two --mdns-port=${BREWBLOX_PORT_MDNS:-5000} --device-host=192.168.86.25
as the yml - but obviously it is not right either, can you give me an example of what it should be?
Thanks
You can also approach it from the other side:
In your docker-compose.yml
file, only put the following:
services: {}
version: '3'
Then run:
brewblox-ctl add-spark --name spark-one --device-host 192.168.86.26
brewblox-ctl add-spark --name spark-two --device-host 192.168.86.25
This will add your spark services.
joyosa
December 20, 2019, 8:38pm
19
Many thanks I will give that a go in the morning
joyosa
December 21, 2019, 3:49pm
20
Hi Bob
Connecting https://localhost:443/history/ping , attempt 59/60
Connecting https://localhost:443/history/ping , attempt 60/60
Retry attempts exhausted
Command â/usr/bin/python3 -m brewblox_ctl http wait https://localhost:443/histor y/pingâ returned non-zero exit status 1
Command â/usr/bin/python3 -m brewblox_ctl migrate --pruneâ returned non-zero exi t status 1
Did as suggested and now do not get history back