previewgenerator
previewgenerator copied to clipboard
Nextcloud app to do preview generation in the background.
Hello, I'm running Nextcloud 26.0.11 and previewgenerator 5.4.0. I am in the process of regenerating the image previews. Unfortunately I get this error: ``` TypeError: OC_Image::getOrientation(): Return value must be...
Is there a way or is it possible to generate images and videos only excluding files like pdf text, docs, excel, ppt etc?
Nextcloud 27.1.1 App Version 5.3.0 ``` {"reqId":"vCSnsB4a1rJGGcirP94I","level":3,"time":"2023-10-04T10:57:46-05:00","remoteAddr":"1.0.0.2","user":"xxxx","app":"index","method":"GET","url":"/apps/photos/api/v1/preview/636520?etag=f9f1277d1f1622ad879fe0cde4767b45&x=64&y=64","message":"Could not create folder \"/appdata_oc368e1f50dl/preview/4/d/8/1/3/f/7/636520\"","userAgent":"Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/117.0.0.0 Safari/537.36","version":"27.1.1.0","exception":{"Exception":"OCP\\Files\\NotPermittedException","Message":"Could not create folder \"/appdata_oc368e1f50dl/preview/4/d/8/1/3/f/7/636520\"","Code":0,"Trace":[{"file":"/var/www/nextcloud/lib/private/Files/AppData/AppData.php","line":147,"function":"newFolder","class":"OC\\Files\\Node\\Folder","type":"->"},{"file":"/var/www/nextcloud/lib/private/Preview/Storage/Root.php","line":74,"function":"newFolder","class":"OC\\Files\\AppData\\AppData","type":"->"},{"file":"/var/www/nextcloud/lib/private/Preview/Generator.php","line":643,"function":"newFolder","class":"OC\\Preview\\Storage\\Root","type":"->"},{"file":"/var/www/nextcloud/lib/private/Preview/Generator.php","line":139,"function":"getPreviewFolder","class":"OC\\Preview\\Generator","type":"->"},{"file":"/var/www/nextcloud/lib/private/Preview/Generator.php","line":116,"function":"generatePreviews","class":"OC\\Preview\\Generator","type":"->"},{"file":"/var/www/nextcloud/lib/private/PreviewManager.php","line":192,"function":"getPreview","class":"OC\\Preview\\Generator","type":"->"},{"file":"/var/www/nextcloud/apps/photos/lib/Controller/PreviewController.php","line":162,"function":"getPreview","class":"OC\\PreviewManager","type":"->"},{"file":"/var/www/nextcloud/apps/photos/lib/Controller/PreviewController.php","line":128,"function":"fetchPreview","class":"OCA\\Photos\\Controller\\PreviewController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":230,"function":"index","class":"OCA\\Photos\\Controller\\PreviewController","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php","line":137,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/AppFramework/App.php","line":183,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/var/www/nextcloud/lib/private/Route/Router.php","line":315,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/var/www/nextcloud/lib/base.php","line":1068,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/var/www/nextcloud/index.php","line":36,"function":"handleRequest","class":"OC","type":"::"}],"File":"/var/www/nextcloud/lib/private/Files/Node/Folder.php","Line":162,"CustomMessage":"--"},"id":"651d8d1b292dd"} ``` Also happen on...
I've been trying to run occ preview:generate-all -vvv. It gets quite a lot of the way through the folders and just errors out with the error in the title. I've...
Hi! #### Say I apply these settings ```sh sudo -u www-data php /var/www/nextcloud/occ config:app:set --value="64 128" previewgenerator squareSizes sudo -u www-data php /var/www/nextcloud/occ config:app:set --value="64 128" previewgenerator widthSizes sudo -u...
Should i use/add enable_preview parameter in config.php and put desired file extensions to use this ? Asking because some file types seems to be not working like .mov, .mp4 and...
I have a Nextcloud 25.0.3 installation using [nextcloud/docker](https://github.com/nextcloud/docker). I do not have any external storage. PHP memory limit is set relatively high: 3072M . The entire installation has about 40,000...
manatails@cloud:/var/www/nextcloud$ sudo -u www-data php /var/www/nextcloud/occ -vvv preview:generate-all 2018-11-24T15:43:25+00:00 Generating previews for /manatails/files/InstantUpload/Camera/20181121_213210.jpg 2018-11-24T15:43:26+00:00 Generating previews for /manatails/files/InstantUpload/Camera/20181122_102545.jpg 2018-11-24T15:43:26+00:00 Generating previews for /manatails/files/InstantUpload/Camera/20181122_102826.jpg 2018-11-24T15:43:27+00:00 Generating previews for /manatails/files/InstantUpload/Camera/20181122_133633.jpg 2018-11-24T15:43:27+00:00 Generating...
Hello everyone, is it possible to set a default timestamp in seconds (or 0.5 * video length respectively) for preview generation of videos? I have multiple videos where there is...
Hi, my preview generation crashes and complains about the `__toString()` not returning a string value in `/var/www/nextcloud/lib/private/legacy/OC_Image.php:647`. This is the stack trace: ``` 2021-03-15T17:36:49+01:00 Scanning folder /user/files/Backups/MacBook Air/Backups/Applications/Address Book.app/Contents/Resources An...