Skip to content
This repository was archived by the owner on May 11, 2021. It is now read-only.
This repository was archived by the owner on May 11, 2021. It is now read-only.

Server monitoring and Data download exception handling #183

@bezunakarmi

Description

@bezunakarmi
  • update existing bash script to generate new sqlite during import and then replace existing sqlite after successful import
  • setup uptimerobot for open.undg.org
  • password protected static status page listing the log from last import to see the possible errors if any

Cron job for fetching organization data is currently not working properly. This is due to API provided by IATI registry is not working properly. eg: fetching data for UNDP https://iatiregistry.org/api/3/action/package_search?fq=organization:undp&rows=1000000
responds with following empty results data
screen shot 2017-11-03 at 11 53 07 am
So, what we should do for now is

  • If an organization data is not fetched then the Cron process of re-creating database should be aborted.
  • A log should be maintained to review the process, which should be accessible by /logs url.
  • Log should clearly mention the date and organization name.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions