We are encountering an error when deploying, and the attached message appears during the deployment process. Are there any OutSystems logs that we can check to determine the root cause of this error? It takes considerable time for us to identify all the usages of the affected module.
If the problem persists, it's best to open an outsystems support case.
You should be able to see the error logs. If you're running a solution, check them in the same environment where the solution runs, if it's a lifetime deploy, check the target environment. The error logs might give you more information. Either way, I'd go with what @Daniël Kuhlmann said.
It might happen If a Timer is currently running on the entity module that is part of deployment or An open SQL with a long-running transaction (especially if it has BEGIN TRANSACTION without proper COMMIT) or Someone else published the entity module after your deployment plan was validated.
As a last resort, restart the Deployment Service on target env. This might resolve the issue, and I suggest to create a new plan for deployment instead of reusing the old plan. If it doesn't resolve please do as suggested by Daniël. But please note that outsystems team will require logs from server and service center for analysing the issue, So please keep them ready If you wish to create a support ticket.