22
Views
2
Comments
Deployment Failed - Error: Application configuration couldn't be updated
Application Type
Traditional Web
Service Studio Version
11.54.74 (Build 63545)
Platform Version
11.29.0 (Build 43552)

Hi,
Found issue during the deployment from DEV to UAT. Anyone is aware about this issue? What is causing this?

2023-01-19 12-23-07
Abhinav Shilwant

Hi @Vinaya Krishna Kodi,

It looks like there’s an error during the deployment process which mentions that the application configuration couldn’t be updated. This type of error often relates to issues with configuration settings that may not be compatible or properly set up between different environments, such as from Development (DEV) to User Acceptance Testing (UAT).

Here are a few steps you can take to troubleshoot this issue:

  1. Auto Upgrade Settings: The error log suggests a problem with “applying auto upgrade disabled setting for application.” Check the application’s auto-upgrade settings in the Service Studio for both DEV and UAT environments. Ensure that these settings are compatible and correctly configured. It’s possible that disabling auto upgrades in one environment and not in another could lead to such errors.
  2. Configuration Synchronization: Ensure that all the application configurations (such as services endpoints, database connections, and any environment-specific parameters) are correctly synchronized between the DEV and UAT environments. Use the ‘Compare and Merge’ feature in Service Studio to check for discrepancies.
  3. Platform Server Version Compatibility: Verify that the Platform Server versions in your DEV and UAT environments support the configurations and features you are trying to use. Mismatches in platform versions can sometimes lead to deployment issues.
  4. Manual Update Trial: As a diagnostic step, try manually applying the configuration updates in the UAT environment to isolate whether the issue is with the deployment process or the configuration itself.
  5. Consult Logs for Detailed Error: Investigate the Service Center logs in more detail to find any underlying issues reported during the deployment process that might not be evident from the initial error message.
  6. Reach Out for Help: If these steps don’t resolve the issue, post a detailed query in the OutSystems community forums including the steps you’ve already tried. Engaging directly with OutSystems support might also be necessary if the problem persists and is critical.

Hope this helps!

2024-09-17 12-24-07
Rammurthy Naidu Boddu
Champion

Hi @Vinaya Krishna Kodi

This error typically occurs during deployment in OutSystems when the application configuration cannot be updated due to various reasons. Here are some common causes and solutions:

Common Causes and Solutions:

  1. Database or Environment Issues:

    • Cause: There may be issues with the database connection or environment configuration.
    • Solution: Check if the database server is running and reachable from the environment. Verify the database credentials and connection strings.
  2. Permissions and Access Rights:

    • Cause: The user deploying the application might not have sufficient permissions to update the application configuration.
    • Solution: Ensure that the user has the necessary permissions to deploy applications in the target environment. Check the role and access rights assigned to the user.
  3. Locked Resources:

    • Cause: Resources such as modules, applications, or configurations might be locked or in use by another process.
    • Solution: Check if the modules or configurations are locked by another user or process. Unlock them if necessary and retry the deployment.
  4. Application Conflicts:

    • Cause: There could be conflicts with existing applications or configurations.
    • Solution: Review the dependencies and ensure that there are no conflicts between the versions of modules or applications being deployed.
  5. Invalid Configurations:

    • Cause: The configurations being deployed might be invalid or incompatible with the target environment.
    • Solution: Review the configurations for the application and ensure they are compatible with the environment settings.
  6. Platform Server Issues:

    • Cause: There could be an issue with the OutSystems platform server.
    • Solution: Restart the platform server and try deploying the application again. You can also check the platform logs for more detailed information about the error.
  7. Check Deployment Logs:

    • Go to Service Center -> Monitoring -> Deployment and check the deployment logs for more detailed information. Look for specific error messages that can give you more context.
  8. Cache Issues:

    • Cause: There may be a caching issue causing the deployment to fail.
    • Solution: Try clearing the environment cache from Service Center.

If these solutions don't resolve the issue, you can try the following steps:

  • Republish the Application:

    • In Service Studio, republish the entire application, ensuring all dependencies are up to date.
  • Contact OutSystems Support:

    • If you are unable to resolve the issue, consider reaching out to OutSystems Support with the deployment logs for further assistance.
Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.