-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Description
Steps to reproduce
- View logging under admin console
Expected behaviour
Not to see any errors
Actual behaviour
I have seeing lots of these errors with different image names.
[PHP] Error: unlink(/tmp/oc_tmp_YZ8APm-.png): No such file or directory at /srv/www/nextcloud/lib/private/Preview/Office.php#63
GET /core/preview?fileId=11550019&c=72f89b1176278571b6ed99452c521f4b&x=250&y=250&forceIcon=0
from 192.168.1.54 by dabbill at 2019-01-07T19:16:13+00:00
[core] Error: ImagickException: unable to open image `/tmp/oc_tmp_YZ8APm-.png': No such file or directory @ error/blob.c/OpenBlob/2761 at <>
- /srv/www/nextcloud/lib/private/Preview/Office.php line 59
__construct("/tmp/oc_tmp_YZ8APm-.png[0]") - /srv/www/nextcloud/lib/private/Preview/GeneratorHelper.php line 59
getThumbnail("4-8 Expository Paper Checklist.docx", 4096, 4096, false, OC\Files\View {}) - /srv/www/nextcloud/lib/private/Preview/Generator.php line 194
getThumbnail(OC\Preview\MSOffice2007 {}, OC\Files\Node\File {}, 4096, 4096) - /srv/www/nextcloud/lib/private/Preview/Generator.php line 118
getMaxPreview(OC\Files\SimpleFS\SimpleFolder {}, OC\Files\Node\File {}, "application/vnd ... t") - /srv/www/nextcloud/lib/private/PreviewManager.php line 205
getPreview(OC\Files\Node\File {}, 250, 250, true, "fill", "application/vnd ... t") - /srv/www/nextcloud/core/Controller/PreviewController.php line 175
getPreview(OC\Files\Node\File {}, 250, 250, true, "fill") - /srv/www/nextcloud/core/Controller/PreviewController.php line 147
fetchPreview(OC\Files\Node\File {}, 250, 250, false, false, "fill") - /srv/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 166
getPreviewByFileId(11550019, 250, 250, false, false, "fill") - /srv/www/nextcloud/lib/private/AppFramework/Http/Dispatcher.php line 99
executeController(OC\Core\Controller\PreviewController {}, "getPreviewByFileId") - /srv/www/nextcloud/lib/private/AppFramework/App.php line 118
dispatch(OC\Core\Controller\PreviewController {}, "getPreviewByFileId") - /srv/www/nextcloud/lib/private/AppFramework/Routing/RouteActionHandler.php line 47
main("OC\Core\Controller\PreviewController", "getPreviewByFileId", OC\AppFramework\ ... {}, {_route: "core.P ... "}) - <>
__invoke({_route: "core.P ... "}) - /srv/www/nextcloud/lib/private/Route/Router.php line 297
call_user_func(OC\AppFramework\ ... {}, {_route: "core.P ... "}) - /srv/www/nextcloud/lib/base.php line 987
match("/core/preview") - /srv/www/nextcloud/index.php line 42
handleRequest()
GET /core/preview?fileId=11550019&c=72f89b1176278571b6ed99452c521f4b&x=250&y=250&forceIcon=0
from 192.168.1.54 by dabbill at 2019-01-07T19:16:13+00:00
Server configuration
Operating system:
Fedora release 28 (Twenty Eight)
Web server:
nginx-1.12.1-8.fc28.src.rpm
Database:
MariaDB 10.2
PHP version:
7.2.13
Nextcloud version: (see Nextcloud admin page)
15.0.1 RC1 (Same errors on 15.0)
Updated from an older Nextcloud/ownCloud or fresh install:
Updated from older version, tried fresh install of v15.0.
Where did you install Nextcloud from:
Main nextcloud website
Signing status:
Signing status
Login as admin user into your Nextcloud and access
http://example.com/index.php/settings/integrity/failed
paste the results here.
Integrity checker has been disabled. Integrity cannot be verified.
List of activated apps:
App list
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud configuration:
Config report
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder
or
Insert your config.php content here.
Make sure to remove all sensitive content such as passwords. (e.g. database password, passwordsalt, secret, smtp password, …)
Are you using external storage, if yes which one: local/smb/sftp/...
SFTP
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No