We need to export data form Commcare into a postgres data base to build dynamique reporting dashboard.
We have Commcare sync running correctly when pushing data to a local database but when we host commcare sync in our online server and try to export data to an online database, the export keeps running and running for hours and hours without errors.
Hello - without more information it's difficult to fully troubleshoot. Are you seeing any errors in the logs or do you have anything else you can share to help troubleshoot?
One thing to check is whether the online server able to sync to a local database. If not, then it might be that something related to CommCare Sync isn't set up properly - e.g. Celery is not running.
If the same server syncs to other places but not the online DB, then it's likely a connection problem - either configured improperly, network/firewall rules, etc.
Hmm, it looks like maybe the content type of the JS file is wrong? I think you'll need to Google around and try to figure out what's causing that "refused to execute" error.
Separately, whatever is causing the 500 error also likely needs to get fixed (but is likely a separate problem)