How is your experience with the OutSystems Community?
26
Views
5
Comments
Solved
Lifetime upgrade
Question

We are attempting to upgrade LifeTime from version 11.27.2 to 11.28.2. After completing the installation, it is required to upload the new solution file through Service Center. During this step, we encounter a timeout error when updating the static entity records of the module 'LifeTimeCore'. To resolve the issue, we repeated the process multiple times without success. We then followed the recommendations in your support documentation by increasing the DDLLockTimeout to 1800 in the server.hsconf file, restarting all services, and updating the database statistics to improve performance. However, the issue persists. This problem is having a significant impact on our organization, as developers are currently unable to deploy to other environments.


Any ideas to resolve this issue ?


error_lft.jpg
2022-09-05 11-03-57
Sérgio Miranda
Staff
Solution

Hello Pedro,

Have you tried to increase the "Default Query Timeout" and "Database Update Query Timeout " values in Configuration Tool (instead of DDLLockTimeout) as described here?

https://success.outsystems.com/support/troubleshooting/application_runtime/timeouts_under_the_hood/#sql-query-timeout


UserImage.jpg
pedro sarrasqueiro

Hello, after i increase the "Database Update Query Timeout" , the upgrade ended without errors. 

2026-01-19 15-49-48
Ankit Gangrade
Champion

We ran into something very similar on one of our LifeTime upgrades.

Since you’ve already increased the DDLLockTimeout, restarted the services, and updated the DB stats, my guess is the issue may not be on the OutSystems side anymore.

A couple of things I’d look at:

  • Any SQL blocking happening while the upgrade is running
  • SQL Server resources (CPU, memory, TempDB, disk latency)
  • Size of the LifeTime database and roughly how many applications/modules are managed by LifeTime
  • Deployment logs to see what is actually timing out behind the generic error

I’ve seen larger LifeTime environments take much longer during metadata/static entity updates, so knowing the DB size would help.

Just curious, is the LifeTime database running on Azure SQL or a dedicated SQL Server?

If you’ve already checked all of the above, I’d probably open a support ticket with OutSystems and share the deployment logs plus an Environment Health Check report. The fact that it always seems to fail on the LifeTimeCore static entity update step feels like an important clue.

Can you share the SQL Server version and the approximate LifeTime DB size?

UserImage.jpg
pedro sarrasqueiro

Hello Ankit Gangrade,


We check all your suggestions (the Sql resources , Sql blocking ) and everything is fine. Our Db has aprox. 81 Gb

2024-07-05 14-16-55
Daniël Kuhlmann
 
MVP

If you still haven't been able to fix this, create a support case.

2022-09-05 11-03-57
Sérgio Miranda
Staff
Solution

Hello Pedro,

Have you tried to increase the "Default Query Timeout" and "Database Update Query Timeout " values in Configuration Tool (instead of DDLLockTimeout) as described here?

https://success.outsystems.com/support/troubleshooting/application_runtime/timeouts_under_the_hood/#sql-query-timeout


UserImage.jpg
pedro sarrasqueiro

Hello, after i increase the "Database Update Query Timeout" , the upgrade ended without errors. 

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.