Problem saving pdf on Nextcloud snap

Thanks for your great work. I cloned the repository to the extra-apps directory in the snap environment of my Nextcloud server, enabled the app, and the drawing and writing functionalities all work when opening a pdf.

Only when I try to save the annotations, I see "PDF save failed, try again later". I imagine this is because of the (lack of certain) dependencies of the snap version of Nextcloud?