Skip to content

500 Error on site. Cannot get license. #38

@rbruhn

Description

@rbruhn

The site was running into 500 error because it was trying to get the license file from
https://licenses.opendefinition.org/licenses/groups/all.json
and the site was down.

Instead, I created a minimal license in the DK /etc directory. I also edited ckan.ini for:

licenses_group_url = file:///data/web/digitizationknowledge/etc/licenses.json

We should probably download the file from above when the external site is working again.
This is probably happening on dev when the license site is down.

[
  {
    "id": "cc-by",
    "title": "Creative Commons Attribution (CC BY 4.0)",
    "url": "https://creativecommons.org/licenses/by/4.0/"
  },
  {
    "id": "cc-by-sa",
    "title": "Creative Commons Attribution Share-Alike (CC BY-SA 4.0)",
    "url": "https://creativecommons.org/licenses/by-sa/4.0/"
  },
  {
    "id": "cc-by-nc",
    "title": "Creative Commons Attribution Non-Commercial (CC BY-NC 4.0)",
    "url": "https://creativecommons.org/licenses/by-nc/4.0/"
  },
  {
    "id": "cc-zero",
    "title": "Creative Commons Public Domain (CC0 1.0)",
    "url": "https://creativecommons.org/publicdomain/zero/1.0/"
  },
  {
    "id": "notspecified",
    "title": "License Not Specified",
    "url": ""
  }
]

Metadata

Metadata

Assignees

No one assigned

    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