Docker Apps in Custom_Apps show no Icons on top bar

The Basics

  • Nextcloud Server version (e.g., 29.x.x):
    • 29.0.10
  • Operating system and version (e.g., Ubuntu 24.04):
    • docker
  • Web server and version (e.g, Apache 2.4.25):
    • docker
  • Reverse proxy and version _(e.g. nginx 1.27.2)
    • nginx
  • PHP version (e.g, 8.3):
    • docker
  • Is this the first time you’ve seen this error? (Yes / No):
    • Yes
  • When did this problem seem to first start?
    • After installing Apps to the Custom_Apps folder, instead of Apps next to the system apps.
  • Installation method (e.g. AlO, NCP, Bare Metal/Archive, etc.)
    • docker
  • Are you using CloudfIare, mod_security, or similar? (Yes / No)
    • No

Summary of the issue you are facing:

Using two Apps folders, as described in the Docker documentation and by the file recommended (and used on first install) /usr/src/nextcloud/config/apps.config.php the apps that install into the Apps_Config directory show no Icon in the top bar.
image

The URL to the image seems to be /apps/, example:

  • Calendar app icon: /apps/calendar/img/calendar.svg
    However, changing that with the browser tools to /custom_apps/calendar/img/calendar.svg shows the icon:
    image

Steps to replicate it (hint: details matter!):

  1. On an existing installation with a writeable apps folder
  2. Disable, and remove 1 app
  3. Change the configuration to be read only apps and writable custom_apps
  4. Install the same app again
  5. Refresh/clear cache (also of proxy)
  6. Notice app icon missing of now in custom_apps installed app

Log entries

Nextcloud

N.A.

Web Browser

Failed to load resource: the server responded with a status of 404 (): calendar.svg

Web server / Reverse Proxy

N.A.

Configuration

Nextcloud

The output of occ config:list system:

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "remember_login_cookie_lifetime": 1296000,
        "session_lifetime": 86400,
        "trusted_domains": [
            "nextcloud.my.domain",
            "owncloud.my.domain",
            "nextcloudserver.my.domain",
            "nextcloud.docker.my.domain"
        ],
        "allow_local_remote_servers": true,
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "mysql",
        "version": "29.0.10.1",
        "default_phone_region": "NL",
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbport": "",
        "dbtableprefix": "oc_",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "logtimezone": "UTC",
        "installed": true,
        "maintenance": false,
        "maintenance_window_start": 2,
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "memcache.distributed": "\\OC\\Memcache\\Redis",
        "memcache.local": "\\OC\\Memcache\\Redis",
        "mysql.utf8mb4": true,
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379,
            "timeout": 1.5
        },
        "theme": "",
        "loglevel": 0,
        "app_install_overwrite": [
            "issuetemplate"
        ],
        "htaccess.RewriteBase": "\/",
        "apps_paths": [
            {
                "path": "\/var\/www\/html\/apps",
                "url": "\/apps",
                "writable": false
            },
            {
                "path": "\/var\/www\/html\/custom_apps",
                "url": "\/custom_apps",
                "writable": true
            }
        ],
        "overwritehost": "nextcloud.my.domain",
        "overwriteprotocol": "https",
        "overwrite.cli.url": "https:\/\/nextcloud.my.domain",
        "trusted_proxies": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpmode": "smtp",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpsecure": "ssl",
        "mail_smtpauth": true,
        "mail_smtpauthtype": "LOGIN",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***"
    }
}```

#### Apps

The output of `occ app:list`:

Enabled:

  • activity: 2.21.1
  • admin_audit: 1.19.0
  • bookmarks: 14.2.7
  • bruteforcesettings: 2.9.0
  • calendar: 4.7.16
  • camerarawpreviews: 0.8.6
  • circles: 29.0.0-dev
  • cloud_federation_api: 1.12.0
  • comments: 1.19.0
  • contacts: 6.0.1
  • contactsinteraction: 1.10.0
  • cospend: 1.6.1
  • dashboard: 7.9.0
  • dav: 1.30.1
  • deck: 1.13.3
  • epubviewer: 1.6.7
  • event_update_notification: 2.4.0
  • federatedfilesharing: 1.19.0
  • federation: 1.19.0
  • files: 2.1.1
  • files_downloadlimit: 2.0.0
  • files_external: 1.21.0
  • files_pdfviewer: 2.10.0
  • files_reminders: 1.2.0
  • files_sharing: 1.21.0
  • files_trashbin: 1.19.0
  • files_versions: 1.22.0
  • firstrunwizard: 2.18.0
  • groupfolders: 17.0.8
  • integration_github: 3.1.1
  • integration_reddit: 2.0.5
  • logreader: 2.14.0
  • lookup_server_connector: 1.17.0
  • maps: 1.4.0
  • nextcloud_announcements: 1.18.0
  • notes: 4.11.0
  • notifications: 2.17.0
  • oauth2: 1.17.1
  • onlyoffice: 9.5.0
  • password_policy: 1.19.0
  • passwords: 2024.12.21
  • photos: 2.5.0
  • privacy: 1.13.0
  • provisioning_api: 1.19.0
  • recommendations: 2.1.0
  • related_resources: 1.4.0
  • serverinfo: 1.19.0
  • settings: 1.12.0
  • sharebymail: 1.19.0
  • snappymail: 2.38.2
  • spreed: 19.0.11
  • support: 1.12.0
  • survey_client: 1.17.0
  • suspicious_login: 7.0.0
  • systemtags: 1.19.0
  • tasks: 0.16.1
  • text: 3.10.1
  • theming: 2.4.0
  • twofactor_backupcodes: 1.18.0
  • updatenotification: 1.19.1
  • user_status: 1.9.0
  • viewer: 2.3.0
  • weather_status: 1.9.0
  • workflowengine: 2.11.0
    Disabled:
  • encryption: 2.17.0
  • twofactor_totp: 11.0.0-dev (installed 2.1.2)
  • user_ldap: 1.20.0

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.