Edge release 2019/09/12, extra fix on 2019/09/16

Firmware release date: 2019/09/16

Update: pushed a handful of bugfixes including a firmware fix. Updated firmware release date

There is now a wizard for a HERMS configuration. To go along with this, we reworked the flow calculations to also consider kettles. This has been a pretty big rewrite, and we’ll be adding fixes for some edge cases in the coming weeks.

If you have a layout where flows are suddenly going the wrong way, please let us know.

We did rename “arrangement” to “Quick Start”, to better communicate the use case behind the wizard.

Because we’re making more and more use of the setting popup components, we added a pull-out tab for graphs.
This includes the Graph widget, but also various blocks, and the Setpoint Profile.
The intention is that you can now easily access graphs, even if you opened the settings from a Builder layout or relations diagram.

This is part of the ongoing approach to reduce the number of elements initially visible, while making it easy to navigate between related blocks and widgets.

As it’s a relevant feature for HERMS, we added Boil Mode support to the PID. When the setpoint is higher than a configurable value (default 100 celsius or equivalent), the integrator is disabled. A minimum output during boil mode can also be set.

Changes

  • Renamed “Arrangement” to Quick Start.
  • Added HERMS Quick Start wizard.
  • Reworked flow calculations.
    • Flow calculations now include kettles (no more need for the SystemIO workaround).
    • Calculations are significantly faster.
    • Increased default pressure for System IOs and pumps (flows go faster).
  • All blocks with graphs can now display them inline in their settings menu.
  • Changed some builder components.
    • Added a Setpoint Profile part.
    • The Heating Element part in the Builder can now be resized.
    • System IO/Pump pressure is now configurable in part settings.
    • Condensed service/block link selector into a single select that shows all blocks on all spark services.
    • You can now use a color picker and preset colors in both containers (Kettle, Carboy, Bottle), and System IO parts.
    • The PID display part now shows output setting. If output value is 0, the icon color turns white instead of red/blue.
  • Fixed a firmware crash if the Balancer tried to remove a non-existent ID.
  • The Web Editor for the configuration file now continuously checks whether the server is still online.
  • Display current status and values for pin/sensor options in quick start wizards.
  • Fixed a bug where the Step View would fail to update PID Kp settings.
  • Fixed a bug where the Step View would consider time durations such as “1h” and “60m” as not equal.
  • Fixed a bug where the relations diagram would not render correctly in Firefox.
  • PIDs are now configured differently for fridge and beer modes.
    • Changed the default settings when generated through a quick start wizard.
    • Changing beer <-> fridge constant mode will also change the PID settings. This is prompted to avoid silently overwriting user settings.
    • Fixed PID presets, and added new ones.
  • In the Setpoint Profile, if you change the upcoming point, it will offer to splice the profile.
    • This will generate a point at the current time and temperature setting.
    • This avoids immediate jumps in temperature setting - it will calculate the line from the current setting to the next point instead of from the previous point to the next point.
  • Fixed a bug where zoom level would be reset when a graph received a data update.
  • Improved the tooltip when constraints are configured, but none are currently limiting the value.
  • Improved explanatory text in Wizardry.
  • Fixed a bug in Quick Start wizards where repeatedly going back and forth between steps would exit the wizard.
  • Tweaked the theme colors. Toolbars are now less prominent.
  • The PID now supports Boil Mode.
  • Improved the toggle button for changing dashboard edit mode.

Relevant links:

3 Likes

Some additional notes on new things in the update:

  • Because we now support kettle flow, you should not use the SystemIO part in kettles anymore. Replace them with dip tubes and whirlpool parts.
  • The PID has a new setting to support boil mode. If you set a minimum, it will use this as a minimum value for the actuator when the setpoint is above 100C. Use this to control boil intensity.
  • The HERMS wizard can set up mutually exclusive heating elements that can share the total available time/power. You can use this to heat both your HLT and BK at the same time, even when this would normally blow your fuses!
  • The HERMS wizard will also set up a dynamic HLT setpoint to maintain mash temperature and minimize overshoot.
1 Like

Hi! Trying out the HERMS quick start. In the setup menu one has to set the HLT volume and presumable the MT volume. Text says 2x HLT volume.

Whoops. The second one should be mash volume.

Would “mash volume” be the total volume (water + grain) in the MT or just the amount of water (before adding grain)?

Total volume. The values are used for illustration, and to determine the MT kp (mash volume / hlt volume = kp).

It’s about the heat capacity. If you circulate long enough the heat will be distributed over the 2 kettles until you have the same temp.

So if your mash tun and hlt have equal volume, then you can heat the hlt to 1 degree above the desired mash temp for every degree the mash temp is too low. If your hlt water is only half the volume of the mash, you can use double the mash temp error.

That’s why Kp is mt/hlt volume.

I just found out we forgot to include some fixes in the release and I pushed an update.
If you already used the HERMS wizard, I recommend running it again to get the correct quick actions.

I’m sorry for the trouble.

2 Likes

Released an extra fix today which helps with overshoot in glycol setups that respond quickly even to very low PWM values.

All you have to do, to get the update is to run “Brewblox-ctl Update” right?

Yes. The services on the Pi will be immediately updated, and when you open the UI again, it will prompt you to update the firmware.

1 Like

After running this update, my Pi is now stuck with traefik “restarting”, everything else is “Up” and it’s had a reboot. Could I ask for any pointers, please?

(Is this the right place to post this?)

I managed to find some logs… The hilight is below:

traefik error: failed to decode configuration from flags: field not found, node: c

pi@BrewBlox:~/brewblox $ docker-compose logs -f
Attaching to brewblox_spark_1, brewblox_history_1, brewblox_eventbus_1, brewblox_traefik_1, brewblox_mdns_1, brewblox_influx_1, brewblox_datastore_1, brewblox_ui_1
spark_1      | 2019/09/18 15:50:11 INFO     brewblox_service.service        Creating [spark] application
spark_1      | 2019/09/18 15:50:11 INFO     __main__                        INI: firmware_version='4a67dd2a', firmware_date='2019-09-16 11:25:26 +0200', proto_version='54c9b94', proto_date='2019-09-12 15:47:51 +0200', system_version='1.2.1-rc.2'
spark_1      | 2019/09/18 15:50:11 INFO     __main__                        CONFIG: host='0.0.0.0', port='5000', output='None', name='spark', debug='False', eventbus_host='eventbus', eventbus_port='5672', simulation='False', device_host='None', device_port='8332', device_serial='None', device_id='None', discovery='all', list_devices='False', broadcast_exchange='brewcast', broadcast_interval='5', sync_exchange='syncast', mdns_host='172.17.0.1', mdns_port='5000', volatile='False', skip_version_check='False'
spark_1      | 2019/09/18 15:50:14 INFO     brewblox_service.service        Service info: 0.5.2-193-g2feef17 @ Mon Sep 16 09:44:00 UTC 2019
spark_1      | 2019/09/18 15:50:14 INFO     brewblox_service.events         Closing <EventListener for "eventbus">
spark_1      | 2019/09/18 15:50:14 INFO     ..._devcon_spark.communication  Starting device discovery, type=all
spark_1      | 2019/09/18 15:50:14 INFO     ..._devcon_spark.communication  Automatically detected ['/dev/ttyACM0', 'Photon - Photon Serial', 'USB VID:PID=2B04:C006 SER=1d003e001847353236343033 LOCATION=1-1.3:1.0']
spark_1      | 2019/09/18 15:50:14 INFO     ..._devcon_spark.communication  discovered usb /dev/ttyACM0
spark_1      | 2019/09/18 15:50:14 INFO     ...ox_devcon_spark.broadcaster  Starting Broadcaster
spark_1      | 2019/09/18 15:50:14 INFO     ...ox_devcon_spark.api.sse_api  Starting SSEPublisher
spark_1      | 2019/09/18 15:50:14 INFO     ..._devcon_spark.communication  Connected <SparkConduit for /dev/ttyACM0>
spark_1      | 2019/09/18 15:50:15 INFO     ...blox_devcon_spark.commander  HandshakeMessage(name='BREWBLOX', firmware_version='1710c022', proto_version='7a2a6a9', firmware_date='2019-08-20', proto_date='2019-07-15', system_version='1.2.1-rc.2', platform='photon', reset_reason_hex='46', reset_data_hex='00', reset_reason='UPDATE')
spark_1      | 2019/09/18 15:50:15 WARNING  py.warnings                     /usr/local/lib/python3.7/site-packages/brewblox_devcon_spark/status.py:101: UserWarning: Handshake failed: firmware incompatible
spark_1      |   warnings.warn('Handshake failed: firmware incompatible')
spark_1      |
spark_1      | 2019/09/18 15:50:15 ERROR    brewblox_devcon_spark.seeder    Incompatible firmware version detected
spark_1      | 2019/09/18 15:56:15 INFO     brewblox_service.events         Closing <EventListener for "eventbus">
history_1    | /usr/local/lib/python3.7/site-packages/aioinflux/compat.py:12: UserWarning: Pandas/Numpy is not available. Support for 'dataframe' mode is disabled.
eventbus_1   | 2019-09-18 15:51:03.046 [info] <0.8.0> Feature flags: list of feature flags found:
eventbus_1   | 2019-09-18 15:51:03.047 [info] <0.8.0> Feature flags: feature flag states written to disk: yes
eventbus_1   | 2019-09-18 15:51:03.157 [info] <0.223.0>
eventbus_1   |  Starting RabbitMQ 3.7.17 on Erlang 22.0.7
eventbus_1   |  Copyright (C) 2007-2019 Pivotal Software, Inc.
eventbus_1   |  Licensed under the MPL.  See https://www.rabbitmq.com/
eventbus_1   |
eventbus_1   |   ##  ##
history_1    |   warnings.warn(no_pandas_warning)
spark_1      | 2019/09/18 15:56:15 INFO     brewblox_service.events         Closing <EventPublisher for "eventbus">
eventbus_1   |   ##  ##      RabbitMQ 3.7.17. Copyright (C) 2007-2019 Pivotal Software, Inc.
eventbus_1   |   ##########  Licensed under the MPL.  See https://www.rabbitmq.com/
spark_1      | ======== Running on http://0.0.0.0:5000 ========
history_1    | 2019/09/18 15:49:58 INFO     brewblox_service.service        Creating [history] application
eventbus_1   |   ######  ##
history_1    | 2019/09/18 15:49:58 INFO     brewblox_service.events         Deferred event bus subscription: [<# @ brewcast>]
history_1    | 2019/09/18 15:50:00 INFO     brewblox_service.service        Service info: 0.9.0-34-gae61b31 @ Tue Sep  3 09:20:57 UTC 2019
eventbus_1   |   ##########  Logs: <stdout>
history_1    | 2019/09/18 15:50:00 INFO     brewblox_service.events         Closing <EventListener for "eventbus">
history_1    | 2019/09/18 15:50:00 INFO     brewblox_service.events         <EventListener for "eventbus"> now listening
eventbus_1   |
spark_1      | (Press CTRL+C to quit)
eventbus_1   |               Starting broker...
eventbus_1   | 2019-09-18 15:51:03.164 [info] <0.223.0>
spark_1      | 2019/09/18 16:00:17 INFO     brewblox_service.service        Creating [spark] application
eventbus_1   |  node           : rabbit@8de728814566
eventbus_1   |  home dir       : /var/lib/rabbitmq
eventbus_1   |  config file(s) : /etc/rabbitmq/rabbitmq.conf
eventbus_1   |  cookie hash    : Ce3ceML7yd7ACojmuWNziw==
eventbus_1   |  log(s)         : <stdout>
eventbus_1   |  database dir   : /var/lib/rabbitmq/mnesia/rabbit@8de728814566
eventbus_1   | 2019-09-18 15:51:03.252 [info] <0.223.0> Running boot step pre_boot defined by app rabbit
eventbus_1   | 2019-09-18 15:51:03.253 [info] <0.223.0> Running boot step rabbit_core_metrics defined by app rabbit
eventbus_1   | 2019-09-18 15:51:03.258 [info] <0.223.0> Running boot step rabbit_alarm defined by app rabbit
eventbus_1   | 2019-09-18 15:51:03.277 [warning] <0.229.0> You are using a 32-bit version of Erlang: you may run into memory address~nspace exhaustion or statistic counters overflow.~n
eventbus_1   | 2019-09-18 15:51:03.281 [info] <0.229.0> Memory high watermark set to 370 MiB (388425318 bytes) of 926 MiB (971063296 bytes) total
mdns_1       | 2019/09/18 15:49:41 INFO     brewblox_service.service        Creating [mdns] application
spark_1      | 2019/09/18 16:00:17 INFO     __main__                        INI: firmware_version='4a67dd2a', firmware_date='2019-09-16 11:25:26 +0200', proto_version='54c9b94', proto_date='2019-09-12 15:47:51 +0200', system_version='1.2.1-rc.2'
spark_1      | 2019/09/18 16:00:17 INFO     __main__                        CONFIG: host='0.0.0.0', port='5000', output='None', name='spark', debug='False', eventbus_host='eventbus', eventbus_port='5672', simulation='False', device_host='None', device_port='8332', device_serial='None', device_id='None', discovery='all', list_devices='False', broadcast_exchange='brewcast', broadcast_interval='5', sync_exchange='syncast', mdns_host='172.17.0.1', mdns_port='5000', volatile='False', skip_version_check='False'
traefik_1    | 2019/09/18 15:49:38 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 15:49:49 command traefik error: failed to decode configuration from flags: field not found, node: c
spark_1      | 2019/09/18 16:00:19 INFO     brewblox_service.service        Service info: 0.5.2-193-g2feef17 @ Mon Sep 16 09:44:00 UTC 2019
spark_1      | 2019/09/18 16:00:19 INFO     brewblox_service.events         Closing <EventListener for "eventbus">
datastore_1  | ****************************************************
mdns_1       | 2019/09/18 15:49:41 INFO     brewblox_service.service        Service info: 0.2.1-20-g61dc97f @ Tue Sep  3 09:21:26 UTC 2019
eventbus_1   | 2019-09-18 15:51:03.301 [info] <0.231.0> Enabling free disk space monitoring
history_1    | /usr/local/lib/python3.7/site-packages/brewblox_service/events.py:241: UserWarning: Connection error in <EventListener for "eventbus">: ConnectionRefusedError([Errno 111] Connect call failed ('172.20.0.6', 5672))
datastore_1  | WARNING: CouchDB is running in Admin Party mode.
datastore_1  |          This will allow anyone with access to the
eventbus_1   | 2019-09-18 15:51:03.301 [info] <0.231.0> Disk free limit set to 50MB
history_1    |   warnings.warn(f'Connection error in {self}: {strex(ex)}')
datastore_1  |          CouchDB port to access your database. In
datastore_1  |          Docker's default configuration, this is
spark_1      | 2019/09/18 16:00:19 INFO     ..._devcon_spark.communication  Starting device discovery, type=all
spark_1      | 2019/09/18 16:00:19 INFO     ..._devcon_spark.communication  Automatically detected ['/dev/ttyACM0', 'Photon - Photon Serial', 'USB VID:PID=2B04:C006 SER=1d003e001847353236343033 LOCATION=1-1.3:1.0']
eventbus_1   | 2019-09-18 15:51:03.317 [info] <0.223.0> Running boot step code_server_cache defined by app rabbit
datastore_1  |          effectively any other container on the same
history_1    | 2019/09/18 15:51:02 INFO     brewblox_history.influx         Connected <InfluxWriter brewblox>
history_1    | 2019/09/18 15:51:05 WARNING  aioamqp.protocol                only PLAIN login_method is supported, falling back to AMQPLAIN
history_1    | 2019/09/18 15:51:06 INFO     brewblox_service.events         Connected <EventListener for "eventbus">
eventbus_1   | 2019-09-18 15:51:03.318 [info] <0.223.0> Running boot step file_handle_cache defined by app rabbit
eventbus_1   | 2019-09-18 15:51:03.320 [info] <0.234.0> Limiting to approx 1048476 file handles (943626 sockets)
eventbus_1   | 2019-09-18 15:51:03.321 [info] <0.235.0> FHC read buffering:  OFF
eventbus_1   | 2019-09-18 15:51:03.321 [info] <0.235.0> FHC write buffering: ON
spark_1      | 2019/09/18 16:00:19 INFO     ..._devcon_spark.communication  discovered usb /dev/ttyACM0
datastore_1  |          system.
history_1    | 2019/09/18 15:51:06 INFO     brewblox_service.events         Declaring event bus subscription <# @ brewcast> on <aioamqp.channel.Channel object at 0x73ba6990>
mdns_1       | ======== Running on http://0.0.0.0:5000 ========
eventbus_1   | 2019-09-18 15:51:03.325 [info] <0.223.0> Running boot step worker_pool defined by app rabbit
traefik_1    | 2019/09/18 15:49:58 command traefik error: failed to decode configuration from flags: field not found, node: c
spark_1      | 2019/09/18 16:00:19 INFO     ...ox_devcon_spark.broadcaster  Starting Broadcaster
datastore_1  |          Use "-e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password"
mdns_1       | (Press CTRL+C to quit)
traefik_1    | 2019/09/18 15:50:07 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 15:50:16 command traefik error: failed to decode configuration from flags: field not found, node: c
datastore_1  |          to set it in "docker run".
spark_1      | 2019/09/18 16:00:19 INFO     ...ox_devcon_spark.api.sse_api  Starting SSEPublisher
traefik_1    | 2019/09/18 15:50:25 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 15:50:36 command traefik error: failed to decode configuration from flags: field not found, node: c
mdns_1       | 2019/09/18 16:00:01 INFO     brewblox_service.service        Creating [mdns] application
datastore_1  | ****************************************************
datastore_1  | [os_mon] cpu supervisor port (cpu_sup): Error writing to Erlang
datastore_1  | [os_mon] memory supervisor port (memsup): Erlang has closed
datastore_1  | ****************************************************
traefik_1    | 2019/09/18 15:50:51 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 15:51:11 command traefik error: failed to decode configuration from flags: field not found, node: c
spark_1      | 2019/09/18 16:00:19 INFO     ..._devcon_spark.communication  Connected <SparkConduit for /dev/ttyACM0>
traefik_1    | 2019/09/18 15:51:41 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 15:52:35 command traefik error: failed to decode configuration from flags: field not found, node: c
history_1    | 2019/09/18 15:56:15 INFO     brewblox_service.events         Cancelled <EventListener for "eventbus">
traefik_1    | 2019/09/18 15:53:38 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 15:54:41 command traefik error: failed to decode configuration from flags: field not found, node: c
spark_1      | 2019/09/18 16:00:20 INFO     ...blox_devcon_spark.commander  HandshakeMessage(name='BREWBLOX', firmware_version='1710c022', proto_version='7a2a6a9', firmware_date='2019-08-20', proto_date='2019-07-15', system_version='1.2.1-rc.2', platform='photon', reset_reason_hex='28', reset_data_hex='00', reset_reason='POWER_DOWN')
datastore_1  | WARNING: CouchDB is running in Admin Party mode.
traefik_1    | 2019/09/18 15:55:46 command traefik error: failed to decode configuration from flags: field not found, node: c
eventbus_1   | 2019-09-18 15:51:03.326 [info] <0.224.0> Will use 4 processes for default worker pool
spark_1      | 2019/09/18 16:00:20 WARNING  py.warnings                     /usr/local/lib/python3.7/site-packages/brewblox_devcon_spark/status.py:101: UserWarning: Handshake failed: firmware incompatible
datastore_1  |          This will allow anyone with access to the
history_1    | 2019/09/18 15:56:15 ERROR    aioamqp.protocol                error on dispatch
eventbus_1   | 2019-09-18 15:51:03.327 [info] <0.224.0> Starting worker pool 'worker_pool' with 4 processes in it
traefik_1    | 2019/09/18 16:00:04 command traefik error: failed to decode configuration from flags: field not found, node: c
spark_1      |   warnings.warn('Handshake failed: firmware incompatible')
datastore_1  |          CouchDB port to access your database. In
mdns_1       | 2019/09/18 16:00:02 INFO     brewblox_service.service        Service info: 0.2.1-20-g61dc97f @ Tue Sep  3 09:21:26 UTC 2019
history_1    | Traceback (most recent call last):
eventbus_1   | 2019-09-18 15:51:03.330 [info] <0.223.0> Running boot step database defined by app rabbit
eventbus_1   | 2019-09-18 15:51:03.332 [info] <0.223.0> Node database directory at /var/lib/rabbitmq/mnesia/rabbit@8de728814566 is empty. Assuming we need to join an existing cluster or initialise from scratch...
datastore_1  |          Docker's default configuration, this is
history_1    |   File "/usr/local/lib/python3.7/site-packages/aioamqp/protocol.py", line 315, in run
eventbus_1   | 2019-09-18 15:51:03.333 [info] <0.223.0> Configured peer discovery backend: rabbit_peer_discovery_classic_config
eventbus_1   | 2019-09-18 15:51:03.334 [info] <0.223.0> Will try to lock with peer discovery backend rabbit_peer_discovery_classic_config
spark_1      |
datastore_1  |          effectively any other container on the same
eventbus_1   | 2019-09-18 15:51:03.335 [info] <0.223.0> Peer discovery backend does not support locking, falling back to randomized delay
history_1    |     await self.dispatch_frame()
history_1    |   File "/usr/local/lib/python3.7/site-packages/aioamqp/protocol.py", line 263, in dispatch_frame
datastore_1  |          system.
datastore_1  |          Use "-e COUCHDB_USER=admin -e COUCHDB_PASSWORD=password"
traefik_1    | 2019/09/18 16:00:11 command traefik error: failed to decode configuration from flags: field not found, node: c
history_1    |     frame_channel, frame = await self.get_frame()
history_1    |   File "/usr/local/lib/python3.7/site-packages/aioamqp/protocol.py", line 250, in get_frame
eventbus_1   | 2019-09-18 15:51:03.336 [info] <0.223.0> Peer discovery backend rabbit_peer_discovery_classic_config does not support registration, skipping randomized startup delay.
eventbus_1   | 2019-09-18 15:51:03.336 [info] <0.223.0> All discovered existing cluster peers:
eventbus_1   | 2019-09-18 15:51:03.337 [info] <0.223.0> Discovered no peer nodes to cluster with
eventbus_1   | 2019-09-18 15:51:03.362 [info] <0.43.0> Application mnesia exited with reason: stopped
spark_1      | 2019/09/18 16:00:20 ERROR    brewblox_devcon_spark.seeder    Incompatible firmware version detected
datastore_1  |          to set it in "docker run".
history_1    |     return await amqp_frame.read(self._stream_reader)
eventbus_1   | 2019-09-18 15:51:04.140 [info] <0.223.0> Waiting for Mnesia tables for 30000 ms, 9 retries left
eventbus_1   | 2019-09-18 15:51:04.294 [info] <0.223.0> Waiting for Mnesia tables for 30000 ms, 9 retries left
datastore_1  | ****************************************************
datastore_1  | [os_mon] cpu supervisor port (cpu_sup): Error writing to Erlang
traefik_1    | 2019/09/18 16:00:18 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 16:00:25 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 16:00:35 command traefik error: failed to decode configuration from flags: field not found, node: c
history_1    |   File "/usr/local/lib/python3.7/site-packages/aioamqp/frame.py", line 78, in read
traefik_1    | 2019/09/18 16:00:43 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 16:00:56 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 16:01:08 command traefik error: failed to decode configuration from flags: field not found, node: c
history_1    |     data = await reader.readexactly(7)
traefik_1    | 2019/09/18 16:01:27 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 16:01:56 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 16:02:50 command traefik error: failed to decode configuration from flags: field not found, node: c
history_1    |   File "/usr/local/lib/python3.7/asyncio/streams.py", line 679, in readexactly
traefik_1    | 2019/09/18 16:03:52 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 16:04:55 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 16:05:57 command traefik error: failed to decode configuration from flags: field not found, node: c
eventbus_1   | 2019-09-18 15:51:04.502 [info] <0.223.0> Waiting for Mnesia tables for 30000 ms, 9 retries left
history_1    |     await self._wait_for_data('readexactly')
eventbus_1   | 2019-09-18 15:51:04.504 [info] <0.223.0> Peer discovery backend rabbit_peer_discovery_classic_config does not support registration, skipping registration.
traefik_1    | 2019/09/18 16:06:59 command traefik error: failed to decode configuration from flags: field not found, node: c
history_1    |   File "/usr/local/lib/python3.7/asyncio/streams.py", line 473, in _wait_for_data
eventbus_1   | 2019-09-18 15:51:04.505 [info] <0.223.0> Running boot step database_sync defined by app rabbit
eventbus_1   | 2019-09-18 15:51:04.506 [info] <0.223.0> Running boot step feature_flags defined by app rabbit
eventbus_1   | 2019-09-18 15:51:04.509 [info] <0.223.0> Running boot step codec_correctness_check defined by app rabbit
history_1    |     await self._waiter
eventbus_1   | 2019-09-18 15:51:04.509 [info] <0.223.0> Running boot step external_infrastructure defined by app rabbit
eventbus_1   | 2019-09-18 15:51:04.510 [info] <0.223.0> Running boot step rabbit_registry defined by app rabbit
eventbus_1   | 2019-09-18 15:51:04.512 [info] <0.223.0> Running boot step rabbit_auth_mechanism_cr_demo defined by app rabbit
history_1    | concurrent.futures._base.CancelledError
eventbus_1   | 2019-09-18 15:51:04.514 [info] <0.223.0> Running boot step rabbit_queue_location_random defined by app rabbit
eventbus_1   | 2019-09-18 15:51:04.516 [info] <0.223.0> Running boot step rabbit_event defined by app rabbit
eventbus_1   | 2019-09-18 15:51:04.517 [info] <0.223.0> Running boot step rabbit_auth_mechanism_amqplain defined by app rabbit
history_1    | 2019/09/18 15:56:16 INFO     brewblox_service.events         Closing <EventListener for "eventbus">
eventbus_1   | 2019-09-18 15:51:04.519 [info] <0.223.0> Running boot step rabbit_auth_mechanism_plain defined by app rabbit
eventbus_1   | 2019-09-18 15:51:04.520 [info] <0.223.0> Running boot step rabbit_exchange_type_direct defined by app rabbit
eventbus_1   | 2019-09-18 15:51:04.521 [info] <0.223.0> Running boot step rabbit_exchange_type_fanout defined by app rabbit
traefik_1    | 2019/09/18 16:08:02 command traefik error: failed to decode configuration from flags: field not found, node: c
history_1    | 2019/09/18 15:56:16 INFO     brewblox_service.events         Closing <EventPublisher for "eventbus">
traefik_1    | 2019/09/18 16:09:05 command traefik error: failed to decode configuration from flags: field not found, node: c
eventbus_1   | 2019-09-18 15:51:04.522 [info] <0.223.0> Running boot step rabbit_exchange_type_headers defined by app rabbit
history_1    | ======== Running on http://0.0.0.0:5000 ========
traefik_1    | 2019/09/18 16:10:07 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 16:11:10 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 16:12:12 command traefik error: failed to decode configuration from flags: field not found, node: c
history_1    | (Press CTRL+C to quit)
traefik_1    | 2019/09/18 16:13:15 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 16:14:17 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 16:15:20 command traefik error: failed to decode configuration from flags: field not found, node: c
history_1    | /usr/local/lib/python3.7/site-packages/aioinflux/compat.py:12: UserWarning: Pandas/Numpy is not available. Support for 'dataframe' mode is disabled.
traefik_1    | 2019/09/18 16:16:22 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 16:17:25 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 16:18:27 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 16:19:29 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 16:20:32 command traefik error: failed to decode configuration from flags: field not found, node: c
eventbus_1   | 2019-09-18 15:51:04.524 [info] <0.223.0> Running boot step rabbit_exchange_type_topic defined by app rabbit
eventbus_1   | 2019-09-18 15:51:04.524 [info] <0.223.0> Running boot step rabbit_mirror_queue_mode_all defined by app rabbit
eventbus_1   | 2019-09-18 15:51:04.525 [info] <0.223.0> Running boot step rabbit_mirror_queue_mode_exactly defined by app rabbit
eventbus_1   | 2019-09-18 15:51:04.527 [info] <0.223.0> Running boot step rabbit_mirror_queue_mode_nodes defined by app rabbit
eventbus_1   | 2019-09-18 15:51:04.528 [info] <0.223.0> Running boot step rabbit_priority_queue defined by app rabbit
eventbus_1   | 2019-09-18 15:51:04.528 [info] <0.223.0> Priority queues enabled, real BQ is rabbit_variable_queue
eventbus_1   | 2019-09-18 15:51:04.529 [info] <0.223.0> Running boot step rabbit_queue_location_client_local defined by app rabbit
eventbus_1   | 2019-09-18 15:51:04.530 [info] <0.223.0> Running boot step rabbit_queue_location_min_masters defined by app rabbit
eventbus_1   | 2019-09-18 15:51:04.531 [info] <0.223.0> Running boot step kernel_ready defined by app rabbit
eventbus_1   | 2019-09-18 15:51:04.531 [info] <0.223.0> Running boot step rabbit_sysmon_minder defined by app rabbit
eventbus_1   | 2019-09-18 15:51:04.532 [info] <0.223.0> Running boot step rabbit_epmd_monitor defined by app rabbit
traefik_1    | 2019/09/18 16:21:34 command traefik error: failed to decode configuration from flags: field not found, node: c
history_1    |   warnings.warn(no_pandas_warning)
eventbus_1   | 2019-09-18 15:51:04.546 [info] <0.223.0> Running boot step guid_generator defined by app rabbit
traefik_1    | 2019/09/18 16:22:37 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 16:23:39 command traefik error: failed to decode configuration from flags: field not found, node: c
history_1    | 2019/09/18 16:00:09 INFO     brewblox_service.service        Creating [history] application
traefik_1    | 2019/09/18 16:24:42 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 16:25:44 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 16:26:47 command traefik error: failed to decode configuration from flags: field not found, node: c
history_1    | 2019/09/18 16:00:09 INFO     brewblox_service.events         Deferred event bus subscription: [<# @ brewcast>]
traefik_1    | 2019/09/18 16:27:49 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 16:28:52 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 16:29:54 command traefik error: failed to decode configuration from flags: field not found, node: c
history_1    | 2019/09/18 16:00:11 INFO     brewblox_service.service        Service info: 0.9.0-34-gae61b31 @ Tue Sep  3 09:20:57 UTC 2019
traefik_1    | 2019/09/18 16:30:56 command traefik error: failed to decode configuration from flags: field not found, node: c
traefik_1    | 2019/09/18 16:31:59 command traefik error: failed to decode configuration from flags: field not found, node: c

Traefik is complaining about its configuration. Could you please run brewblox-ctl log, and post the results?

@Bob_Steers Am I being too literal to just type that command in? It fails to find it…

pi@BrewBlox:~/brewblox $ brewblox-ctl log
-bash: brewblox-ctl: command not found

installed it now using

sudo pip3 install -U brewblox-ctl

pi@BrewBlox:~/brewblox $ brewblox-ctl settings
Please run brewblox-ctl in the same directory as your docker-compose.yml file.
pi@BrewBlox:~/brewblox $ ls
brewblox-log.txt couchdb docker-compose.yml influxdb menu presets scripts traefik
pi@BrewBlox:~/brewblox $ brewblox-ctl log
No such command “log”.

How did you initially install brewblox on this system? What OS/version are you using? There was a bug a while ago where an ubunto OS failed to add /usr/bin to the path.

It’s a Pi3,

pi@BrewBlox:~/brewblox $ uname -a
Linux BrewBlox 4.19.42-v7+ #1219 SMP Tue May 14 21:20:58 BST 2019 armv7l GNU/Linux

path shows

PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/local/games:/usr/games

Ahh, I think I get it. This looks like an early version of brewblox.

Unless you’re using a very extensive setup, the quickest upgrade may be to move your brewblox dir to brewblox-old, and do a fresh install.

If you do have a lot of blocks, it’s probably still best to do a fresh install, and then I can help out with the migration.

Ah ok - I’ve been an early adopter, but I’ve been keeping up with the updates, did I miss some, or is that not how it works?

The setup isn’t extensive (one fridge, adding another) and I’m happy to start again. I’ll try to work out moving the existing install and starting again.

How did you update? Using docker-compose pull?

Since your install, we’ve made some big breaking changes to the management tooling (menu is an early PoC for how brewblox-ctl works). We also had some breaking changes in how databases are handled.