Nextcloud version: `27.0.0
VM VIRTUALBOX ALL IN ON
The issue you are facing:
Hello, my name is Sebastian, i’m using the virtualbox image all-in-on lasted version.
It’s a fresh instalation and i have a lot of images upload by the nextcloud windows client in my account.
I 'm using previewgenerator without any errors:
sudo -u www-data -E php /var/www/html/occ preview:generate-all -vvv
and then
sudo -u www-data -E php /var/www/html/occ preview:pre-generate -vvv
But when i enter to the Photos app and scroll down a little, the app stuck and only see the first image previews…
And i can see this in the nextcloud logs:
{“message”:"Error while processing the image: VipsImage: unable to write to "/tmp/vips-1-2516558276.v"unix error: Read (truncated…)
/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/Middleware.php - line 72:
Any ideas? In the last part it’s says “truncated” i like to see the full message too…
Is this the first time you’ve seen this error? (Y/N): NO
Steps to replicate it:
- Enter to the photo apps and scroll down
The output of your Nextcloud log in Admin > Logging:
2023-06-30T10:57:14+0200
Error no app in context GuzzleHttp\Exception\ClientException: Client error: `POST http://nextcloud-aio-imaginary:9000/pipeline?operations=%5B%7B%22operation%22%3A%22autorotate%22%7D%2C%7B%22operation%22%3A%22fit%22%2C%22params%22%3A%7B%22width%22%3A256%2C%22height%22%3A256%2C%22stripmeta%22%3A%22true%22%2C%22type%22%3A%22jpeg%22%2C%22norotation%22%3A%22true%22%2C%22quality%22%3A%2260%22%7D%7D%5D` resulted in a `400 Bad Request` response: {"message":"Error while processing the image: VipsImage: unable to write to \"/tmp/vips-1-2516558276.v\"unix error: Read (truncated...)
/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/Middleware.php - line 72:
GuzzleHttp\Exception\RequestException::create("*** sensiti ... *")
/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/promises/src/Promise.php - line 209:
GuzzleHttp\Middleware::GuzzleHttp\{closure}("*** sensiti ... *")
/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/promises/src/Promise.php - line 158:
GuzzleHttp\Promise\Promise::callHandler(1, "*** sensiti ... *", "*** sensiti ... *")
/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/promises/src/TaskQueue.php - line 52:
GuzzleHttp\Promise\Promise::GuzzleHttp\Promise\{closure}("*** sensiti ... *")
/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/promises/src/Promise.php - line 251:
GuzzleHttp\Promise\TaskQueue->run(true)
/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/promises/src/Promise.php - line 227:
GuzzleHttp\Promise\Promise->invokeWaitFn()
/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/promises/src/Promise.php - line 272:
GuzzleHttp\Promise\Promise->waitIfPending()
/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/promises/src/Promise.php - line 229:
GuzzleHttp\Promise\Promise->invokeWaitList()
/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/promises/src/Promise.php - line 69:
GuzzleHttp\Promise\Promise->waitIfPending()
/var/www/html/custom_apps/fulltextsearch_elasticsearch/vendor/guzzlehttp/guzzle/src/Client.php - line 189:
GuzzleHttp\Promise\Promise->wait()
/var/www/html/lib/private/Http/Client/Client.php - line 297:
GuzzleHttp\Client->request("post", "http://next ... e", [ "/mnt/ncda ... "])
/var/www/html/lib/private/Preview/Imaginary.php - line 147:
OC\Http\Client\Client->post("http://next ... e", [ [ "[{\"ope ... "])
/var/www/html/lib/private/Preview/GeneratorHelper.php - line 62:
OC\Preview\Imaginary->getCroppedThumbnail([ "OC\\Files\\Node\\File"], 256, 256, false)
/var/www/html/lib/private/Preview/Generator.php - line 397:
OC\Preview\GeneratorHelper->getThumbnail([ "OC\\Preview\\Imaginary"], [ "OC\\Files\\Node\\File"], 256, 256)
/var/www/html/lib/private/Preview/Generator.php - line 255:
OC\Preview\Generator->generateProviderPreview([ "OC\\Files ... "], [ "OC\\Files\\Node\\File"], 256, 256, false, false, "image/jpeg", "")
/var/www/html/lib/private/Preview/Generator.php - line 155:
OC\Preview\Generator->getSmallImagePreview([ "OC\\Files ... "], "*** sensiti ... *", [ "OC\\Files\\Node\\File"], "image/jpeg", "", false)
/var/www/html/lib/private/Preview/Generator.php - line 116:
OC\Preview\Generator->generatePreviews([ "OC\\Files\\Node\\File"], [ [ 64,64,false,"fill"]], "image/jpeg")
/var/www/html/lib/private/PreviewManager.php - line 192:
OC\Preview\Generator->getPreview([ "OC\\Files\\Node\\File"], 64, 64, false, "fill", "*** sensiti ... *")
/var/www/html/apps/photos/lib/Controller/PreviewController.php - line 162:
OC\PreviewManager->getPreview([ "OC\\Files\\Node\\File"], 64, 64)
/var/www/html/apps/photos/lib/Controller/PreviewController.php - line 128:
OCA\Photos\Controller\PreviewController->fetchPreview([ "OC\\Files\\Node\\File"], 64, 64)
/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 230:
OCA\Photos\Controller\PreviewController->index(273049, 64, 64)
/var/www/html/lib/private/AppFramework/Http/Dispatcher.php - line 137:
OC\AppFramework\Http\Dispatcher->executeController([ "OCA\\Phot ... "], "index")
/var/www/html/lib/private/AppFramework/App.php - line 183:
OC\AppFramework\Http\Dispatcher->dispatch([ "OCA\\Phot ... "], "index")
/var/www/html/lib/private/Route/Router.php - line 315:
OC\AppFramework\App::main("OCA\\Photos ... r", "index", [ "OC\\AppFr ... "], [ "273049"," ... "])
/var/www/html/lib/base.php - line 1064:
OC\Route\Router->match("/apps/photo ... 9")
/var/www/html/index.php - line 36:
OC::handleRequest()