almenscorner / intunecd-monitor

IntuneCD front end, monitor configurations and changes in Intune
MIT License
91 stars 8 forks source link

Documentation always fails #44

Open mickyc1 opened 1 month ago

mickyc1 commented 1 month ago

I have successfully setup IntuneCD-Monitor on Azure and the actual backup succeeds but the documentation step fails due to timeout (3000 seconds as per the code). There are no other logs indicating why this may have failed so I'm a bit stumped. I have tried bumping up the app service plan a couple of time but this makes no difference, it will always fail due to timeout.

According to the docs it states all you need to do is tick the Documentation box on the tenant config but the settings indicate below: image

Is there something additional I need to do to generate documentation?

almenscorner commented 1 week ago

I am able to kind of replicate this, I run it locally and it seems like the part where it is converting the content to HTML using the mistune package is running forever and never completes. Will have to check if I can get that to work again or if there is another package that could do this

almenscorner commented 1 week ago

Try setting the new env var in 2.1.3 and let me know if it improves: https://github.com/almenscorner/intunecd-monitor/releases/tag/v2.1.3