Updates
Versions
Section titled “Versions”Porto follows Semantic Versioning: MAJOR.MINOR.PATCH. Before 1.0.0 a minor version may
contain breaking changes; from 1.0.0 a breaking change of the REST API, of the configuration or of the migration path
needs a new major version. What changed in each version is in the
CHANGELOG and in the GitHub release notes.
The ghcr.io/coste360/porto image has the tags X.Y.Z, X.Y, X (from 1.0.0) and latest (stable releases only).
With PORTO_VERSION=X.Y you receive fixes without changing minor version.
Updating with Docker
Section titled “Updating with Docker”docker compose -f deploy/docker-compose.yml exec porto /porto backup --out /data/before-update.porto-backupdocker compose -f deploy/docker-compose.yml pulldocker compose -f deploy/docker-compose.yml up -dMigrations run on start. With PORTO_AUTO_MIGRATE=false the server does not start until you run porto migrate up.
Read the CHANGELOG before every update.
Updating from source
Section titled “Updating from source”bin/porto backup --out before-update.porto-backupgit pull && make build# restart the serviceGoing back
Section titled “Going back”Migrations only move forward. If an update goes wrong, bring back the previous version and restore the backup taken
before the update with porto restore --force.
Desktop app
Section titled “Desktop app”The desktop app checks once a day whether a newer version exists and shows a notice: it never downloads or installs
anything. The request carries no marina data, only version and operating system; turn it off on first start, in the
app settings or with PORTO_UPDATE_CHECK=false. To update, download and install the new package: the data folder
stays where it is.
Porto is developed by Coste360 SRL. Source available under the BSL 1.1; the Porto trademark is not covered by the licence.