SOLFIND
Web Lens
Portal home

Troubleshooting Deployment Errors | Appsmith

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


Troubleshooting Deployment 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
On this page
Troubleshooting Deployment Errors

Deploying Appsmith is typically a smooth process, but sometimes you may encounter errors that prevent you from successfully setting up your instance. This guide walks through common deployment-related errors and provides strategies for troubleshooting them.

Pre-deployment checklist ​

Before delving into specific errors, it's essential to ensure that the pre-deployment conditions are met:

* Confirm that the target server meets the minimum hardware requirements .

* Verify that you have the necessary permissions to install and configure Appsmith on the server.

* Ensure that all required ports (for example, 80 and 443 for web traffic) are open and not blocked by a firewall.

Port conflicts ​

After installation, Appsmith services might fail to start due to port not being available.

Error message ​

Ports `80` and `443` aren't open.

Cause ​

The error occurs when the required ports 80 and 443 are not available for Appsmith to use due to other processes using them.

Solution ​

To address this issue, you have the following options:

* Stop all processes on ports 80 and 443 and start again. This ensures that the processes using the ports may free the ports and Appsmith can use it. This only helps if there were processes which were using ports but are no longer running on those ports.

* If stopping processes on these ports is not viable, or there are other processes which continue to run on these ports then edit the docker-compose.yml file to assign different ports to Appsmith and restart the instance.

Configuration problems ​

After installation, Appsmith services might fail to start due to some configuration problems.

Error message ​

`org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mongockInitializingBeanRunner' defined in class path resource [com/appsmith/server/configurations/MongoConfig.class]: Error in method[Migration020TransferToDatasourceStorage.executeMigration] : Unable to invoke Cipher due to bad padding`

Cause ​

The error occurs when the Appsmith instance cannot access MongoDB data due to an encryption mismatch. This can happen under two circumstances:

* Installing Appsmith in a directory with an existing Appsmith installation, causing issues due to mismatch in encryption settings.

* Restoring an Appsmith database backup with encryption parameters different from those configured in the Appsmith instance.

Solution ​

To resolve the error, you may choose one of the below options:

* If you want to overwrite the previous Appsmith installation, delete the /stacks folder from the installation directory, and re-run the Docker command.

* If you want to keep the previous Appsmith installation, create a new installation directory and follow the installation instructions.

* If you want to use the Appsmith installation after restoring the data, go to the docker.env file and update the encryption password ( APPSMITH_ENCRYPTION_PASSWORD )and encryption salt ( APPSMITH_ENCRYPTION_SALT ) with the values you copied during the backup process. For more information, see Backup Database .

SSL/TLS certification errors ​

When opting for an automatic SSL setup with Let's Encrypt, you may encounter certification errors.

Cause ​

SSL/TLS certification errors occur due to issues with domain configuration, Let's Encrypt rate limiting, or specific error messages in the Let's Encrypt logs.

Solution ​

Follow the below steps to troubleshoot the error:

* Ensure that the domain name is properly configured and pointing to the server's IP address.

* Be aware of Let's Encrypt rate limits and wait if you've hit the limit before trying again.

* Check Let's Encrypt logs for specific Error messages related to SSL/TLS certification.

Database connection failures ​

Appsmith requires a connection to its internal database. If it fails to connect, the deployment will not be successful.

Cause ​

Database connection failures can occur due to issues with database service logs, incorrect environment variables related to database configuration, or network accessibility problems.

Solution ​

Follow the below steps to resolve the error:

* Look for any errors in the database service logs that might indicate connection issues.

* Verify that environment variables related to the database configuration are set correctly, such as APPSMITH_DB_URL.

* Ensure that the database is reachable from the Appsmith server if you're using an external database.

Environment-specific problems ​

Deployment errors can also be specific to the environment in which Appsmith is being installed, such as certain cloud providers or operating systems.

Cause ​

Environment-specific problems arise due to quirks or additional steps required for successful deployment on certain cloud providers or operating systems.

Solution ​

Follow the below steps to troubleshoot the error:

* Consult the documentation of the specific environment for any quirks or additional steps required for a successful deployment.

* Check any security groups or firewall rules to ensure they aren't blocking the necessary traffic for Appsmith.

Issue with Disk Space ​

Unable to update Appsmith due to full disk space.

Cause ​

When manually updating Appsmith without using the auto-update system, old and unused Docker images and logs are not automatically cleaned up, leading to a full disk.

Solution ​

After each manual update, run docker system prune -a to clean up unused Docker images, containers, volumes, and networks. This will free up disk space and prevent similar issues in the future.

Unable to connect to Azure PostgreSQL database ​

Appsmith, hosted on Azure Web App, cannot connect to a PostgreSQL database (Azure Database for PostgreSQL flexible server).

Error message ​

Test failed, couldn't establish a connection

Cause ​

The Appsmith instance is not integrated into the same Azure virtual network (vnet) as the PostgreSQL database. As a result, the two services are unable to communicate because they are on different networks.

Solution ​

*
Verify that your Appsmith instance is part of the same Azure virtual network as your PostgreSQL database.

*
Add a private endpoint for your PostgreSQL server within the same vnet and verify that the Appsmith instance can connect to the database through private network routing.

*
Test the connection after making these changes.

See also ​

Once you have the logs from your container, you can verify whether the error you are facing matches a common error with a resolution guide.

* MongoDb Startup Error

* MongoDb Schema Error

* K8s Helm 3.0.4 Error

* Unknown Admin Email Recovery

Getting help ​

If you are unable to resolve your error, please reach out to support via the chat widget on the page.

Was this page helpful?

Edit this page

Previous
Overview
Next
MongoDB Startup Error Post Migration to Version 5

* Pre-deployment checklist

* Port conflicts

* Configuration problems

* SSL/TLS certification errors

* Database connection failures

* Environment-specific problems

* Issue with Disk Space

* Unable to connect to Azure PostgreSQL database

* See also

* Getting help

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. MongoDB Startup Error Post Migration to Version 5 [direct]
  60. Schema Mismatch Error [direct]
  61. Kubernetes Helm Chart 3.0.4 Upgrade Error [direct]
  62. Recover admin access when you don't know the admin email [direct]
  63. Backup and Restore Errors [direct]
  64. License and Activation Errors [direct]
  65. Verify connectivity to cs.appsmith.com [direct]
  66. SSO and Authentication Errors [direct]
  67. User Management and Permissions Errors [direct]
  68. SSL, Certificate, and Reverse Proxy Errors [direct]
  69. Email and SMTP Errors [direct]
  70. Performance and Resource Errors [direct]
  71. Monitoring and Audit Log Errors [direct]
  72. Upgrade and Migration 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]