Thumbnail not available #146
Replies: 6 comments
-
Thumbnails are only regenerated when you view/edit a diagram (https://docs.structurizr.com/ui/faq#why-arent-my-diagram-thumbnails-appearing) ... so I think this is working as expected. |
Beta Was this translation helpful? Give feedback.
-
structurizr Thumbnails - replication .docx In the current instance, after editing a diagram, thumbnails are not regenerated . |
Beta Was this translation helpful? Give feedback.
-
I think you may have a typo in the steps to reproduce ("now" -> "not") ... this is what caused me to say it seems to be working as expected. In either case, perhaps take a look at the JavaScript/developer console in your web browser, particularly the XHR requests that save thumbnails to see if they are being blocked, or returning something other than HTTP 200. Thumbnail generation works for me, so perhaps there's something in your workspace.dsl file that is causing an issue. Does thumbnail generation work with a simpler workspace? |
Beta Was this translation helpful? Give feedback.
-
Yes, for a simpler workspace, thumbnail generation works fine. |
Beta Was this translation helpful? Give feedback.
-
SOLUTION: /* branding { |
Beta Was this translation helpful? Give feedback.
-
I imagine you're running into an issue with CORS; see the following for more details: |
Beta Was this translation helpful? Give feedback.
-
Expected
I expect that the thumbnails are automatically refreshed
Actual
after editing dls files, the diagrams thumbnails are not available
Steps to reproduce
editing, diagrams does now update the thumbnails.
Version/build information
I start using this command
#!/usr/bin/bash
sudo docker run -it --rm -p 8080:8080 -v ~/projects/arch-poc-structurizr:/usr/local/structurizr structurizr/lite
current build:
Severity
Major
Priority
I have no budget and there's no rush, please fix this for free
More information
tried different approaches, to delete the hidden .structurizr folder in order to regenerate does not worked
Beta Was this translation helpful? Give feedback.
All reactions