-
-
Notifications
You must be signed in to change notification settings - Fork 4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Theming error when converting SVG to PNG for email #11206
Comments
+1 Same issue. Just verified SMTP works after disabling Theming app.. |
Both of our logs indicate issues converting the SVG file to PNG. Did you upload a SVG file to the theme by chance? I replaced the SVG with a PNG and the error has stopped. All is good now. |
Could you share the broken logo for easier debugging? |
I can agree, that the error occured when using any svg file. it was not specific to a specific one. Meanwhile i was able to solve the problem with completely removing and reinstalling the theming plugin. |
cc @juliushaertl for the SVG to PNG conversion |
What PHP extensions do you have enabled? |
I fixed the type error (#11610). Could you try again when Nextcloud 14.0.2 is released? Even when conversion from svg to png does not work the mail should be send. |
@JUVOWebDes @arnydo Can you check the output of the following command: It should output a list of supported SVG formats by the imagick library of your system:
|
@juliushaertl in my case the output was:
I am pretty sure i had a version of imagemagick installed. |
@JUVOWebDes That is rather strange output, i guess that is some debian/ubuntu hint thing since the |
@juliushaertl I dif not seem to have the
|
With that update, do you still get the error or is it properly generating the png files? |
As there is no feedback since a while and we can't reproduce the issue I will close this ticket. If this is still happening please feel free to reopen. |
I currently can´t send Emails via smtp because the Theming Add-On is causing a TypeError. After deactivating the Add-On everything is working as supposed.
Steps to reproduce
Expected behaviour
Test E-Mail Delivery with SMTP
Actual behaviour
PHP Error caused by the theming Add-On
Server configuration
Operating system:
Ubuntu 18.04
Web server:
Apache 2.4
Database:
MariaDB
PHP version:
7.2
Nextcloud version: (see Nextcloud admin page)
14.0.0
Updated from an older Nextcloud/ownCloud or fresh install:
Fresh Install
Where did you install Nextcloud from:
Manually , Nextcloud Website
List of activated apps:
App list
Nextcloud configuration:
Config report
{ "system": { "instanceid": "***REMOVED SENSITIVE VALUE***", "passwordsalt": "***REMOVED SENSITIVE VALUE***", "secret": "***REMOVED SENSITIVE VALUE***", "trusted_domains": [ "cloud.juvo-design.de" ], "mail_smtpdebug": true, "datadirectory": "***REMOVED SENSITIVE VALUE***", "dbtype": "mysql", "version": "14.0.0.19", "overwrite.cli.url": "https:\/\/juvo-design.de", "dbname": "***REMOVED SENSITIVE VALUE***", "dbhost": "***REMOVED SENSITIVE VALUE***", "dbport": "", "dbtableprefix": "oc_", "dbuser": "***REMOVED SENSITIVE VALUE***", "dbpassword": "***REMOVED SENSITIVE VALUE***", "installed": true, "memcache.local": "\\OC\\Memcache\\APCu", "overwriteprotocol": "https", "skeletondirectory": "", "logtimezone": "Europe\/Berlin", "mail_domain": "***REMOVED SENSITIVE VALUE***", "mail_from_address": "***REMOVED SENSITIVE VALUE***", "mail_smtpmode": "smtp", "mail_smtpauthtype": "LOGIN", "mail_smtphost": "***REMOVED SENSITIVE VALUE***", "mail_smtpport": "25", "mail_smtpsecure": "tls", "mail_smtpauth": 1, "mail_smtpname": "***REMOVED SENSITIVE VALUE***", "mail_smtppassword": "***REMOVED SENSITIVE VALUE***", "mail_smtptimeout": "30", "maintenance": false, "updater.release.channel": "production" }, "apps": { "accessibility": { "enabled": "no", "installed_version": "1.0.1", "types": "" }, "activity": { "enabled": "yes", "installed_version": "2.7.0", "types": "filesystem" }, "backgroundjob": { "lastjob": "3" }, "bruteforcesettings": { "enabled": "no", "installed_version": "1.1.0", "types": "" }, "cloud_federation_api": { "enabled": "yes", "installed_version": "0.0.1", "types": "filesystem" }, "comments": { "enabled": "no", "installed_version": "1.4.0", "types": "logging" }, "core": { "backgroundjobs_mode": "cron", "installedat": "1536799912.2322", "lastcron": "1536858253", "lastupdateResult": "[]", "lastupdatedat": "1536857714", "oc.integritycheck.checker": "[]", "public_files": "files_sharing\/public.php", "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php", "scss.variables": "cce591fc219ff8f7c73d3b6d3a822d22", "shareapi_allow_public_upload": "no", "shareapi_default_expire_date": "yes", "shareapi_enable_link_password_by_default": "yes", "shareapi_enforce_expire_date": "yes", "shareapi_enforce_links_password": "yes", "vendor": "nextcloud" }, "dav": { "enabled": "yes", "installed_version": "1.6.0", "types": "filesystem" }, "federatedfilesharing": { "enabled": "yes", "installed_version": "1.4.0", "types": "" }, "federation": { "enabled": "no", "installed_version": "1.4.0", "types": "authentication" }, "files": { "default_quota": "1 GB", "enabled": "yes", "installed_version": "1.9.0", "types": "filesystem" }, "files_external": { "enabled": "yes", "installed_version": "1.5.0", "types": "filesystem" }, "files_pdfviewer": { "enabled": "yes", "installed_version": "1.3.2", "types": "" }, "files_sharing": { "enabled": "yes", "installed_version": "1.6.2", "types": "filesystem" }, "files_texteditor": { "enabled": "yes", "installed_version": "2.6.0", "types": "" }, "files_trashbin": { "enabled": "yes", "installed_version": "1.4.1", "types": "filesystem,dav" }, "files_versions": { "enabled": "yes", "installed_version": "1.7.1", "types": "filesystem,dav" }, "files_videoplayer": { "enabled": "yes", "installed_version": "1.3.0", "types": "" }, "firstrunwizard": { "enabled": "no", "installed_version": "2.3.0", "types": "logging" }, "gallery": { "enabled": "no", "installed_version": "18.1.0", "types": "" }, "logreader": { "enabled": "yes", "installed_version": "2.0.0", "ocsid": "170871", "types": "" }, "lookup_server_connector": { "enabled": "yes", "installed_version": "1.2.0", "types": "authentication" }, "nextcloud_announcements": { "enabled": "yes", "installed_version": "1.3.0", "pub_date": "Sat, 10 Dec 2016 00:00:00 +0100", "types": "logging" }, "notifications": { "enabled": "yes", "installed_version": "2.2.1", "types": "logging" }, "oauth2": { "enabled": "yes", "installed_version": "1.2.1", "types": "authentication" }, "password_policy": { "enabled": "yes", "enforceHaveIBeenPwned": "1", "enforceNumericCharacters": "1", "enforceSpecialCharacters": "1", "enforceUpperLowerCase": "1", "installed_version": "1.4.0", "types": "" }, "provisioning_api": { "enabled": "yes", "installed_version": "1.4.0", "types": "prevent_group_restriction" }, "ransomware_detection": { "debug": 0, "enabled": "yes", "installed_version": "0.3.3", "types": "logging" }, "serverinfo": { "enabled": "yes", "installed_version": "1.4.0", "types": "" }, "sharebymail": { "enabled": "yes", "installed_version": "1.4.0", "types": "filesystem" }, "support": { "enabled": "no", "installed_version": "1.0.0", "types": "" }, "survey_client": { "enabled": "no", "installed_version": "1.2.0", "types": "" }, "systemtags": { "enabled": "yes", "installed_version": "1.4.0", "types": "logging" }, "theming": { "cachebuster": "17", "color": "#303030", "enabled": "yes", "faviconMime": "image\/png", "imprintUrl": "https:\/\/juvo-design.de\/impressum", "installed_version": "1.5.0", "logoMime": "image\/svg+xml", "name": "JUVO Webdesign", "privacyUrl": "https:\/\/juvo-design.de\/datenschutzerklaerung", "types": "logging", "url": "https:\/\/juvo-design.de" }, "twofactor_backupcodes": { "enabled": "yes", "installed_version": "1.3.1", "types": "" }, "twofactor_totp": { "enabled": "yes", "installed_version": "1.5.0", "types": "" }, "updatenotification": { "enabled": "yes", "installed_version": "1.4.1", "types": "" }, "workflowengine": { "enabled": "yes", "installed_version": "1.4.0", "types": "filesystem" } } }Are you using external storage, if yes which one: local/smb/sftp/...
Yes, three folders are mounted with sftp
Are you using encryption: yes/no
No
Are you using an external user-backend, if yes which one: LDAP/ActiveDirectory/Webdav/...
No
Client configuration
Browser:
Firefox 61
Operating system:
Win 10 Professional
Logs
Nextcloud log (data/nextcloud.log)
Nextcloud log
The text was updated successfully, but these errors were encountered: