Prepare your machine for open balena
Follow the steps to use the correct
cgroup: https://open-balena-docs.balena.io/getting-started/#install-openbalena-on-the-server
Install open balena
- 
Unzip deployment-openbalena-installation-<version>.zip
- 
Load the docker containers: docker load -i deployment-openbalena-installation-images-master.tar.gz
- 
Move the open-balena folder to its destination: rsync -avh open-balena/ /opt/aivero/open-balena/ --exclude=".env"
- 
Clear out a potentially old config: echo "" > /opt/aivero/open-balena/.env
- 
Export the basic config for open balena: export DNS_TLD=openbalena.aivero.lan && \
 export ROOT_CA="$(cat /opt/aivero/ds/self-signed-certs/certs/rootCA.pem | openssl base64 -A)" && \
 export HAPROXY_KEY="$(cat /opt/aivero/ds/self-signed-certs/keys/cert-key.pem | openssl base64 -A)" && \
 export HAPROXY_CRT="$(cat /opt/aivero/ds/self-signed-certs/certs/cert.pem | openssl base64 -A)"
- 
Start the airgapped (ag) openbalena variant: (cd /opt/aivero/open-balena && make agup)
- 
Take note of the SUPERUSER_PASSWORDand export it to your profileecho 'export SUPERUSER_PASSWORD=<password from above>' >> ~/.bashrc
- 
Now export it for the current session (just needed this one time) source ~/.bashrc
Checklist
👍 Check these:
Check for any
(unhealthy)stati. This will change over time, when everything is good pressCtrl+c(cd /opt/aivero/open-balena && watch docker compose -f docker-compose-airgapped.yml ps)The minio will report
unhealthy. This is a know issue, but does not block anything.