Help · Troubleshooting

Troubleshooting updates

What to do when System → Updates says "Couldn't check", the updater isn't running, the registry refused the server's sign-in, or an update didn't finish.

Last updated

Find the message you see on System → Updates (or from sudo mygration update), then follow the steps under it. When an update fails, nothing is changed: the server carries on with the version it ran.

For updating in the first place, see Updating Mygration.

Tip

sudo mygration doctor checks most of what an update needs, under Updates and Registry, and says what to fix. sudo mygration logs updater shows what the updater did.

"The updater isn't running" #

You see: New releases aren't looked for on this server: the updater isn't running, or Last checked …, before the updater stopped, and no Update now button. From the server: The updater isn't running, so updates can't be installed.

  1. On the server, start it:

    sudo mygration start updater
  2. Reload System → Updates. Within a minute it shows Check now again.

If it stops again, sudo mygration logs updater says why. You can still update with the installer: sudo bash install.sh --upgrade.

"Couldn't check": the license was refused #

You see: Couldn't check: registry.mygration.cloud refused the server's sign-in: the license is missing, expired or revoked. Or, from the installer or the command line, denied or unauthorized.

The server downloads new versions with its license key.

  1. Open System → License. If it isn't Licensed, enter your current key under Change license key. See Licensing and activation.
  2. Click Check now on System → Updates.

If the license is fine, run sudo mygration doctor: under Registry it says whether the key in the server's settings signs in.

"Couldn't reach the image registry" #

You see: Couldn't check: Couldn't reach the image registry: …

The server can't reach the internet address new versions come from.

  1. Check the server's firewall and proxy allow outbound HTTPS to registry.mygration.cloud and *.sigstore.dev. The full list is in Getting started.
  2. Run sudo mygration doctor to see what it can and can't reach.
  3. Click Check now.

"Isn't signed by Mygration's release workflow" #

You see: The newest release (…) isn't signed by Mygration's release workflow, so it isn't offered.

Each new version is checked before it's offered. Usually the server can't reach *.sigstore.dev to do the check: allow outbound HTTPS to it, then click Check now. sudo mygration logs updater has the full reason. Nothing was changed.

"Is older than the … running" #

You see: … is older than the … running, so nothing was changed.

An update was asked for an older version. To go back on purpose, roll back from the server: see Rolling back to an earlier version.

"The last update didn't finish" #

You see: The last update didn't finish on System → Updates, with a reason. Or The update failed: … from sudo mygration update.

The reason says what stopped it, and where it says to run something on the server, do that. The usual ones:

The reason starts What to do
The backup before the update failed Fix the backup first: see Backups failing or late. Then update again.
… wasn't installed or Couldn't download … Usually the connection or the license: check as in the sections above, then update again.
The deploy files for … couldn't be refreshed Run sudo mygration doctor, fix what it reports, then sudo mygration update.
Starting … failed Run sudo mygration logs panel to see why, then sudo mygration update with the version again.
Starting …'s workers failed Run sudo mygration start.

If the same update keeps failing, collect a support bundle and send it to whoever helps you.

Workers on other servers run another version #

You see: Workers on other servers run another version (…) on System → Updates, or a worker's version marked on Workers → Overview.

Workers at customer sites don't update with the panel. Update each one on its server: see Updating Mygration.

A file changed on the server #

You see: under Deploy files after an update, … was changed on this server, so the new one was saved as ….new: compare and merge.

You (or someone) changed that file in the install folder, so the update left your copy. Compare the two, copy across what you need from the .new file, then run sudo mygration start. Your settings file (.env) is never changed by an update.