open-webui as an AI frontend to Ollama

Bug-Fix: The reason for the existence of this page is to cover an issue with open-webui 0.6.18 and it's bug when running on ARM64 architecture (Raspberry Pi 5 and friends). Error 132 appears as the docker container starts up, which apparently is an attempted execution of an illegal instruction.

Fixed in open-webui 0.6.22

This bug was introduced at some point in the pyarrow library or one of its depencies.
See: https://github.com/open-webui/open-webui/issues/15897
for a full discussion. The fix is shown below.

docker exec -it open-webui /bin/bash
pip install -U pyarrow==20.0.0
exit

Here the original container was loaded with /bin/bash running instead of the default CMD. The above python fix was added and then the whole container was committed to open-webui:0.6.18.1 where the only remaining issue was the container CMD then became /bin/bash. A new line was added to the Portainer stack script with:

    command: ["bash", "start.sh"]
#   image: registry:5000/backplane/open-webui:0.6.15
#   image: registry:5000/backplane/open-webui:0.6.16
#   image: registry:5000/backplane/open-webui:0.6.18
    image: registry:5000/backplane/open-webui:0.6.18.1

The open-webui is available on https://ai.electricbrain.au/ where an account is required to gain access. It's not public at this point in part because there isn't a nuclear reactor providing the electricity.