Creating record fails with "invalid value cc-by-4.0" error; licenses vocabulary is empty despite multiple initializations

Hello,

I am deploying an Inveniordm,When I try to create a record, the system returns the error: "invalid value cc-by-4.0".

I checked the licenses vocabulary endpoint /api/vocabularies/licenses and it returns an empty list:

json

{
  "hits": {
    "hits": [],
    "total": 0
  },
  "sortBy": "title",
  "links": {
    "self": "http://*****/api/vocabularies/licenses?page=1&size=25&sort=title"
  }
}

This leads me to believe the licenses vocabulary is not being loaded correctly during initialization.

To troubleshoot, I have run the initialization command invenio-cli services setup -f multiple times, hoping to fix this issue. However, the problem persists.

Could anyone please advise how to properly populate the licenses vocabulary or what I might be missing in the setup process?

Thank you in advance for your help!

Best regards,
tangyang

Hello,
did you customize your app_data folder, and changed the licenses vocabulary?

Feel free to join our chat, there are many users there who can help.