Symptoms
When you run ghe-upgrade to install an upgrade package, the command displays the following line and a progress bar.
*** verifying upgrade package signature...
After the progress bar reaches 100%, the command returns to the prompt without an error message. The upgrade does not start.
Less commonly, signature verification fails with the following error.
Error: The file provided is not a valid GitHub Enterprise Server package.
Your instance otherwise continues to work normally. The problem only appears when you install an upgrade.
Causes
GitHub rotated the GPG key used to sign GitHub Enterprise Server upgrade packages. New releases are signed only with the new key. If tu instancia de GitHub Enterprise Server still trusts only the previous key, it cannot verify these packages.
Confirming the problem
These symptoms can have other causes. To confirm the problem, check which signing key your instance trusts. Follow the steps in Verifying the current signing key.
The command in that section lists the keys in the keyring of the user who runs it. Run the command as the admin user and again with sudo. If you use high availability or clustering, check every node.
The new signing key has the fingerprint 33858AE8CAFFDEF0D37F80DD6BFE708AC5BA4808. If any of these keyrings doesn't contain this key, your instance is affected.
Resolving the problem
Rotate the signing key using the existing procedure. See Rotación de la clave de firma para los paquetes de actualización. Before you start, review its considerations for unsupported versions. Afterward, follow its guidance on what to expect after rotating the key.
Contacting Soporte de GitHub
Contact Soporte de GitHub rather than continuing if any of the following apply. For more information, see Crear un ticket de soporte.
- You need to revert a key rotation.
- The upgrade still fails after following the rotation article.
- You are unsure whether to rotate the key or how to follow the procedure.