Seems Like i have a defect Image File somewhere, but where?

Hi,

I think this issue is more related to preview generator, even thou the error says it’s from recognize app:
I frequently see this error message in nextcloud log and I would like to repair or remove the file that causes it, but the error does not tell me what file it was working on…

{“reqId”:“cxeBLzFZZVpZJI7OCVAR”,“level”:2,“time”:“2024-06-22T09:10:47+00:00”,“remoteAddr”:“”,“user”:“–”,“app”:“recognize”,“method”:“”,“url”:“–”,“message”:“Failed to generate preview of 1461989 with dimension 1024 with gdlib: imagesx(): Argument #1 ($image) must be of type GdImage, bool given”,“userAgent”:“–”,“version”:“28.0.6.1”,“data”:{“app”:“recognize”},“id”:“6677b08998a76”}

My problem is, that I have no idea which file I should look for. Any idea on how to find out?

Thank you for reporting this! It is an issue in recognize. Will be fixed with the next release of v7

2 Likes