-
-
Notifications
You must be signed in to change notification settings - Fork 4.6k
Closed
Labels
1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care ofbugfeature: previews and thumbnails
Description
How to use GitHub
- Please use the 👍 reaction to show that you are affected by the same issue.
- Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
- Subscribe to receive notifications on status change and new comments.
Steps to reproduce
- Well, I have no idea. The only think I understand is that it got something to do with zip and ODS (vnd.oasis.opendocument.text)? Or maybe I am wrong.
Expected behaviour
No zip related errors in the log.
Actual behaviour
A lot of zip related errors in the log.
Server configuration
Operating system:
Ubuntu 20.04.1 Server
Web server:
Apache, don't know version
Database:
MariaDB 10.4.12
PHP version:
7.4.14
Nextcloud version: (see Nextcloud admin page)
20.0.6
Updated from an older Nextcloud/ownCloud or fresh install:
Updated, started on 18
Where did you install Nextcloud from:
Docker
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.
I get "No errors have been found."
List of activated apps:
- accessibility: 1.6.0
- activity: 2.13.4
- admin_audit: 1.10.0
- breezedark: 20.0.3
- bruteforcesettings: 2.0.1
- calendar: 2.1.3
- camerarawpreviews: 0.7.10
- cloud_federation_api: 1.3.0
- comments: 1.10.0
- contacts: 3.4.3
- contactsinteraction: 1.1.0
- dashboard: 7.0.0
- dav: 1.16.2
- federatedfilesharing: 1.10.2
- federation: 1.10.1
- files: 1.15.0
- files_pdfviewer: 2.0.1
- files_rightclick: 0.17.0
- files_sharing: 1.12.2
- files_trashbin: 1.10.1
- files_versions: 1.13.0
- files_videoplayer: 1.9.0
- firstrunwizard: 2.9.0
- imageconverter: 1.3.1
- logreader: 2.5.0
- lookup_server_connector: 1.8.0
- nextcloud_announcements: 1.9.0
- notes: 4.0.2
- notifications: 2.8.0
- oauth2: 1.8.0
- password_policy: 1.10.1
- photos: 1.2.3
- previewgenerator: 3.1.0
- privacy: 1.4.0
- provisioning_api: 1.10.0
- recommendations: 0.8.0
- richdocuments: 3.7.11
- richdocumentscode: 6.4.303
- serverinfo: 1.10.0
- settings: 1.2.0
- sharebymail: 1.10.0
- spreed: 10.0.5
- support: 1.3.0
- survey_client: 1.8.0
- systemtags: 1.10.0
- tasks: 0.13.6
- text: 3.1.0
- theming: 1.11.0
- twofactor_backupcodes: 1.9.0
- twofactor_nextcloud_notification: 3.1.0
- updatenotification: 1.10.0
- user_status: 1.0.1
- viewer: 1.4.0
- weather_status: 1.0.0
- workflowengine: 2.2.0
</details>
**Nextcloud configuration:**
<details>
{
"system": {
"htaccess.RewriteBase": "\/",
"memcache.local": "\\OC\\Memcache\\APCu",
"apps_paths": [
{
"path": "\/var\/www\/html\/apps",
"url": "\/apps",
"writable": false
},
{
"path": "\/var\/www\/html\/custom_apps",
"url": "\/custom_apps",
"writable": true
}
],
"instanceid": "***REMOVED SENSITIVE VALUE***",
"passwordsalt": "***REMOVED SENSITIVE VALUE***",
"secret": "***REMOVED SENSITIVE VALUE***",
"trusted_domains": [
"drive.benis.se"
],
"datadirectory": "***REMOVED SENSITIVE VALUE***",
"dbtype": "mysql",
"version": "20.0.6.1",
"poverwrite.cli.url": "https",
"overwriteprotocol": "https",
"dbname": "***REMOVED SENSITIVE VALUE***",
"dbhost": "***REMOVED SENSITIVE VALUE***",
"dbport": "",
"dbtableprefix": "oc_",
"mysql.utf8mb4": true,
"dbuser": "***REMOVED SENSITIVE VALUE***",
"dbpassword": "***REMOVED SENSITIVE VALUE***",
"installed": true,
"loglevel": 2,
"maintenance": false,
"mail_smtpmode": "smtp",
"mail_smtpsecure": "ssl",
"mail_sendmailmode": "smtp",
"mail_smtphost": "***REMOVED SENSITIVE VALUE***",
"mail_from_address": "***REMOVED SENSITIVE VALUE***",
"mail_domain": "***REMOVED SENSITIVE VALUE***",
"mail_smtpauthtype": "LOGIN",
"mail_smtpauth": 1,
"mail_smtpname": "***REMOVED SENSITIVE VALUE***",
"mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
"mail_smtpport": "465",
"overwrite.cli.url": "https:\/\/drive.benis.se",
"allow_local_remote_servers": true,
"preview_max_x": "2048",
"preview_max_y": "2048",
"jpeg_quality": "60"
}
}
Are you using external storage, if yes which one: Local
Are you using encryption: no
Are you using an external user-backend, if yes which one: No
LDAP configuration (delete this part if not used)
Client configuration
Browser:
Firefox 84.0.2
Operating system:
Ubuntu 20.04.1
Logs
Web server error log
Web server error log
I don't have access/knowledge.
Nextcloud log (data/nextcloud.log)
Nextcloud log
[PHP] Error: Error: ZipArchive::getStream(): Invalid or uninitialized Zip object at /var/www/html/lib/private/Archive/ZIP.php#155 at <<closure>>
0. <<closure>>
OC\Log\ErrorHandler::onError(2, "ZipArchive::get ... t", "/var/www/html/l ... p", 155, {path: "Thumbnai ... "})
1. /var/www/html/lib/private/Archive/ZIP.php line 155
ZipArchive->getStream("Thumbnails/thumbnail.png")
2. /var/www/html/lib/private/Preview/Bundled.php line 43
OC\Archive\ZIP->extractFile("Thumbnails/thumbnail.png", "/tmp/oc_tmp_DIMRcP")
3. /var/www/html/lib/private/Preview/OpenDocument.php line 45
OC\Preview\Bundled->extractThumbnail(OC\Files\Node\File {}, "Thumbnails/thumbnail.png")
4. /var/www/html/lib/private/Preview/GeneratorHelper.php line 63
OC\Preview\OpenDocument->getThumbnail(OC\Files\Node\File {}, 2048, 2048)
5. /var/www/html/lib/private/Preview/Generator.php line 244
OC\Preview\GeneratorHelper->getThumbnail(OC\Preview\OpenDocument {}, OC\Files\Node\File {}, 2048, 2048)
6. /var/www/html/lib/private/Preview/Generator.php line 140
OC\Preview\Generator->getMaxPreview(OC\Files\SimpleFS\SimpleFolder {}, OC\Files\Node\File {}, "application/vnd.oasis.opendocument.text", "")
7. /var/www/html/lib/private/Preview/Generator.php line 109
OC\Preview\Generator->generatePreviews(OC\Files\Node\File {}, [{width: 313,hei ... }], "application/vnd.oasis.opendocument.text")
8. /var/www/html/lib/private/PreviewManager.php line 190
OC\Preview\Generator->getPreview(OC\Files\Node\File {}, 313, 313, true, "fill", null)
9. /var/www/html/core/Controller/PreviewController.php line 170
OC\PreviewManager->getPreview(OC\Files\Node\File {}, 313, 313, true, "fill")
10. /var/www/html/core/Controller/PreviewController.php line 143
OC\Core\Controller\PreviewController->fetchPreview(OC\Files\Node\File {}, 313, 313, false, false, "fill")
11. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 169
OC\Core\Controller\PreviewController->getPreviewByFileId(4065724, 313, 313, false, false, "fill")
12. /var/www/html/lib/private/AppFramework/Http/Dispatcher.php line 100
OC\AppFramework\Http\Dispatcher->executeController(OC\Core\Controller\PreviewController {}, "getPreviewByFileId")
13. /var/www/html/lib/private/AppFramework/App.php line 152
OC\AppFramework\Http\Dispatcher->dispatch(OC\Core\Controller\PreviewController {}, "getPreviewByFileId")
14. /var/www/html/lib/private/Route/Router.php line 309
OC\AppFramework\App::main("OC\\Core\\Controller\\PreviewController", "getPreviewByFileId", OC\AppFramework\ ... {}, {_route: "core.P ... "})
15. /var/www/html/lib/base.php line 1008
OC\Route\Router->match("/core/preview")
16. /var/www/html/index.php line 37
OC::handleRequest()
GET /core/preview?fileId=4065724&c=f89c3ac0f4fc37510ba38d8879632115&x=313&y=313&forceIcon=0
from 172.18.0.3 by benjamin at 2021-01-26T21:22:03+00:00
Browser log
Browser log
I don't know how to do that, sorry.
l00v3, 2br-2b, c-schulz-rd13, st3iny, amo13 and 3 more
Metadata
Metadata
Assignees
Labels
1. to developAccepted and waiting to be taken care ofAccepted and waiting to be taken care ofbugfeature: previews and thumbnails