nextcloud / text2image_stablediffusion

3 stars 1 forks source link

Image generation task failed #17

Open alexgn100 opened 1 month ago

alexgn100 commented 1 month ago

Hello,

the image generation failed for me.

Nextcloud Version: 29.0.4 text2image_stablediffusion App Version: 1.1.0

Logs (nextcloud.log):

{"reqId":"dFRpoFnT5PGGAh6e62bp","level":2,"time":"2024-08-09T20:50:31+00:00","remoteAddr":"","user":"--","app":"text2image_stablediffusion","method":"","url":"--","message":"(node:101661) ExperimentalWarning: Importing JSON modules is an experimental feature and might change at any time\n(Use `node --trace-warnings ...` to show where the warning was created)\n\n============================\nHi, looks like you are running TensorFlow.js in Node.js. To speed things up dramatically, install our node backend, visit https://github.com/tensorflow/tfjs-node for more details. \n============================\n","userAgent":"--","version":"29.0.4.1","data":{"app":"text2image_stablediffusion"}}
{"reqId":"dFRpoFnT5PGGAh6e62bp","level":2,"time":"2024-08-09T20:50:31+00:00","remoteAddr":"","user":"--","app":"assistant","method":"","url":"--","message":"Image generation task failed: f99dd39dec43857900933ddb5b3a6b75","userAgent":"--","version":"29.0.4.1","data":{"app":"assistant"}}

Have anyone a idea how to fix it?

marcelklehr commented 4 days ago

Hello @alexgn100 Did you install nextcloud via the AIO container per chance?

marcelklehr commented 4 days ago

Also, please make sure the model download worked correctly. There is a bug in Nextcloud's tar library which necessitates downloading the model manually: https://github.com/nextcloud/text2image_stablediffusion/issues/5#issuecomment-2026626730