Hello,
i would view some Pictures, saved on my Nextcloud, but the Preview Picture generation is very slowly.
Nextcloud version (eg, 10.0.2):
Operating system and version (eg, Ubuntu 16.04):
Apache or nginx version (eg, Apache 2.4.25):
PHP version (eg, 5.6):
Is this the first time you’ve seen this error?:
Can you reliably replicate it? (If so, please outline steps):
The issue you are facing:
The output of your Nextcloud log in Admin > Logging:
Error Exception: Preview generation has failed
Error PHP imagecreatefromstring(): Data is not in a recognized format at /var/www/nextcloud/lib/private/legacy/image.php#628
What can i do?
My System:
Odroid C2
2 GB RAM
Quadcore CPU.
Nextcloud 12.0.3
Ubuntu 16.04.03 LTS
{
"id": "octqh90ynqtp",
"items": [
[
"server",
"version",
"12.0.3.3"
],
[
"server",
"code",
"other"
],
[
"server",
"enable_avatars",
"yes"
],
[
"server",
"enable_previews",
"yes"
],
[
"server",
"memcache.local",
"\\OC\\Memcache\\APCu"
],
[
"server",
"memcache.distributed",
"none"
],
[
"server",
"asset-pipeline.enabled",
"no"
],
[
"server",
"filelocking.enabled",
"yes"
],
[
"server",
"memcache.locking",
"none"
],
[
"server",
"debug",
"no"
],
[
"server",
"cron",
"cron"
],
[
"php",
"version",
"7.0.22"
],
[
"php",
"memory_limit",
536870912
],
[
"php",
"max_execution_time",
3600
],
[
"php",
"upload_max_filesize",
535822336
],
[
"database",
"type",
"mysql"
],
[
"database",
"version",
"5.7.20"
],
[
"database",
"size",
20619264
],
[
"apps",
"activity",
"2.5.2"
],
[
"apps",
"bruteforcesettings",
"1.0.2"
],
[
"apps",
"calendar",
"1.5.6"
],
[
"apps",
"comments",
"1.2.0"
],
[
"apps",
"contacts",
"2.0.1"
],
[
"apps",
"dav",
"1.3.0"
],
[
"apps",
"documents",
"disabled"
],
[
"apps",
"external",
"2.0.3"
],
[
"apps",
"federatedfilesharing",
"1.2.0"
],
[
"apps",
"federation",
"1.2.0"
],
[
"apps",
"files",
"1.7.2"
],
[
"apps",
"files_automatedtagging",
"1.2.2"
],
[
"apps",
"files_clipboard",
"0.6.4"
],
[
"apps",
"files_downloadactivity",
"1.1.1"
],
[
"apps",
"files_external",
"1.3.0"
],
[
"apps",
"files_markdown",
"2.0.1"
],
[
"apps",
"files_pdfviewer",
"1.1.1"
],
[
"apps",
"files_sharing",
"1.4.0"
],
[
"apps",
"files_texteditor",
"2.4.1"
],
[
"apps",
"files_trashbin",
"1.2.0"
],
[
"apps",
"files_versions",
"1.5.0"
],
[
"apps",
"files_videoplayer",
"1.1.0"
],
[
"apps",
"firstrunwizard",
"2.1"
],
[
"apps",
"gallery",
"17.0.0"
],
[
"apps",
"logreader",
"2.0.0"
],
[
"apps",
"lookup_server_connector",
"1.0.0"
],
[
"apps",
"lsd",
"disabled"
],
[
"apps",
"mail",
"0.7.4"
],
[
"apps",
"metadata",
"0.6.0"
],
[
"apps",
"music",
"0.5.3"
],
[
"apps",
"nextant",
"1.0.8"
],
[
"apps",
"nextcloud_announcements",
"1.1"
],
[
"apps",
"notes",
"2.3.1"
],
[
"apps",
"notifications",
"2.0.0"
],
[
"apps",
"oauth2",
"1.0.5"
],
[
"apps",
"ocdownloader",
"1.5.4"
],
[
"apps",
"ocr",
"disabled"
],
[
"apps",
"password_policy",
"1.2.2"
],
[
"apps",
"previewgenerator",
"1.0.7"
],
[
"apps",
"provisioning_api",
"1.2.0"
],
[
"apps",
"registration",
"disabled"
],
[
"apps",
"serverinfo",
"1.2.0"
],
[
"apps",
"sharebymail",
"1.2.0"
],
[
"apps",
"socialsharing_diaspora",
"1.0.1"
],
[
"apps",
"socialsharing_email",
"1.0.1"
],
[
"apps",
"socialsharing_facebook",
"1.0.1"
],
[
"apps",
"socialsharing_googleplus",
"1.0.1"
],
[
"apps",
"socialsharing_twitter",
"1.0.1"
],
[
"apps",
"spreed",
"2.0.1"
],
[
"apps",
"survey_client",
"1.0.0"
],
[
"apps",
"systemtags",
"1.2.0"
],
[
"apps",
"tasks",
"0.9.5"
],
[
"apps",
"theming",
"1.3.0"
],
[
"apps",
"theming_customcss",
"1.0.0"
],
[
"apps",
"twofactor_backupcodes",
"1.1.1"
],
[
"apps",
"unsplash",
"disabled"
],
[
"apps",
"updatenotification",
"1.2.0"
],
[
"apps",
"workflowengine",
"1.2.0"
],
[
"stats",
"num_files",
46793
],
[
"stats",
"num_users",
3
],
[
"stats",
"num_storages",
8
],
[
"stats",
"num_storages_local",
2
],
[
"stats",
"num_storages_home",
3
],
[
"stats",
"num_storages_other",
3
],
[
"stats",
"num_comments",
0
],
[
"stats",
"num_comment_markers",
0
],
[
"stats",
"num_systemtags",
0
],
[
"stats",
"num_systemtags_mappings",
0
],
[
"files_sharing",
"num_shares",
0
],
[
"files_sharing",
"num_shares_user",
0
],
[
"files_sharing",
"num_shares_groups",
0
],
[
"files_sharing",
"num_shares_link",
0
],
[
"files_sharing",
"num_shares_link_no_password",
0
],
[
"files_sharing",
"num_fed_shares_sent",
0
],
[
"files_sharing",
"num_fed_shares_received",
0
],
[
"encryption",
"enabled",
"no"
],
[
"encryption",
"default_module",
"no"
]
]
}
Can anyone help me?