NHSDigital / DataDictionaryPublication

Apache License 2.0
7 stars 1 forks source link

Orchestrator: reason for failure of preview generation #542

Open AngelaFaulding opened 2 months ago

AngelaFaulding commented 2 months ago

I have tried to run a preview for the Test Branch and it failed. How do I know what the issue is so I know how to resolve the issue to be able to run a preview?

image

image

{ "headers": { "normalizedNames": {}, "lazyUpdate": null }, "status": 500, "statusText": "OK", "url": "https://mauro.dev.dataproducts.nhs.uk/api/nhsdd/b53917a3-7038-4375-aff3-6759fab5cf4b/publish/website", "ok": false, "name": "HttpErrorResponse", "message": "Http failure response for https://mauro.dev.dataproducts.nhs.uk/api/nhsdd/b53917a3-7038-4375-aff3-6759fab5cf4b/publish/website: 500 OK", "error": {} }

pjmonks commented 2 months ago

The only way to find out this issue was for us to connect to your server and inspect the log files as the operation was happening.

I've identified this as an issue with loading the branch to carry out the publishing. I have recorded this as an issue we can fix:

AngelaFaulding commented 2 months ago

Fixed and waiting for deployment

pjmonks commented 1 month ago

This issue has been fixed and deployed to TEST, TRAINING and LIVE. Please move this to the "Ready for NHS E Testing" state.

pjmonks commented 1 month ago

The fix was to use the correct DITA library version. To test, simply run a change paper preview or DITA file publish.

AngelaFaulding commented 1 month ago

See #432, CRs and previews have been generated via the Orchestrator.

AngelaFaulding commented 1 month ago

This could be an issue following migration and relates to #564.