Multiple chambers progress?

ls is showing that the folder pi exists within the directory /home. When you run cd /pi, you are asking to change directory into the absolute location /pi. i.e. a folder called pi in the root directory. That folder doesn’t exist. The command you want is cd pi which while change to the directory pi relative to your current directory. cd /home/pi would also work.

In your previous post, the brewblox directory doesn’t exist yet because the command to install it failed for the reason in my previous post :slight_smile:

pi@raspberrypi:~ $ cd /home/pi
pi@raspberrypi:~ $

pi@raspberrypi:/home $ cd /home
pi@raspberrypi:/home $ cd pi
pi@raspberrypi:~ $

That looks like it worked. Though you CD’d into your current directory, by the looks of it. You started in the home directory (short hand is ~ shown between : and $ at the line start) of the user pi which will be /home/pi. As a slight aside you can print the directory you’re currently in using the command pwd which stands for Print Working Directory.

i@raspberrypi:/home $ cd pi
pi@raspberrypi:~ $ pwd
/home/pi
pi@raspberrypi:~ $ ls
pi@raspberrypi:~ $ ls -l
total 0
pi@raspberrypi:~ $

Yep. You definitely haven’t got brewblox to install. At least not in your home directory.

Does the command I mentioned above work without errors for you?

If this command works, it will install docker. You can then continue installing brewblox. I think you can select no to trying to install docker when installing brewblox if you already have it installed.

pi@raspberrypi:~ $ sudo curl -sL get.docker.com | sed ‘s/9)/10)/’ | sh
-bash: syntax error near unexpected token `)’

Could you please run docker --version to check if docker has been installed correctly?
brewblox-ctl install also uses the sed replace workaround.

In the brewblox install and setup wizards, if it asks you something, and has a value within square brackets, that is the default. When it asks for the install directory, just press enter.

How about sudo curl -sL get.docker.com | sh

They may have fixed it properly upstream

pi@raspberrypi:~ $ docker --version
-bash: docker: command not found

pi@raspberrypi:~ $ sudo curl -sL get.docker.com | sh

Executing docker install script, commit: 6bf300318ebaab958c4adc341a8c7bb9f3a54a1a

  • sudo -E sh -c apt-get update -qq >/dev/null
  • sudo -E sh -c apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
  • sudo -E sh -c curl -fsSL “https://download.docker.com/linux/raspbian/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/raspbian buster 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
    pi@raspberrypi:~ $
    pi@raspberrypi:~ $ pwd
    /home/pi
    pi@raspberrypi:~ $

Not sure if being in /home/pi is an issue.

BTW Thanks for all the help and support. I really want to get this up and running.
Mike

Current directory does not matter for running the docker script.

It looks like Docker still hasn’t completely fixed their stuff. I’ll have a look how to work around that.

Thank you, standing by.

Try running export CHANNEL="nightly"; sudo curl -sL get.docker.com | sh

This should work around them not having published the correct version yet.
May want to check back with us in a week or two to change this setting.

pi@raspberrypi:~ $ export CHANNEL=“nightly”; sudo curl -sL get.docker.com | sh

Executing docker install script, commit: 6bf300318ebaab958c4adc341a8c7bb9f3a54a1a

  • sudo -E sh -c apt-get update -qq >/dev/null
  • sudo -E sh -c apt-get install -y -qq apt-transport-https ca-certificates curl >/dev/null
  • sudo -E sh -c curl -fsSL “https://download.docker.com/linux/raspbian/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/raspbian buster nightly” > /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
  • sudo -E sh -c docker version
    Client: Docker Engine - Community
    Version: 0.0.0-20190717011415-0cd65b8
    API version: 1.40
    Go version: go1.12.6
    Git commit: 0cd65b8
    Built: Wed Jul 17 07:44:33 2019
    OS/Arch: linux/arm
    Experimental: false

Server: Docker Engine - Community
Engine:
Version: 0.0.0-20190717011415-0cd65b8
API version: 1.41 (minimum version 1.12)
Go version: go1.12.6
Git commit: 0cd65b8
Built: Wed Jul 17 07:38:23 2019
OS/Arch: linux/arm
Experimental: false
containerd:
Version: 1.2.6
GitCommit: 894b81a4b802e4eb2a91d1ce216b8817763c29fb
runc:
Version: 1.0.0-rc8
GitCommit: 425e105d5a03fabd737a126ad93d62a9eeede87f
docker-init:
Version: 0.18.0
GitCommit: fec3683
If you would like to use Docker as a non-root user, you should now consider
adding your user to the “docker” group with something like:

sudo usermod -aG docker pi

Remember that you will have to log out and back in for this to take effect!

WARNING: Adding a user to the “docker” group will grant the ability to run
containers which can be used to obtain root privileges on the
docker host.
Refer to https://docs.docker.com/engine/security/security/#docker-daemon-attack-surface
for more information.
pi@raspberrypi:~ $

General note: when pasting output, put it between triple backticks for better formatting (and make it scrollable if it’s long).

More specific: it seems the docker install went ok. Now run sudo usermod -aG docker pi to add yourself to the docker group, reboot your Pi, and then run brewblox-ctl install.

triple backtick is <<<?

pi@raspberrypi:~ $ brewblox-ctl install.
Usage: brewblox-ctl [OPTIONS] COMMAND [ARGS]…
Try “brewblox-ctl --help” for help.

Error: No such command “install.”.
pi@raspberrypi:~ $

Under the esc button, together with the tilde (~).
Don’t copy the . after install.

backtick -> `

Thanks, looks like brewblox installed and I now have its directory.