Skip to content

[Bug]: Image not found: image:mail-dark.svg webroot: serverroot:/snap/nextcloud/53545/htdocs #61983

Description

@fola3D

⚠️ This issue respects the following points: ⚠️

Bug description

After an auto update via snap, dashboard kept bringing on an Internal Server Error. After reverting the update, the dashboard still shows an Internal Server Error. This looks similar to #47985 however, it's impossible to remove the dashboard.

Steps to reproduce

  1. Update to Nextcloud 33
  2. Go to the /index.php/apps/dashboard/ (other parts of nextcloud works, but the dashboard is the first site shown after login)

Expected behavior

Its should show the dashboard

Nextcloud Server version

32

Operating system

Debian/Ubuntu

PHP engine version

Other

Web server

Apache (supported)

Database engine version

MySQL

Is this bug present after an update or on a fresh install?

Upgraded to a MAJOR version (ex. 31 to 32)

Are you using the Nextcloud Server Encryption module?

Encryption is Disabled

What user-backends are you using?

  • Default user-backend (database)
  • LDAP/ Active Directory
  • SSO - SAML
  • Other

Configuration report

{
    "system": {
        "apps_paths": [
            {
                "path": "\/snap\/nextcloud\/current\/htdocs\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/snap\/nextcloud\/current\/nextcloud\/extra-apps",
                "url": "\/extra-apps",
                "writable": true
            }
        ],
        "supportedDatabases": [
            "mysql"
        ],
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\APCu",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 0
        },
        "log_type": "file",
        "logfile": "\/var\/snap\/nextcloud\/current\/logs\/nextcloud.log",
        "logfilemode": 416,
        "maintenance_window_start": 1,
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "100.120.243.86",
            "nextcloud.tail459e89.ts.net",
            "fd7a:115c:a1e0::8633:f356",
            "nextcloud"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "33.0.5.1",
        "overwrite.cli.url": "http:\/\/100.120.243.86",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbtableprefix": "oc_",
        "mysql.utf8mb4": true,
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "installed": true,
        "config_preset": 2,
        "app_install_overwrite": [
            "breezedark",
            "ransomware_protection",
            "twothousandandfortyeight",
            "keeporsweep"
        ],
        "forbidden_filename_basenames": [
            "con",
            "prn",
            "aux",
            "nul",
            "com0",
            "com1",
            "com2",
            "com3",
            "com4",
            "com5",
            "com6",
            "com7",
            "com8",
            "com9",
            "com\u00b9",
            "com\u00b2",
            "com\u00b3",
            "lpt0",
            "lpt1",
            "lpt2",
            "lpt3",
            "lpt4",
            "lpt5",
            "lpt6",
            "lpt7",
            "lpt8",
            "lpt9",
            "lpt\u00b9",
            "lpt\u00b2",
            "lpt\u00b3"
        ],
        "forbidden_filename_characters": [
            "<",
            ">",
            ":",
            "\"",
            "|",
            "?",
            "*",
            "\\",
            "\/"
        ],
        "forbidden_filename_extensions": [
            " ",
            ".",
            ".filepart",
            ".part"
        ],
        "maintenance": false,
        "loglevel": 2
    }
}

List of activated Apps

Enabled:
  - activity: 6.0.0
  - admin_audit: 1.23.0
  - app_api: 33.0.0
  - breezedark: 29.0.0
  - bruteforcesettings: 6.0.0
  - calendar: 6.5.0
  - circles: 33.0.0
  - cloud_federation_api: 1.17.0
  - comments: 1.23.0
  - contacts: 8.7.3
  - contactsinteraction: 1.14.1
  - dashboard: 7.13.0
  - dav: 1.36.0
  - deck: 1.17.4
  - doom_nextcloud: 1.0.8
  - encryption: 2.21.0
  - end_to_end_encryption: 2.2.0
  - federatedfilesharing: 1.23.0
  - federation: 1.23.0
  - files: 2.5.0
  - files_downloadlimit: 5.1.0
  - files_pdfviewer: 6.0.0
  - files_reminders: 1.6.0
  - files_sharing: 1.25.2
  - files_trashbin: 1.23.0
  - files_versions: 1.26.0
  - firstrunwizard: 6.0.0
  - fulltextsearch: 33.0.0
  - guests: 4.8.0
  - keeporsweep: 0.3.0
  - logreader: 6.0.0
  - lookup_server_connector: 1.21.0
  - nextcloud_announcements: 5.0.0
  - notifications: 6.0.0
  - oauth2: 1.21.0
  - password_policy: 5.0.0
  - photos: 6.0.0
  - privacy: 5.0.0
  - profile: 1.2.0
  - provisioning_api: 1.23.0
  - ransomware_protection: 1.14.0
  - recommendations: 6.0.0
  - related_resources: 4.0.0
  - richdocuments: 10.2.0
  - richdocumentscode: 26.4.104
  - serverinfo: 5.0.0
  - settings: 1.16.0
  - sharebymail: 1.23.0
  - support: 5.0.0
  - survey_client: 5.0.0
  - suspicious_login: 11.0.0
  - systemtags: 1.23.0
  - text: 7.0.1
  - theming: 2.8.0
  - twofactor_backupcodes: 1.22.0
  - twofactor_totp: 15.0.0
  - twothousandandfortyeight: 1.0.3
  - user_status: 1.13.0
  - viewer: 6.0.0
  - weather_status: 1.13.0
  - webhook_listeners: 1.5.0
  - workflowengine: 2.15.0
Disabled:
  - files_antivirus: 6.3.0 (installed 6.3.0)
  - files_external: 1.25.1
  - spreed: 23.0.8 (installed 23.0.8)
  - twofactor_nextcloud_notification: 7.0.0
  - user_ldap: 1.24.0

Nextcloud Signing status

No errors have been found.

Nextcloud Logs

{"reqId":"cdHQ5A340mIYxYRhhmUs","level":3,"time":"2026-07-10T21:48:02+00:00","remoteAddr":"100.96.179.98","user":"fola","app":"index","method":"GET","url":"/index.php/apps/dashboard/","scriptName":"/index.php","message":"image not found: image:mail-dark.svg webroot: serverroot:/snap/nextcloud/53545/htdocs","userAgent":"Mozilla/5.0 (X11; Linux x86_64; rv:152.0) Gecko/20100101 Firefox/152.0","version":"33.0.5.1","exception":{"Exception":"RuntimeException","Message":"image not found: image:mail-dark.svg webroot: serverroot:/snap/nextcloud/53545/htdocs","Code":0,"Trace":[{"file":"/var/snap/nextcloud/53545/nextcloud/extra-apps/mail/lib/Dashboard/MailWidget.php","line":80,"function":"imagePath","class":"OC\\URLGenerator","type":"->"},{"file":"/snap/nextcloud/53545/htdocs/apps/dashboard/lib/Controller/DashboardController.php","line":61,"function":"getIconUrl","class":"OCA\\Mail\\Dashboard\\MailWidget","type":"->"},{"function":"OCA\\Dashboard\\Controller\\{closure}","class":"OCA\\Dashboard\\Controller\\DashboardController","type":"->","args":["*** sensitive parameters replaced ***"]},{"file":"/snap/nextcloud/53545/htdocs/apps/dashboard/lib/Controller/DashboardController.php","line":56,"function":"array_map"},{"file":"/snap/nextcloud/53545/htdocs/lib/private/AppFramework/Http/Dispatcher.php","line":205,"function":"index","class":"OCA\\Dashboard\\Controller\\DashboardController","type":"->"},{"file":"/snap/nextcloud/53545/htdocs/lib/private/AppFramework/Http/Dispatcher.php","line":118,"function":"executeController","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/snap/nextcloud/53545/htdocs/lib/private/AppFramework/App.php","line":153,"function":"dispatch","class":"OC\\AppFramework\\Http\\Dispatcher","type":"->"},{"file":"/snap/nextcloud/53545/htdocs/lib/private/Route/Router.php","line":321,"function":"main","class":"OC\\AppFramework\\App","type":"::"},{"file":"/snap/nextcloud/53545/htdocs/lib/base.php","line":1155,"function":"match","class":"OC\\Route\\Router","type":"->"},{"file":"/snap/nextcloud/53545/htdocs/index.php","line":25,"function":"handleRequest","class":"OC","type":"::"}],"File":"/snap/nextcloud/53545/htdocs/lib/private/URLGenerator.php","Line":252,"message":"image not found: image:mail-dark.svg webroot: serverroot:/snap/nextcloud/53545/htdocs","exception":"{\"class\":\"RuntimeException\",\"message\":\"image not found: image:mail-dark.svg webroot: serverroot:/snap/nextcloud/53545/htdocs\",\"code\":0,\"file\":\"/snap/nextcloud/53545/htdocs/lib/private/URLGenerator.php:252\",\"trace\":\"#0 /var/snap/nextcloud/53545/nextcloud/extra-apps/mail/lib/Dashboard/MailWidget.php(80): OC\\URLGenerator->imagePath()\\n#1 /snap/nextcloud/53545/htdocs/apps/dashboard/lib/Controller/DashboardController.php(61): OCA\\Mail\\Dashboard\\MailWidget->getIconUrl()\\n#2 [internal function]: OCA\\Dashboard\\Controller\\DashboardController->OCA\\Dashboard\\Controller\\{closure}()\\n#3 /snap/nextcloud/53545/htdocs/apps/dashboard/lib/Controller/DashboardController.php(56): array_map()\\n#4 /snap/nextcloud/53545/htdocs/lib/private/AppFramework/Http/Dispatcher.php(205): OCA\\Dashboard\\Controller\\DashboardController->index()\\n#5 /snap/nextcloud/53545/htdocs/lib/private/AppFramework/Http/Dispatcher.php(118): OC\\AppFramework\\Http\\Dispatcher->executeController()\\n#6 /snap/nextcloud/53545/htdocs/lib/private/AppFramework/App.php(153): OC\\AppFramework\\Http\\Dispatcher->dispatch()\\n#7 /snap/nextcloud/53545/htdocs/lib/private/Route/Router.php(321): OC\\AppFramework\\App::main()\\n#8 /snap/nextcloud/53545/htdocs/lib/base.php(1155): OC\\Route\\Router->match()\\n#9 /snap/nextcloud/53545/htdocs/index.php(25): OC::handleRequest()\\n#10 {main}\"}","CustomMessage":"image not found: image:mail-dark.svg webroot: serverroot:/snap/nextcloud/53545/htdocs"}}

Additional info

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    Fields

    No fields configured for Bug.

    Projects

    Status
    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions