SOLFIND
Web Lens
Portal home

Upgrade and Migration Errors | Appsmith

https://docs.appsmith.com/help-and-support/troubleshooting-guide/upgrade-migration-errors • 56 KB fetched
Open original page


Upgrade and Migration Errors | Appsmith

Skip to main content

Ask AI
Search

Ask Appsmith AI Submit message

Examples How do I install Appsmith using Docker? How do I connect to my local PostgreSQL database? How do I pass inputs from a widget to a query? How do I trigger multiple queries conditionally? How do I fix the error: This value does not evaluate to type Array<Object>?

Search

Try Appsmith

* Get Started

* Introduction

* Build Your First App

* Self Hosting

* New Installation Guides

* Manage Installation

* Upgrade Installation Guides

* Concepts

* Connect Data

* Overview

* How-to Guides

* Reference

* Datasources

* Query Settings

* Concepts

* Build Apps

* Overview

* Quickstart

* How-to Guides

* Reference

* Widgets

* Accessibility

* Theme

* Sample Apps

* Write Code

* Overview

* How-to Guides

* Reference

* Global Objects

* Global Functions

* JS Libraries

* Fetch API

* Data Transformation

* JavaScript Settings

* Concepts

* Best Practices

* Manage Apps and Users

* Authentication

* Granular Access Control

* Versioning with Git

* Setup SCIM Provisioning

* Embed Appsmith

* Migrate Applications

* Audit Logs

* Branding

* External Client Portal

* Packages

* Overview

* Tutorial

* How-to Guides

* Reference

* Package Version Control

* GIT Apps with Packages Best Practices

* Code Packages

* UI Packages

* Workflows

* Overview

* Tutorial

* How-to Guides

* Reference

* Workflow Triggers

* Workflow Queries

* Workflow Functions

* Pass Parameters to Workflows

* Run History

* Troubleshooting

* Overview

* Self-hosting Errors

* MongoDB Startup Error Post Migration to Version 5

* Schema Mismatch Error

* Kubernetes Helm Chart 3.0.4 Upgrade Error

* Recover admin access when you don't know the admin email

* Backup and Restore Errors

* License and Activation Errors

* Verify connectivity to cs.appsmith.com

* SSO and Authentication Errors

* User Management and Permissions Errors

* SSL, Certificate, and Reverse Proxy Errors

* Email and SMTP Errors

* Performance and Resource Errors

* Monitoring and Audit Log Errors

* Upgrade and Migration Errors

* Application Errors

* Product

* FAQ

* Security

* Telemetry

* Support at Appsmith

* Privacy Policy

* Release Notes

* Contribute

© 2026 Appsmith, Inc.

*

* Troubleshooting

* Self-hosting Errors

* Upgrade and Migration Errors
On this page
Upgrade and Migration Errors

This page shows how to resolve common errors when upgrading or migrating a self-hosted Appsmith instance. Before any upgrade or migration, always take a backup of your instance so you can roll back. See Backup instance and Upgrade Appsmith versions .

Backend down with aborted migration after upgrade ​

ABORTED MIGRATION

Cause ​

During an upgrade, Appsmith runs one-time database migrations. If a migration does not complete (or is skipped/aborted), the backend can fail to start, and the log shows changeset entries being PASSED OVER followed by an aborted migration. The root cause in these cases was the migration script not running to completion during the version change.

Solution ​

* Restore your pre-upgrade backup to return to a working state, then retry the upgrade. See Restore instance .

* Update directly to the latest version, since fixes for migration failures are shipped in newer releases. See Upgrade Appsmith versions .

* If your current version is older than v1.9.2, you must first follow the Upgrade to Checkpoint Version (v1.9.2) guide, as skipping the mandatory checkpoint can leave migrations in an inconsistent state.

* If your current version is newer than v1.9.2 but older than v1.96, first upgrade to any version from v1.96 through v1.99 (v1.99 is recommended), and then upgrade to 2.0 or newer. See Upgrade Appsmith versions .

* If the backend still fails after upgrading, gather full server logs and contact support.

Errors or missing plugins after downgrading by changing the image tag ​

Cause ​

Appsmith migrations are designed to run only once. If you upgrade and then downgrade by simply changing the image tag back to an older version, the database may already contain data that has been migrated to the newer schema, which the older version cannot read. This produces application errors (for example, missing plugins, or reset workspace/organization data) and can break the instance even after returning to the new version.

Solution ​

* Do not downgrade by only changing the image tag. The supported way to roll back is to restore the backup you took before upgrading. See Restore instance .

* If you have already downgraded without restoring a backup and are seeing errors, the recommended path is to upgrade back to the latest version and address the original issue there, with support's help. A migration that already ran once will not repeat automatically, so contact support via the chat widget if the instance remains in a broken state.

"Unable to invoke Cipher due to bad padding" after restoring a backup ​

Unable to invoke Cipher due to bad padding

Cause ​

This appears after restoring a backup into an instance whose encryption credentials don't match the backup. A common cause during migration between environments is that the target instance is using different APPSMITH_ENCRYPTION_PASSWORD and APPSMITH_ENCRYPTION_SALT values than the instance the backup was taken from, so the restored data cannot be decrypted.

Solution ​

* When restoring a backup, the target instance's APPSMITH_ENCRYPTION_PASSWORD and APPSMITH_ENCRYPTION_SALT must match the values from the instance that produced the backup. Update these in docker.env to the backed-up values and restart.

* For the full troubleshooting steps and other causes of this error, see Deployment Errors .

* Be careful when restoring backups across environments: restoring a backup also restores that environment's data and requires that environment's encryption keys.

Upgrading directly to the latest version vs stepping through releases ​

Cause ​

Users on very old versions are sometimes unsure whether they must step through intermediate versions, and instances configured with a floating image tag can upgrade unexpectedly.

Solution ​

* You can update directly from an old version to the latest in a single step; you do not need to go through every intermediate version. The exception is the mandatory checkpoint: if you are older than v1.9.2, first follow Upgrade to Checkpoint Version (v1.9.2) . For Docker, there is also a v1.96 to v1.99 checkpoint required before moving to 2.0+, described in Upgrade Appsmith versions .

* Pin the image tag to a specific release (for example index.docker.io/appsmith/appsmith-ee:<version> ) instead of a floating tag, so restarts don't pull an unexpected version. Find release tags on GitHub .

* Always take a backup before updating. See Backup instance .

"unauthorized" when pulling the image while upgrading from Community to Commercial ​

unauthorized: incorrect username or password

Cause ​

This occurs when switching from the Community image ( appsmith-ce ) to the Commercial image ( appsmith-ee ) without following the documented upgrade procedure, for example using an image reference with an empty or invalid tag.

Solution ​

* Follow the documented upgrade-from-Community procedure, which covers signing up for a license and updating the image correctly: Upgrade from Community Appsmith (Docker) . For Kubernetes, see Upgrade from Community Appsmith (Kubernetes) .

* Pin the appsmith-ee image to a specific release tag rather than leaving the tag empty or set to a floating value. Find release tags on GitHub .

* Note that you can run the appsmith-ee image under the free plan with the same features as the Community edition, which makes future upgrades or downgrades between plans seamless.

Cannot import an app exported from a newer version into an older instance ​

Cause ​

Appsmith application exports are not backward compatible. An application JSON exported from a newer Appsmith version cannot be imported into an instance running an older version. This commonly affects air-gapped instances and migrations from Appsmith Cloud (which always runs the latest version) to an older self-hosted instance.

Solution ​

* Import into an instance running the same version or newer than the source, not older. For air-gapped or self-hosted targets, develop the app on an instance at the same version (or older) than the destination.

* To bring an older instance up to date before importing, see Upgrade Appsmith versions .

Was this page helpful?

Edit this page

Previous
Monitoring and Audit Log Errors
Next
Application Errors

* Backend down with aborted migration after upgrade

* Errors or missing plugins after downgrading by changing the image tag

* "Unable to invoke Cipher due to bad padding" after restoring a backup

* Upgrading directly to the latest version vs stepping through releases

* "unauthorized" when pulling the image while upgrading from Community to Commercial

* Cannot import an app exported from a newer version into an older instance

Links found on this page

  1. Skip to main content [direct]
  2. Try Appsmith [direct]
  3. Get Started [direct]
  4. Build Your First App [direct]
  5. Self Hosting [direct]
  6. New Installation Guides [direct]
  7. Manage Installation [direct]
  8. Upgrade Installation Guides [direct]
  9. Concepts [direct]
  10. Connect Data [direct]
  11. How-to Guides [direct]
  12. Reference [direct]
  13. Query Settings [direct]
  14. Concepts [direct]
  15. Build Apps [direct]
  16. Quickstart [direct]
  17. How-to Guides [direct]
  18. Reference [direct]
  19. Widgets [direct]
  20. Accessibility [direct]
  21. Theme [direct]
  22. Sample Apps [direct]
  23. Write Code [direct]
  24. How-to Guides [direct]
  25. Reference [direct]
  26. Global Objects [direct]
  27. Global Functions [direct]
  28. JS Libraries [direct]
  29. Fetch API [direct]
  30. Data Transformation [direct]
  31. JavaScript Settings [direct]
  32. Concepts [direct]
  33. Best Practices [direct]
  34. Manage Apps and Users [direct]
  35. Granular Access Control [direct]
  36. Versioning with Git [direct]
  37. Setup SCIM Provisioning [direct]
  38. Embed Appsmith [direct]
  39. Migrate Applications [direct]
  40. Audit Logs [direct]
  41. Branding [direct]
  42. External Client Portal [direct]
  43. Packages [direct]
  44. Tutorial [direct]
  45. How-to Guides [direct]
  46. Reference [direct]
  47. GIT Apps with Packages Best Practices [direct]
  48. Code Packages [direct]
  49. UI Packages [direct]
  50. Workflows [direct]
  51. Tutorial [direct]
  52. How-to Guides [direct]
  53. Reference [direct]
  54. Workflow Queries [direct]
  55. Workflow Functions [direct]
  56. Pass Parameters to Workflows [direct]
  57. Run History [direct]
  58. Troubleshooting [direct]
  59. Self-hosting Errors [direct]
  60. MongoDB Startup Error Post Migration to Version 5 [direct]
  61. Schema Mismatch Error [direct]
  62. Kubernetes Helm Chart 3.0.4 Upgrade Error [direct]
  63. Recover admin access when you don't know the admin email [direct]
  64. Backup and Restore Errors [direct]
  65. License and Activation Errors [direct]
  66. Verify connectivity to cs.appsmith.com [direct]
  67. SSO and Authentication Errors [direct]
  68. User Management and Permissions Errors [direct]
  69. SSL, Certificate, and Reverse Proxy Errors [direct]
  70. Email and SMTP Errors [direct]
  71. Performance and Resource Errors [direct]
  72. Monitoring and Audit Log Errors [direct]
  73. Application Errors [direct]
  74. Product [direct]
  75. Security [direct]
  76. Telemetry [direct]
  77. Support at Appsmith [direct]
  78. Privacy Policy [direct]
  79. Release Notes [direct]
  80. Contribute [direct]