DHIS2 2.27 failure to perform maintenance

My instance is failing to perform maintenance.It can not even delete soft tracked entities in tracker.

It is also failing to pull data with program indicators

What could be the problem.Anyone with an idea?

Thanks