Skip to content

Broken (low resolution) favicon generation after enabling php-svg with libmagickcore-6.q16-6-extra #27502

@Tachi107

Description

@Tachi107

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

  1. Install libmagickcore-6.q16-6-extra (php-svg support)
  2. Wait a few hours
  3. Go to cloud.domain.tld/apps/theming/favicon/spreed (replace spreed with any other app name)

Expected behaviour

Favicons should render normally

Here's Talk's icon (cached from Chromium, low res)
image

Actual behaviour

Favicons look pixelated even if they are of an high enough resolution, like rendered at 16x16 and then upscaled at 128x128.

Also happened a some time ago (Nextcloud 20), and removing libmagickcore-6.q16-6-extra solved the issue (after more than a week)

Here's Talk's icon
image

The core icon (cloud.domain.tld/core/img/favicon.ico) is not affected

Server configuration

Operating system: Debian 10

Web server: Nginx 1.20.0

Database: PostgreSQL 13.3

PHP version: 7.3.19

Nextcloud version: 21.0.2.1 (also happened a while ago with version 20)

Updated from an older Nextcloud/ownCloud or fresh install: Updated from Nextcloud 20 (and maybe even 19, but I can't remember)

Where did you install Nextcloud from: "classic" installation from the tarball

Signing status:

Signing status
No errors have been found.

List of activated apps:

App list
Enabled:
  - accessibility: 1.7.0
  - activity: 2.14.3
  - bruteforcesettings: 2.1.0
  - calendar: 2.2.2
  - cloud_federation_api: 1.4.0
  - comments: 1.11.0
  - contacts: 3.5.1
  - contactsinteraction: 1.2.0
  - dashboard: 7.1.0
  - dav: 1.17.1
  - deck: 1.4.2
  - federatedfilesharing: 1.11.0
  - federation: 1.11.0
  - files: 1.16.0
  - files_pdfviewer: 2.1.0
  - files_rightclick: 1.0.0
  - files_sharing: 1.13.1
  - files_trashbin: 1.11.0
  - files_versions: 1.14.0
  - files_videoplayer: 1.10.0
  - firstrunwizard: 2.10.0
  - integration_github: 1.0.0
  - logreader: 2.6.0
  - lookup_server_connector: 1.9.0
  - mail: 1.9.5
  - nextcloud_announcements: 1.10.0
  - notes: 4.0.4
  - notifications: 2.9.0
  - oauth2: 1.9.0
  - onlyoffice: 7.0.2
  - password_policy: 1.11.0
  - photos: 1.3.0
  - privacy: 1.5.0
  - provisioning_api: 1.11.0
  - recommendations: 1.0.0
  - serverinfo: 1.11.0
  - settings: 1.3.0
  - sharebymail: 1.11.0
  - spreed: 11.2.2
  - support: 1.4.0
  - survey_client: 1.9.0
  - systemtags: 1.11.0
  - text: 3.2.0
  - theming: 1.12.0
  - twofactor_backupcodes: 1.10.0
  - updatenotification: 1.11.0
  - user_backend_sql_raw: 1.1.0
  - user_status: 1.1.1
  - viewer: 1.5.0
  - weather_status: 1.1.0
  - workflowengine: 2.3.0
Disabled:
  - admin_audit
  - auto_mail_accounts
  - encryption
  - files_external
  - user_ldap

Nextcloud configuration:

Config report
{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "cloud.domain.tld"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "21.0.2.1",
        "overwrite.cli.url": "https:\/\/cloud.domain.tld",
        "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",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0
        },
        "filelocking.enabled": true,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "default_language": "it",
        "default_locale": "it_IT",
        "user_backend_sql_raw": {
            "db_type": "postgresql",
            "db_host": "localhost",
            "db_port": "5432",
            "db_name": "mail_server",
            "db_user": "mail_admin",
            "db_password": "MySuperStrongAndSafePasswordForMyLocalDatabase",
            "queries": {
                "get_password_hash_for_user": "SELECT password_hash FROM users_fqda WHERE fqda = :username",
                "user_exists": "SELECT EXISTS(SELECT 1 FROM users_fqda WHERE fqda = :username)",
                "get_users": "SELECT fqda FROM users_fqda WHERE (fqda ILIKE :search) OR (display_name ILIKE :search)",
                "set_password_hash_for_user": "UPDATE users SET password_hash = :new_password_hash WHERE username = split_part(:username, '@', 1) AND domain = split_part(:username, '@', 2)",
                "delete_user": "DELETE FROM users WHERE username = split_part(:username, '@', 1) AND domain = split_part(:username, '@', 2)",
                "get_display_name": "SELECT display_name FROM users WHERE username = split_part(:username, '@', 1) AND domain = split_part(:username, '@', 2)",
                "set_display_name": "UPDATE users SET display_name = :new_display_name WHERE username = split_part(:username, '@', 1) AND domain = split_part(:username, '@', 2)",
                "count_users": "SELECT COUNT (*) FROM users",
                "create_user": "INSERT INTO users (username, domain, password_hash) VALUES (split_part(:username, '@', 1), split_part(:username, '@', 2), :password_hash)"
            },
            "hash_algorithm_for_new_passwords": "argon2id"
        },
        "mail_smtpmode": "sendmail",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "auto_mail_accounts": {
            "imap_host": "imap.domain.tld",
            "imap_port": "993",
            "imap_ssl_mode": "ssl",
            "smtp_host": "smtp.domain.tld",
            "smtp_port": "465",
            "smtp_ssl_mode": "ssl"
        },
        "maintenance": false,
        "theme": "",
        "data-fingerprint": "removed-some-hash",
        "loglevel": 2,
        "default_phone_region": "IT"
    },
    "apps": {
        "accessibility": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.7.0"
        },
        "activity": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "2.14.3"
        },
        "auto_mail_accounts": {
            "installed_version": "0.1.7",
            "types": "",
            "enabled": "no"
        },
        "backgroundjob": {
            "lastjob": "503"
        },
        "bruteforcesettings": {
            "types": "",
            "enabled": "yes",
            "installed_version": "2.1.0"
        },
        "calendar": {
            "types": "",
            "enabled": "yes",
            "installed_version": "2.2.2"
        },
        "cloud_federation_api": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "1.4.0"
        },
        "comments": {
            "types": "logging",
            "enabled": "yes",
            "installed_version": "1.11.0"
        },
        "contacts": {
            "types": "dav",
            "enabled": "yes",
            "installed_version": "3.5.1"
        },
        "contactsinteraction": {
            "types": "dav",
            "enabled": "yes",
            "installed_version": "1.2.0"
        },
        "core": {
            "installedat": "1607709851.2221",
            "vendor": "nextcloud",
            "public_files": "files_sharing\/public.php",
            "public_webdav": "dav\/appinfo\/v1\/publicwebdav.php",
            "installed.bundles": "[\"CoreBundle\"]",
            "lastupdatedat": "1623653401",
            "theming.variables": "b92d206521717ac032f8aa58d3c7ff2f",
            "moveavatarsdone": "yes",
            "previewsCleanedUp": "1",
            "backgroundjobs_mode": "cron",
            "updater.secret.created": "1623449987",
            "lastcron": "1623700502",
            "lastupdateResult": "[]",
            "oc.integritycheck.checker": "[]"
        },
        "dashboard": {
            "types": "",
            "enabled": "yes",
            "installed_version": "7.1.0"
        },
        "dav": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "1.17.1",
            "regeneratedBirthdayCalendarsForYearFix": "yes",
            "buildCalendarSearchIndex": "yes",
            "buildCalendarReminderIndex": "yes",
            "chunks_migrated": "1"
        },
        "deck": {
            "types": "dav",
            "installed_version": "1.4.2",
            "enabled": "yes"
        },
        "federatedfilesharing": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.11.0"
        },
        "federation": {
            "types": "authentication",
            "enabled": "yes",
            "installed_version": "1.11.0"
        },
        "files": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "1.16.0",
            "cronjob_scan_files": "500"
        },
        "files_pdfviewer": {
            "types": "",
            "enabled": "yes",
            "installed_version": "2.1.0"
        },
        "files_rightclick": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.0.0"
        },
        "files_sharing": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "1.13.1"
        },
        "files_trashbin": {
            "types": "filesystem,dav",
            "enabled": "yes",
            "installed_version": "1.11.0"
        },
        "files_versions": {
            "types": "filesystem,dav",
            "enabled": "yes",
            "installed_version": "1.14.0"
        },
        "files_videoplayer": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.10.0"
        },
        "firstrunwizard": {
            "types": "logging",
            "enabled": "yes",
            "installed_version": "2.10.0"
        },
        "integration_github": {
            "types": "",
            "enabled": "yes",
            "client_id": "aaabbbbccccddd",
            "client_secret": "aaa1bbb2ccc3ddd4eee5fff6",
            "installed_version": "1.0.0"
        },
        "logreader": {
            "types": "",
            "enabled": "yes",
            "installed_version": "2.6.0",
            "levels": "01111"
        },
        "lookup_server_connector": {
            "types": "authentication",
            "enabled": "yes",
            "installed_version": "1.9.0"
        },
        "mail": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.9.5"
        },
        "nextcloud_announcements": {
            "types": "logging",
            "enabled": "yes",
            "pub_date": "Thu, 24 Oct 2019 00:00:00 +0200",
            "installed_version": "1.10.0"
        },
        "notes": {
            "installed_version": "4.0.4",
            "types": "",
            "enabled": "yes"
        },
        "notifications": {
            "types": "logging",
            "enabled": "yes",
            "installed_version": "2.9.0"
        },
        "oauth2": {
            "types": "authentication",
            "enabled": "yes",
            "installed_version": "1.9.0"
        },
        "onlyoffice": {
            "types": "filesystem",
            "enabled": "yes",
            "DocumentServerUrl": "https:\/\/office.domain.tld\/",
            "verify_peer_off": "false",
            "DocumentServerInternalUrl": "",
            "jwt_secret": "MySuperStrongAndSafePassword",
            "StorageUrl": "",
            "settings_error": "",
            "defFormats": "{\"csv\":\"false\",\"doc\":\"true\",\"docm\":\"false\",\"docx\":\"true\",\"dotx\":\"false\",\"epub\":\"false\",\"html\":\"false\",\"odp\":\"false\",\"ods\":\"false\",\"odt\":\"false\",\"otp\":\"false\",\"ots\":\"false\",\"ott\":\"false\",\"pdf\":\"false\",\"potm\":\"false\",\"potx\":\"false\",\"ppsm\":\"false\",\"ppsx\":\"false\",\"ppt\":\"true\",\"pptm\":\"false\",\"pptx\":\"true\",\"rtf\":\"false\",\"txt\":\"false\",\"xls\":\"true\",\"xlsm\":\"false\",\"xlsx\":\"true\",\"xltm\":\"false\",\"xltx\":\"false\"}",
            "editFormats": "{\"csv\":\"true\",\"odp\":\"false\",\"ods\":\"false\",\"odt\":\"false\",\"rtf\":\"false\",\"txt\":\"true\"}",
            "preview": "false",
            "groups": "[]",
            "customizationChat": "false",
            "customizationCompactHeader": "true",
            "customizationFeedback": "false",
            "customizationForcesave": "false",
            "customizationHelp": "false",
            "customizationToolbarNoTabs": "true",
            "customizationReviewDisplay": "original",
            "sameTab": "true",
            "installed_version": "7.0.2",
            "demo": "{\"available\":false,\"enabled\":false,\"start\":{\"date\":\"2021-01-17 15:49:54.067723\",\"timezone_type\":3,\"timezone\":\"UTC\"}}"
        },
        "password_policy": {
            "types": "authentication",
            "enabled": "yes",
            "installed_version": "1.11.0"
        },
        "photos": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.3.0"
        },
        "privacy": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.5.0",
            "readableLocation": "it"
        },
        "provisioning_api": {
            "types": "prevent_group_restriction",
            "enabled": "yes",
            "installed_version": "1.11.0"
        },
        "recommendations": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.0.0"
        },
        "richdocuments": {
            "installed_version": "3.7.11",
            "types": "filesystem,dav,prevent_group_restriction",
            "wopi_url": "https:\/\/cloud.domain.tld\/apps\/richdocumentscode\/proxy.php?req=",
            "disable_certificate_verification": "yes",
            "enabled": "no"
        },
        "richdocumentscode": {
            "installed_version": "6.4.202",
            "types": "",
            "enabled": "no"
        },
        "riotchat": {
            "disable_custom_urls": "true",
            "disable_login_language_selector": "true",
            "set_custom_permalink": "true",
            "installed_version": "0.7.1",
            "types": "",
            "base_url": "https:\/\/matrix.domain.tld",
            "server_name": "Matrix",
            "custom_json": "",
            "enabled": "no"
        },
        "serverinfo": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.11.0",
            "cached_count_storages": "26",
            "cached_count_filecache": "13306"
        },
        "settings": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.3.0"
        },
        "sharebymail": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "1.11.0"
        },
        "spreed": {
            "types": "dav,prevent_group_restriction",
            "project_access_invalidated": "1",
            "installed_version": "11.2.2",
            "signaling_servers": "***REMOVED SENSITIVE VALUE***",
            "enabled": "yes",
            "stun_servers": "***REMOVED SENSITIVE VALUE***",
            "signaling_ticket_secret": "***REMOVED SENSITIVE VALUE***",
            "turn_servers": "***REMOVED SENSITIVE VALUE***",
            "has_reference_id": "yes"
        },
        "support": {
            "types": "session",
            "enabled": "yes",
            "installed_version": "1.4.0",
            "SwitchUpdaterServerHasRun": "yes"
        },
        "survey_client": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.9.0",
            "last_sent": "1622227203",
            "last_report": "{\"id\":\"ocs57w6biaxj\",\"items\":[[\"server\",\"version\",\"20.0.10.1\"],[\"server\",\"code\",\"other\"],[\"server\",\"enable_avatars\",\"yes\"],[\"server\",\"enable_previews\",\"yes\"],[\"server\",\"memcache.local\",\"\\\\OC\\\\Memcache\\\\APCu\"],[\"server\",\"memcache.distributed\",\"\\\\OC\\\\Memcache\\\\Redis\"],[\"server\",\"asset-pipeline.enabled\",\"no\"],[\"server\",\"filelocking.enabled\",\"yes\"],[\"server\",\"memcache.locking\",\"\\\\OC\\\\Memcache\\\\Redis\"],[\"server\",\"debug\",\"no\"],[\"server\",\"cron\",\"cron\"],[\"php\",\"version\",\"7.3.19\"],[\"php\",\"memory_limit\",-1],[\"php\",\"max_execution_time\",0],[\"php\",\"upload_max_filesize\",2097152],[\"database\",\"type\",\"pgsql\"],[\"database\",\"version\",\"PostgreSQL 13.3 (Debian 13.3-1.pgdg100+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 8.3.0-6) 8.3.0, 64-bit\"],[\"database\",\"size\",36573743],[\"apps\",\"comments\",\"1.10.0\"],[\"apps\",\"logreader\",\"2.5.0\"],[\"apps\",\"federation\",\"1.10.1\"],[\"apps\",\"serverinfo\",\"1.10.0\"],[\"apps\",\"files_versions\",\"1.13.0\"],[\"apps\",\"cloud_federation_api\",\"1.3.0\"],[\"apps\",\"provisioning_api\",\"1.10.0\"],[\"apps\",\"lookup_server_connector\",\"1.8.0\"],[\"apps\",\"settings\",\"1.2.0\"],[\"apps\",\"viewer\",\"1.4.0\"],[\"apps\",\"user_status\",\"1.0.1\"],[\"apps\",\"weather_status\",\"1.0.0\"],[\"apps\",\"notifications\",\"2.8.0\"],[\"apps\",\"files_trashbin\",\"1.10.1\"],[\"apps\",\"systemtags\",\"1.10.0\"],[\"apps\",\"workflowengine\",\"2.2.0\"],[\"apps\",\"password_policy\",\"1.10.1\"],[\"apps\",\"recommendations\",\"0.8.0\"],[\"apps\",\"sharebymail\",\"1.10.0\"],[\"apps\",\"files\",\"1.15.0\"],[\"apps\",\"firstrunwizard\",\"2.9.0\"],[\"apps\",\"support\",\"1.3.0\"],[\"apps\",\"files_pdfviewer\",\"2.0.1\"],[\"apps\",\"files_rightclick\",\"0.17.0\"],[\"apps\",\"twofactor_backupcodes\",\"1.9.0\"],[\"apps\",\"theming\",\"1.11.0\"],[\"apps\",\"accessibility\",\"1.6.0\"],[\"apps\",\"nextcloud_announcements\",\"1.9.0\"],[\"apps\",\"files_videoplayer\",\"1.9.0\"],[\"apps\",\"contactsinteraction\",\"1.1.0\"],[\"apps\",\"text\",\"3.1.0\"],[\"apps\",\"activity\",\"2.13.4\"],[\"apps\",\"updatenotification\",\"1.10.0\"],[\"apps\",\"dashboard\",\"7.0.0\"],[\"apps\",\"survey_client\",\"1.8.0\"],[\"apps\",\"oauth2\",\"1.8.0\"],[\"apps\",\"privacy\",\"1.4.0\"],[\"apps\",\"files_sharing\",\"1.12.2\"],[\"apps\",\"dav\",\"1.16.2\"],[\"apps\",\"photos\",\"1.2.3\"],[\"apps\",\"bruteforcesettings\",\"2.1.0\"],[\"apps\",\"richdocuments\",\"disabled\"],[\"apps\",\"richdocumentscode\",\"disabled\"],[\"apps\",\"federatedfilesharing\",\"1.10.2\"],[\"apps\",\"auto_mail_accounts\",\"0.1.7\"],[\"apps\",\"notes\",\"4.0.4\"],[\"apps\",\"contacts\",\"3.5.1\"],[\"apps\",\"deck\",\"1.2.7\"],[\"apps\",\"user_backend_sql_raw\",\"1.0.12\"],[\"apps\",\"spreed\",\"10.0.7\"],[\"apps\",\"integration_github\",\"1.0.0\"],[\"apps\",\"mail\",\"1.9.5\"],[\"apps\",\"calendar\",\"2.2.2\"],[\"apps\",\"onlyoffice\",\"6.4.2\"],[\"apps\",\"riotchat\",\"disabled\"],[\"stats\",\"num_files\",6180],[\"stats\",\"num_users\",23],[\"stats\",\"num_storages\",25],[\"stats\",\"num_storages_local\",1],[\"stats\",\"num_storages_home\",24],[\"stats\",\"num_storages_other\",0],[\"stats\",\"num_comments\",6730],[\"stats\",\"num_comment_markers\",0],[\"stats\",\"num_systemtags\",0],[\"stats\",\"num_systemtags_mappings\",0],[\"files_sharing\",\"num_shares\",407],[\"files_sharing\",\"num_shares_user\",4],[\"files_sharing\",\"num_shares_groups\",0],[\"files_sharing\",\"num_shares_link\",2],[\"files_sharing\",\"num_shares_link_no_password\",2],[\"files_sharing\",\"num_fed_shares_sent\",0],[\"files_sharing\",\"num_fed_shares_received\",0],[\"files_sharing\",\"permissions_10_19\",78],[\"files_sharing\",\"permissions_0_31\",3],[\"files_sharing\",\"permissions_3_17\",2],[\"files_sharing\",\"permissions_0_19\",1],[\"files_sharing\",\"permissions_11_19\",323],[\"encryption\",\"enabled\",\"no\"],[\"encryption\",\"default_module\",\"no\"]]}"
        },
        "systemtags": {
            "types": "logging",
            "enabled": "yes",
            "installed_version": "1.11.0"
        },
        "text": {
            "types": "dav",
            "enabled": "yes",
            "installed_version": "3.2.0"
        },
        "theming": {
            "types": "logging",
            "enabled": "yes",
            "installed_version": "1.12.0"
        },
        "twofactor_backupcodes": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.10.0"
        },
        "updatenotification": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.11.0",
            "notes": "4.0.4",
            "integration_github": "1.0.0",
            "deck": "1.2.7",
            "calendar": "2.2.2",
            "core": "21.0.2.1",
            "update_check_errors": "0",
            "contacts": "3.5.1",
            "spreed": "10.0.8",
            "mail": "1.9.5",
            "riotchat": "0.7.2",
            "bruteforcesettings": "2.1.0",
            "onlyoffice": "6.4.2",
            "user_backend_sql_raw": "1.1.0"
        },
        "user_backend_sql_raw": {
            "enabled": "yes",
            "types": "prelogin,authentication",
            "installed_version": "1.1.0"
        },
        "user_status": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.1.1"
        },
        "viewer": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.5.0"
        },
        "weather_status": {
            "types": "",
            "enabled": "yes",
            "installed_version": "1.1.0"
        },
        "workflowengine": {
            "types": "filesystem",
            "enabled": "yes",
            "installed_version": "2.3.0"
        }
    }
}

Asking users to dump occ config:list is WAY TO DANGEROUS. There is a lot of sensitive information that the commend does not hide, and inexperienced users could expose their sensitive information here.

Are you using external storage, if yes which one: nope

Are you using encryption: no

Are you using an external user-backend, if yes which one: no

Client configuration (irrelevant)

Browser: Chromium 90 and Firefox

Operating system: Debian Testing and Windows 10

Logs

Web server error log

Web server error log
Nothing relevant

Nextcloud log (data/nextcloud.log)

Nextcloud log
Nothing relevant

Browser log

Browser log
No log when loading cloud.domain.tld/apps/theming/favicon/spreed?v=0

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions