D592VN5

Results 9 comments of D592VN5

I guess this issue is related to Tagging in general - see https://github.com/nextcloud/server/issues/51849

> Could you provide the log with more details? > Hi! Thank you for responding. Here it is, I cleared the log before starting sequence again. {"reqId":"Z4l3KybDjS7oaXsVizht","level":3,"time":"2025-03-27T00:27:18+00:00","remoteAddr":"","user":"U48","app":"index","method":"GET","url":"/index.php/ocsapp/apps/libresign/api/v1/signature/elements/preview/1076&_t=1743035236274","message":"Previews disabled","userAgent":"Mozilla/5.0 (Windows NT...

> Thanks! > > The system setting `enable_previews` is new for me. > > I will create a PR disabling the previews at LibreSign side when `enable_previews` is false. Hi....

> Could you provide the entire log of this exception? Here is the log { "reqId": "9Xi1OJnaBss64uAgjZzQ", "level": 3, "time": "2025-04-09T15:52:45+00:00", "remoteAddr": "xxx", "user": "yyy", "app": "no app in context",...

> * o I confirmed pdfsig works correctly when run manually as the user (the same one that runs Nextcloud). It successfully returns signature data from the test PDF (NOTE...

Another possible hint: I have NextCloud encryption enabled (with default encryption module and 'encrypt the home storage' enabled). Is LibreSign tested with encryption?

> We never had a customer that needed to use LibreSign with encryption enabled. Because this we never prioritize to check this scenario with encryption enabled. > > Have an...

Turned out I needed to put putenv('HOME=/root'); before $content = shell_exec('pdfsig ' . $tempFile); Problem solved, no more error upon validation, LibreSign works for me!

> > Turned out I needed to put putenv('HOME=/root'); > > before $content = shell_exec('pdfsig ' . $tempFile); > > Did you made any change at LibreSign code? Yes, in...