Skip to main content

Updating

Standard Update

cd /path/to/zs-iot
git pull origin main
npm install
npm run migrate
pm2 restart zs-iot

Rollback

If an update causes issues:

git log --oneline -5 # Find the previous working commit
git checkout <commit-hash> # Roll back
npm install
pm2 restart zs-iot

OTA Updates

For fleet deployments, SpaceOS supports over-the-air updates via the remote management system. Contact your ZenSpace representative for OTA setup.

Next Steps

  • Security — Hardening and secret management