Upgrade or Downgrade
Upgrade GateKeeper
As a prerequisite to upgrading your version of Blackwall's GateKeeper, you must have Debian (version 12) installed cleanly on your system. Upgrade to Debian version 12 if you are currently on version 11. Then you must add the default recommended Blackwall GateKeeper Debian repository and install packages, as described in the following steps:
Need to install from the Early Access / Test repository?
For step-by-step instructions on this type of installation, see the FAQ entry How do I get Beta / Early-Access to GateKeeper?
-
Import the Blackwall package digital signature key by executing the following two commands:
-
Add the Blackwall production repository to your system repositories by executing this command:
3. Install the latest version of Blackwall's GateKeeper v1.6.X by executing the following two commands in sequence: -
Reboot your server to apply the changes to your operating system.
Downgrade GateKeeper to a Earlier Version
In some cases, you may need to roll back GateKeeper following an upgrade to version 1.6.X from an earlier version. For example, you may need to perform a rollback if you experience an installation issue, compatibility issue, or bug after upgrading. This procedure rolls back the GateKeeper packages from version 1.6 to 1.5.3-4.
Warning
Only perform a rollback if advised by Blackwall Support, or if you need to restore service after an upgrade issue. If you are unsure whether rollback is required, contact Blackwall Support before continuing.
Prerequisites
Before rolling back to a previous version, confirm that:
- The Blackwall GateKeeper repository is already configured.
- You have
sudoor root access to the server. - You have confirmed that version
1.5.3-4is available from the configured repository. - You have recorded any relevant error messages, logs, or symptoms from the failed upgrade (important).
Note
The rollback command uses --allow-downgrades because the package manager normally prevents older package versions from replacing newer installed versions.
Downgrading
To downgrade from version 1.6 to 1.5.3-4, perform the following steps:
-
Update the local package list so that the server has the latest repository metadata:
2. Run the following command to downgrade the GateKeeper packages to version1.5.3-4: -
Review the package changes when prompted, then confirm the installation.
-
If short-term service downtime is not problematic, we recommend performing a reboot of your server to ensure that all services and operating system changes are applied correctly:
-
After the server has restarted, verify that the GateKeeper packages were downgraded successfully. Run the following command and then confirm that the relevant packages show version
1.5.3-4. -
Check that all GateKeeper services are running correctly:
Troubleshooting
If the rollback does not complete successfully:
-
Confirm that version
1.5.3-4is available from the repository: -
Check for package dependency errors in the terminal output.
-
Review the service logs for any failed services:
-
Contact Blackwall Support and provide:
- The installed GateKeeper version before rollback.
- The rollback command output.
- Any package dependency errors.
- Relevant service logs.
- The affected domain or Zone.
- Any relevant error messages, logs, or symptoms from the failed upgrade (important).