How to Resolve the 'License is Invalid with Status Pending' Error in Umbraco Deploy
If you encounter the error message "License is invalid with status Pending" in Umbraco Deploy, it typically indicates issues with the Deploy license configuration or its initialization. Below, we provide a step-by-step guide to troubleshoot and resolve this problem effectively.
General Causes of the Error
The most common reasons for this error are:
Configuration settings of the Deploy license are incorrect or incomplete.
A recent environment or project change (e.g., upgrade, migration) caused the license state to become uninitialized.
General Troubleshooting Steps
To resolve the error, follow these steps:
Reinitialize the Deploy License Configuration - Ensure that the Deploy license configuration is updated properly according to the official documentation. - Restart your site or application after updating the configuration to allow the license state to revalidate.
Specific Guidance for Umbraco Cloud Projects
For Umbraco Cloud, you may need to address a misconfiguration in the appsettings.json file. Follow the instructions below:
Correct the Configuration in appsettings.json - Verify that the section name for licenses is spelled exactly as "Licenses" (not "Licences"). - Set both Deploy and Forms product values to "UMBRACO-CLOUD" instead of using your project name. This ensures proper license validation. Here's an example configuration snippet:
"Umbraco": {
"Licenses": {
"Products": {
"Umbraco.Deploy": "UMBRACO-CLOUD",
"Umbraco.Forms": "UMBRACO-CLOUD"
}
}
}Restart Your Environment - After updating the
appsettings.jsonfile, restart your environment to apply the changes and revalidate the license status.
Expected Outcome
Once these steps are completed:
The license status should update to valid in the backoffice.
All deployment-related features, such as schema updates, should work correctly.
Related Topics
By following these instructions, you should be able to resolve the "License is invalid with status Pending" error and restore full functionality to your Umbraco Deploy setup.
