Dhis2 upgrading to version 2.37. issue: ERROR: cannot drop table chart because other objects depend on it

Dear Dhis2 family
I am trying to upgrade Dhis2 from version 2.36.13.2 to version 2.37.7 and I am getting the error 404 HTTP Status 404 due to the following issue indicated in log files.
ERROR: cannot drop table chart because other objects depend on it.
See below part image of the log file. It appears that I must first delete the table chart, and if this is right, what is the easiest technique to remove the table charts? What scripts should I remove and where should I go?

I have tried to run the following commands in postgres while they were not running

**DROP TABLE IF EXISTS charttranslations CASCADE;**
**DROP TABLE IF EXISTS reporttabletranslations CASCADE;**
**DROP TABLE IF EXISTS dashboarditem_reporttables CASCADE;**
**DROP TABLE IF EXISTS dashboarditem_charts CASCADE;**

@Shapr0019 ,

Try clearing the SQL Views from data administration app and try again.

Thanks,
Rithvik

2 Likes