Documentation Index
Fetch the complete documentation index at: https://tyk.io/docs/llms.txt
Use this file to discover all available pages before exploring further.
| Edition | Deployment Type |
|---|---|
| Enterprise | Self-Managed, Hybrid, Cloud |
Before You Upgrade
Complete the following steps before starting the upgrade:- Review the release notes for every version between your current version and the target version. Pay particular attention to the “Breaking Changes” section. See Portal Release Notes.
- Back up your database. The Portal stores its configuration and Product, Plan, and Developer data in the database. Use the native backup utility for your database engine (PostgreSQL, MySQL, or MariaDB).
- Back up your theme files. If you have a custom theme, export it from the Admin Portal or copy the theme directory before upgrading. See Upgrade Your Theme.
- Note your current Portal version. You can find this in the Admin Portal under the account settings, or by checking the running container image tag.
Upgrade Procedure
Tyk Cloud
On Tyk Cloud, the Developer Portal upgrade is managed through the Tyk Cloud Console. You do not run Docker or Kubernetes commands directly.- Open the Tyk Cloud Console and navigate to your deployment settings.
- Select the target Portal version from the version dropdown.
- Apply the update. Tyk Cloud orchestrates the rolling upgrade of the underlying infrastructure on your behalf. Database migrations run automatically during this process. After the upgrade completes, proceed to Post-Upgrade Verification.
Docker
Docker Run
-
Stop and remove the running Portal container.
-
Pull the new Portal image. Replace
<NEW_VERSION>with the target version, for examplev1.17.1. You can browse all available versions on Docker Hub. -
Start the Portal container using the new image. Use the same
docker runcommand from your initial installation, updating only the image tag. The Portal applies any required database migrations automatically on startup. -
Verify the Portal has started successfully. Confirm there are no startup errors before proceeding to post-upgrade verification.
Docker Compose
-
Update the Portal image tag in your
docker-compose.yamlfile: -
Pull the new image and restart the Portal container.
-
Verify the Portal has started successfully.
Kubernetes
Developer Portal Helm Chart (tyk-dev-portal)
-
Update the Portal image tag in your
values.yaml: -
Run the Helm upgrade.
If the Portal is deployed as part of the full Tyk Stack chart, update
global.components.devPortal.image.tagand run: -
Watch the rollout.
-
Check the logs for startup errors.
If the Portal pod restarts before startup completes, particularly after a theme upgrade, increase the
initialDelaySeconds value in your readiness and liveness probe configuration to at least 60 seconds.A smaller value may cause Kubernetes to mark the pod as unhealthy and restart it before the application has finished initializing.Linux
Red Hat / CentOS
-
Download the new Portal RPM package from packagecloud.io. Replace
<VERSION>with the target version. -
Upgrade the installed package.
-
Review the Portal configuration file at
/opt/portal/portal.conf. Consult the release notes for any changes to configuration options required by the new version. -
Restart the Portal service.
-
Check the service status.
Ubuntu / Debian
-
Download the new Portal DEB package from packagecloud.io. Replace
<VERSION>with the target version. -
Install the new package.
dpkg -ireplaces the existing installation. -
Review the Portal configuration file at
/opt/portal/portal.conf. Consult the release notes for any changes to configuration options required by the new version. -
Restart the Portal service.
-
Check the service status.
Upgrade Your Theme
To prevent from accidentally overwriting your customizations, the Developer Portal does not automatically update the default theme when the Portal is upgraded. After every Portal upgrade, you must check whether the new version includes theme changes and merge them into your custom theme. See Upgrading Themes for the full procedure.Post-Upgrade Verification
After the Portal has started, confirm the following before directing traffic to the upgraded instance:- Admin Portal is accessible. Log in at
http://<your-portal-host>:<port>/portal-admin.
- Provider sync is working. Navigate to Providers in the Admin Portal and confirm your Providers show a healthy sync status. If sync fails after upgrade, check whether any policies in Tyk Dashboard reference API IDs that no longer exist. A stale policy referencing a deleted API will abort the entire sync. Delete or correct the affected policy and re-trigger sync. See also Troubleshooting > Upgrade Failures.
- Consumer login works. Open the Live Portal and verify that existing API Consumer users can log in.
- API Catalog is visible. Confirm that published API Products are visible to users on the Live Portal.
- Theme renders correctly. Check the Live Portal for visual regressions or template errors in the browser console.
-
Review the Portal logs. Look for any
ERRORorWARNmessages that indicate a migration or configuration issue.
Rollback Procedure
If the upgrade causes issues that you cannot resolve, roll back to the previous version using the steps below.Docker
-
Stop and remove the upgraded container.
- Restore the database from the backup you took before the upgrade.
-
Start the Portal using the previous image tag.
Kubernetes
- Restore the database from the backup you took before the upgrade.
-
Roll back the Helm release. First, list available revisions:
Then roll back to the previous revision:To roll back to a specific revision number:
Linux
- Restore the database from the backup taken before the upgrade.
-
Downgrade the package to the previous version.
On Ubuntu / Debian:
On Red Hat / CentOS:
-
Restart the Portal service.