Installing Brewblox on Ubuntu 20.04 on Raspberry Pi

@Bob_Steers, Is Brewblox supported and possible to run Brewblox on a RasPi on Ubuntu 20.04.

I have gotten to the point of

Brewblox-ctrl setup but get the following errors.


ERROR: for history  no matching manifest for linux/arm64/v8 in the manifest list entries

ERROR: for mdns  no matching manifest for linux/arm64/v8 in the manifest list entries

ERROR: for datastore  no matching manifest for linux/arm64/v8 in the manifest list entries

ERROR: for ui  no matching manifest for linux/arm64/v8 in the manifest list entries

ERROR: for emitter  no matching manifest for linux/arm64/v8 in the manifest list entries
ERROR: no matching manifest for linux/arm64/v8 in the manifest list entries
Command 'docker-compose pull' returned non-zero exit status 1```

You’re using the 64 bit version of ubuntu (linux/arm64/v8). We currently only build for linux/amd64 and linux/arm/v7 (32 bit).

I just ran a quick test, and it seems like our build tooling can generate linux/arm64 images. A bigger problem is that I see “datastore” in your list of errors. That’s an external dependency, and not built by us.

For now I recommend switching to the 32 bit version of ubuntu 20.04 for raspberry. That should work out of the box.

ARM64 support is certainly on the horizon, but neither we nor Raspbian are quite there yet.

1 Like

Thanks @Bob_Steers, I’ll install 32bit…

Good Day,

I am trying to install brewblox on to a RPi4 with ubuntu download from the Rasperry pi site.
All has gone well until I come to install Brewblox.
The installation stalls at a point where docker is being installed with the following error
“E: Package ‘docker-ce’ has no installation candidate
Command ‘curl -sL get.docker.com | sh’ returned non-zero exit status 100”
Grateful for any pointers

cheers

Are you running the 32 or 64 bit version? (The 64 bit version is not supported)

Could you also please post the preceding output? It should mention somewhere in there which version it was trying to install.

Sorry for the delay in getting back. I just had to be sure that I had not been silly and made a mistake.

I downloaded the 32bit version of 20.04 from the RPi org site. Followed the instruction from the Brewblox getting started ran the command brewblox-ctl install: then I got the same result when the script tried to install docker

"INFO Installing docker…

Executing docker install script, commit: 26ff363bcf3b3f5a00498ac43694bf1c7d9ce16c

  • sudo -E sh -c apt-get update -qq >/dev/null
  • sudo -E sh -c DEBIAN_FRONTEND=noninteractive apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
  • sudo -E sh -c curl -fsSL “https://download.docker.com/linux/ubuntu/gpg” | apt-key add -qq - >/dev/null
    Warning: apt-key output should not be parsed (stdout is not a terminal)
  • sudo -E sh -c echo “deb [arch=armhf] https://download.docker.com/linux/ubuntu focal stable” > /etc/apt/sources.list.d/docker.list
  • sudo -E sh -c apt-get update -qq >/dev/null
  • [ -n ]
  • sudo -E sh -c apt-get install -y -qq --no-install-recommends docker-ce >/dev/null
    E: Package ‘docker-ce’ has no installation candidate
    Command ‘curl -sL get.docker.com | sh’ returned non-zero exit status 100"

Does this provide you with the info to explain the exit code?

Cheers

https://github.com/docker/for-linux/issues/1035 suggests Docker is (again) dropping the ball.

According to the linked issue, you can fix this by running:

sudo nano /etc/apt/sources.list.d/docker.list

This opens an editor. Copy the following in there (replace existing content):

deb [arch=armhf] https://download.docker.com/linux/ubuntu eoan stable

Press Ctrl-X and then Enter to save and exit.

Then run:

sudo apt-get update
sudo apt-get install -y -qq --no-install-recommends docker-ce

If this didn’t raise new errors, you can check whether it installed ok by running

docker version

Afterwards, re-run brewblox-ctl install. It will detect that docker is already installed, and skip that step.

Good news,
Installation proceeded without a hitch this time.

Maybe i should have googled the cause and would have found the post in your first line - must try harder.

Many thanks for the quick response and support.

quick question, can you add tilt service to a simulate spark ? If this is the wrong place to ask please ignore.

Cheers

Me interpreting a google result is dependent on that I’m familiar with details of apt-get behavior, previous Docker issues, and how Docker interacts with Linux OS flavors. I wouldn’t worry about that =)

Spark and Tilts are completely independent: you can show Tilt data in a graph without any kind of Spark, simulated or real.