Preview not loading of the files in self hosted version

Hi I have recently self hosted a penpot version using coolify on my VPS but it looks like there are a lot of bugs or maybe i did something wrong but the preview is not loading and when I open any file to edit the preview is also messy and only loads up when zoomed in or hovered on the layout how can i fix this ?