Network and updates
Automatic update
7 min read
Versora keeps itself up to date. It asks the product's website whether there's a new version, downloads it in the background, checks the package signature and gets the installation ready. You choose when to install: now, by restarting the app, or when you close Versora.
Nothing is installed without a check: only a package signed with Versora's key and made for the version the website announced is accepted. Any other file is discarded.
- 1 minute after opening the app;
- then, every 4 hours, with the app open;
- 30 minutes after a failure, for example when you're off the VPN.
The check is done on the https://versora.mck2.com.br website, through the same proxy as
Preferences › Network, including the proxy username and password stored in the vault.
- With the automatic check on, Versora finds a new version and downloads the package in the background. You can keep working.
- When the download finishes and the signature checks out, the Versora 1.1.1 is ready notice appears, with "It will be installed when you close Versora."
- Choose:
- Restart now: the installer runs without questions, with just the progress bar, and opens Versora again;
- Later: the notice goes away, and the new version is installed when you close Versora.
- To read what's new before deciding, click What's new in the notice. Hide what's new collapses the text.
If there's a git command in progress (a fetch, a rebase…), Versora doesn't interrupt it. The notice shows "Waiting for this to finish: a git command in progress" and a Cancel button. As soon as the command finishes, the installer opens, Versora closes, the new version is installed and the app opens again.
Nothing changes while you work. When you close Versora, the installer runs and installs the new version, but doesn't reopen the app. The next time you open it, it's already the new version.
The update keeps the mode Versora was installed in (see "Just for you or for all users" in Install Versora):
- Installed just for you: the update installs without asking for administrator rights.
- Installed for all users: Windows asks for administrator permission (UAC) on every update, on
Restart now and when you close the app.
- If you decline the prompt, nothing is installed and Versora stays on the current version. Preferences › Updates warns: "The administrator prompt to install ‹version› was declined. When you close the app, Versora won't ask again for this version; use "Restart now" when you can approve it." A newer version that arrives later asks again.
- On an account that can't approve as an administrator, Versora doesn't even try to install, not even on close. The notice says: "This Versora was installed for all users, and this account can't approve as an administrator: the update isn't installed from here. Ask an administrator to update it."
There's no way to go back to an earlier version from the app. If a new version has a problem, the way forward is the next fixed version. Talk to support and send the diagnostics.
The page shows the installed version, the update status and what's new, and lets you turn the automatic check on or off.
- Menu: Preferences › Updates
- Palette (Ctrl+P): "Update preferences"
Version:
| Field | What it shows |
|---|---|
| Installed version | The version that's running, for example "Versora 1.1.0". |
| Installation | "just for you" or "for all users of this computer". It doesn't appear on a copy of Versora that didn't come from the installer. |
| Last check | Date and time of the last query, or "Not checked yet in this session". |
| Next automatic check | When the next query will be (only with the automatic check on). |
| Connection | "through the proxy … (Preferences › Network)" or "direct, no proxy". |
Below it is the update status, with the buttons that make sense at the moment:
| Status | Buttons |
|---|---|
| "Checking…" | — |
| "Downloading Versora 1.1.1… 45%", with the progress bar | — |
| "Versora 1.1.1 is ready to install." and the hint "It will be installed when you close Versora. To install it now, use Restart now: the installer runs by itself and opens Versora again." | Restart now, Check now |
| "Versora 1.1.1 is available." | Download (when the download isn't automatic), Check now |
| "You're on the latest version (1.1.1)." | Check now |
| "Not checked yet in this session." | Check now |
| An error message | Details / Hide details, Check now |
In the installation for all users, a notice below the status talks about the administrator prompt:
| Notice | When |
|---|---|
| "All-users installation: when updating, Windows asks for administrator permission. If it's declined, nothing is installed and Versora tells you here." | Always, as a reminder. |
| "The administrator prompt to install ‹version› was declined. …" | UAC was declined for the ready version. |
| "This Versora was installed for all users, and this account can't approve as an administrator: the update isn't installed from here. Ask an administrator to update it." | The account has no way to become administrator. |
Automatic check:
| Option | What it does | Default |
|---|---|---|
| Check automatically | "1 minute after opening Versora and every 4 hours. The new version is downloaded in the background and installed when you restart or close the app." When off, Versora only looks when you ask. | On |
What's new in ‹version›: the notes of the version found, with "Published on …". The notes come in the interface language when the version includes the translation. With no notes, "This version has no notes." appears.
- Open Preferences › Updates, or use the palette: "Check for updates".
- Click Check now. The status changes to "Checking…".
- If there's a new version, the download starts on its own (or Download appears, if your company asked for the download not to be automatic).
- With the version ready, click Restart now, or use the palette: "Restart and install the update".
- "Couldn't connect to the update site. Check the network, the VPN and the proxy in Preferences › Network.": no network path to the site. Versora tries again in 30 minutes.
- "The update site didn't respond in time." and "The connection to the update site failed.": a temporary network failure; try Check now later.
- "The package download failed.": the Download button tries again.
- "The update site sent an unexpected response (or the proxy refused the request). Try again later.": it's often the proxy blocking the site. See Proxy.
- "The package signature doesn't match the Versora key. The file was discarded and nothing was installed.": the package isn't authentic or was altered along the way. Nothing was installed and there's nothing to retry; tell support.
- "The package was signed for version …, but the site announced …. The file was discarded and nothing was installed." and "The package signature doesn't say which version it was made for. The file was discarded and nothing was installed.": protection against a package from another version. Tell support.
- "The downloaded file isn't a Versora installer.": the file was discarded.
- "Couldn't write the installer to the temporary folder.": there's no space or permission in the Windows temporary folder.
- "There's no update ready to install." and "No update ready": there's no downloaded version; use Check now.
- "The update checker is still starting. Try again in a few seconds.": the app has just opened.
- "Updating this all-users installation needs administrator permission, and the Windows prompt was declined. Nothing was installed; when you close the app, Versora won't ask again for this version. Use "Restart now" when you can approve it.": the administrator prompt (UAC) was declined. Click Restart now when you can approve it.
- "This Versora was installed for all users, and this account can't approve as an administrator. Ask an administrator to update it (or to install the new version).": this account can't update an installation for all users. Ask an administrator.
- "This Versora build doesn't look for updates by itself.": the copy in use has no update address configured (for example, a test build). Install the version from the website.
Tip
The automatic update doesn't ask the File Explorer questions: whoever declined the "Open with Versora" item, the file submenu or the status icons during installation isn't asked again, and the items that already exist are rewritten in the installer's language. To turn the item on later, see File Explorer.
The company can decide how the update works, through the policy's updates key. In that case, the
page shows Set by your company with what applies and the source (for example "Source:
computer policy (HKLM)"):
| Policy value | What you see |
|---|---|
off | "Automatic updates are off: Versora doesn't look for new versions." The status says "Automatic updates were turned off by your company.", the Check automatically switch is off and locked, and Check now is disabled. |
stable | "Only the Stable channel." |
notify | "Versora tells you about the new version but downloads it only when you ask." The automatic check hint changes to "1 minute after opening Versora and every 4 hours. Your company decided that the new version is downloaded only when you ask." The notice becomes Versora 1.1.1 is available, with "Download it when you want: your company asked for updates not to download by themselves." and the Download button, which shows "Downloading… N%". |
For IT
The update site is outside the allowed_servers list. To prevent updates on a machine, use updates: off. See Policy keys and Deployment.