Deploy the Balena fleets/apps
Prior Checklist
Check before you start:
Ensure this returns
SSL certification successful
sudo openssl s_client -connect openbalena.aivero.lan:443 -CApath /etc/ssl/certs < /dev/null 2>/dev/null | grep -q "Verify return code: 0 (ok)" && echo "SSL certificate verification successful." || (echo "SSL certificate verification failed.")
Ensure this does not print any red errors and shows
Successfully logged in as: admin
sudo balena login --credentials --email [email protected] --password $SUPERUSER_PASSWORD
Deploy the open balena fleets
Replace the <fleet_name> and in all commands below with the actual version of the downloaded file.
e.g.
deployment-balena-fleet-linux-armv8-rpi-pi3-master.zip
- Extract the open balena fleet deployment you want to deploy:
unzip deployment-balena-fleet-<fleet_name>-<version>.zip
- Run the deployment
(cd deployment-balena-fleet-<fleet_name>-<version> && ./openbalena-deploy-fleet.sh -c /opt/aivero/ds/self-signed-certs/root/ca.crt -b openbalena.aivero.lan -u [email protected] -p $SUPERUSER_PASSWORD )
- This will drop you in the balena fleet overview where you can see the device status. You can leave this by pressing
Ctrl+C
If you don't want to monitor the progress automatically please add the--no-watch
flag to the command. For more options use the./openbalena-deploy-fleet.sh --help
flag.
Checklist
Check these:
- Check that your fleet shows up:
balena fleets
- Check that your fleet has a release with the right created date
balena releases <fleet_name>
Updated 4 months ago