Versionv0.3.2
Revision2
Size6.9 MB
Licenseunset
Confinementstrict
Basecore22
CategoriesDevices and IoT

Suite of network services for SysOTA


NetOTA provides a pair of utilities for working with SysOTA repositories.

The repository is stored in $SNAP_COMMON/repository, or /var/snap/netota/common/repository. Upon installation, a sample repository
with a single package and several streams is copied there for to illustrate
the data structures. The repository should be removed and replaced with a git
checkout. Updates to the repository should be performed by pulling changes.
This allows working with changes more easily, including reverting faulty
updates.

The systemd service snap.netota.netotad.service can be restarted to verify
changes to the repository and serve new content. Alternatively, the SIGHUP
signal may be sent to the service to achieve in-place replacement without
downtime. If the new repository is malformed, old repository is served and
an error is logged to the system journal.

The address at which NetOTA listens on is managed by the snap configuration
system. By default that is localhost and port 8000.

To use NetOTA without a reverse proxy you must set the IP to listen to to the
desired IP (or 0.0.0.0 to listen on all the interfaces). This can be done
with

 snap set netota address=...


Please make sure to include the port to listen on as well.

Update History

v0.3.2 (2)
13 Dec 2025, 09:47 UTC

Published27 Sept 2022, 21:21 UTC

Last updated28 Sept 2022, 06:17 UTC

First seen13 Dec 2025, 09:47 UTC