Some widgets wont load when updating bookmark app version 16.1.0

Hi all,

The Basics

  • Nextcloud Server version (e.g., 29.x.x): 32.0.6

  • Operating system and version (e.g., Ubuntu 24.04): Raspberry Pi OS Debian Bookworm

  • Web server and version (e.g, Apache 2.4.25): Lighttpd 1.4.69

  • Reverse proxy and version _(e.g. nginx 1.27.2): no

  • PHP version (e.g, 8.3): 8.2.29

  • Is this the first time you’ve seen this error? (Yes / No): Yes

  • When did this problem seem to first start? after upgrade to version 32.0.6

  • Installation method (e.g. AIO, NCP, Bare Metal/Archive, etc.)

  • Are you using Cloudflare, mod_security, or similar? (Yes / No) No

Summary of the issue you are facing:

After update to Version 32.0.6 some widgets do not load e.g. tasks, notes:

nextcloud/ocs/v2.php/apps/dashboard/api/v2/widget-items?widgets[]=notes
<ocs>
<meta>
<status>ok</status>
<statuscode>200</statuscode>
<message>OK</message>
</meta>
<data/>
</ocs>

somehow there is no data

while others work normal e.g. calendar or. files-favorites:

nextcloud/ocs/v2.php/apps/dashboard/api/v2/widget-items?widgets[]=files-favorites
<ocs>
<meta>
<status>ok</status>
<statuscode>200</statuscode>
<message>OK</message>
</meta>
<data>
<files-favorites>
<items/>
<emptyContentMessage>Keine Favoriten</emptyContentMessage>
<halfEmptyContentMessage/>
</files-favorites>
</data>
</ocs>

Configuration

Nextcloud

The output of occ config:list system or similar is best, but, if not possible, the contents of your config.php file from /path/to/nextcloud is fine (make sure to remove any identifiable information!):

{
    "system": {
        "instanceid": "***REMOVED SENSITIVE VALUE***",
        "passwordsalt": "***REMOVED SENSITIVE VALUE***",
        "secret": "***REMOVED SENSITIVE VALUE***",
        "trusted_domains": [
            "localhost",
            "192.168.178.47"
        ],
        "datadirectory": "***REMOVED SENSITIVE VALUE***",
        "dbtype": "pgsql",
        "version": "32.0.6.1",
        "overwrite.cli.url": "http:\/\/localhost",
        "installed": true,
        "memcache.local": "\\OC\\Memcache\\APCu",
        "memcache.locking": "\\OC\\Memcache\\Redis",
        "redis": {
            "host": "***REMOVED SENSITIVE VALUE***",
            "port": 6379
        },
        "maintenance_window_start": 1,
        "default_phone_region": "DE",
        "mail_smtpmode": "smtp",
        "mail_sendmailmode": "smtp",
        "mail_smtpsecure": "ssl",
        "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpport": "465",
        "mail_smtpauth": true,
        "mail_from_address": "***REMOVED SENSITIVE VALUE***",
        "mail_domain": "***REMOVED SENSITIVE VALUE***",
        "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
        "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
        "enable_previews": true,
        "preview_ffmpeg_path": "\/usr\/bin\/ffmpeg",
        "enabledPreviewProviders": [
            "OC\\Preview\\BMP",
            "OC\\Preview\\GIF",
            "OC\\Preview\\JPEG",
            "OC\\Preview\\Krita",
            "OC\\Preview\\MarkDown",
            "OC\\Preview\\MP3",
            "OC\\Preview\\OpenDocument",
            "OC\\Preview\\PNG",
            "OC\\Preview\\TXT",
            "OC\\Preview\\XBitmap",
            "OC\\Preview\\Movie"
        ],
        "app_install_overwrite": [],
        "maintenance": false,
        "dbname": "***REMOVED SENSITIVE VALUE***",
        "dbhost": "***REMOVED SENSITIVE VALUE***",
        "dbuser": "***REMOVED SENSITIVE VALUE***",
        "dbpassword": "***REMOVED SENSITIVE VALUE***",
        "loglevel": 2,
        "twofactor_enforced": "false",
        "twofactor_enforced_groups": [],
        "twofactor_enforced_excluded_groups": [],
        "theme": ""
    }
}


Apps

The output of occ app:list (if possible).

Enabled:
  - activity: 5.0.0
  - admin_audit: 1.22.0
  - app_api: 32.0.0
  - bookmarks: 16.1.0
  - bruteforcesettings: 5.0.0
  - calendar: 6.2.0
  - circles: 32.0.0
  - cloud_federation_api: 1.16.0
  - contacts: 8.3.2
  - contactsinteraction: 1.13.1
  - dashboard: 7.12.0
  - dav: 1.34.2
  - federatedfilesharing: 1.22.0
  - files: 2.4.0
  - files_downloadlimit: 5.0.0-dev.0
  - files_reminders: 1.5.0
  - files_sharing: 1.24.1
  - files_trashbin: 1.22.0
  - files_versions: 1.25.0
  - firstrunwizard: 5.0.0
  - logreader: 5.0.0
  - lookup_server_connector: 1.20.0
  - notes: 4.13.0
  - notifications: 5.0.0
  - oauth2: 1.20.0
  - password_policy: 4.0.0
  - photos: 5.0.0
  - previewgenerator: 5.12.1
  - privacy: 4.0.0
  - profile: 1.1.0
  - provisioning_api: 1.22.0
  - qownnotesapi: 26.2.2
  - related_resources: 3.0.0
  - serverinfo: 4.0.0
  - settings: 1.15.1
  - sharebymail: 1.22.0
  - suspicious_login: 10.0.0
  - tasks: 0.17.1
  - text: 6.0.1
  - theming: 2.7.0
  - twofactor_backupcodes: 1.21.0
  - twofactor_totp: 14.0.0
  - twofactor_webauthn: 2.4.1
  - updatenotification: 1.22.0
  - user_status: 1.12.0
  - viewer: 5.0.0
  - workflowengine: 2.14.0
Disabled:
  - comments: 1.22.0 (installed 1.22.0)
  - encryption: 2.20.0
  - federation: 1.22.0 (installed 1.22.0)
  - files_external: 1.24.1
  - files_pdfviewer: 5.0.0 (installed 5.0.0-dev.0)
  - nextcloud_announcements: 4.0.0 (installed 4.0.0-dev.0)
  - recommendations: 5.0.0 (installed 5.0.0-dev.0)
  - support: 4.0.0 (installed 4.0.0-dev.0)
  - survey_client: 4.0.0 (installed 4.0.0-dev.0)
  - systemtags: 1.22.0 (installed 1.22.0)
  - twofactor_nextcloud_notification: 6.0.0 (installed 6.0.0-dev.0)
  - user_ldap: 1.23.0
  - weather_status: 1.12.0 (installed 1.12.0)
  - webhook_listeners: 1.3.0 (installed 1.3.0)

Thank you.

Yeep, same here. Look’s like an issue with notify_push.

are you running this locally without public access… thus no certificate?

no, i removed the domain from this part.

@Wuffel notify_push requires a service running a local reverse proxy on localhost which must be added to trusted proxies in config.php.

now you’re not using the snap, that’s clear! but the documentation might help: https://github.com/nextcloud-snap/nextcloud-snap/wiki/Configure-HPB-client-push-for-Nextcloud-snap

1 Like

then this is unclear… please be clear about your setup

via official doc, this entry should be the mainly used URL.

i’m using NC mainly locally for bookmarks and notes with some contacts and calendar sync via davx5 on my mobile device.

see: 101: Network, domain and DNS - #3
and 101: Self-hosting information for beginners

okay, this does not explain if there was a change with 32.0.6 that maybe triggered the problem with some apps because everything was running fine within the dashboard before.

inspecting the browser console:

nextcloud/ocs/v2.php/apps/dashboard/api/v1/widgets

shows every widget

nextcloud/ocs/v2.php/apps/dashboard/api/v1/widget-items?widgets[]=notes

shows the latest notes

nextcloud/ocs/v2.php/apps/dashboard/api/v2/widget-items?widgets[]=notes

shows nothing

but

nextcloud/ocs/v2.php/apps/dashboard/api/v1/widget-items?widgets[]=calendar

as well as

nextcloud/ocs/v2.php/apps/dashboard/api/v2/widget-items?widgets[]=calendar

shows content

came across this error in log:

"GET","url":"/nextcloud/ocs/v2.php/apps/dashboard/api/v1/widgets","scriptName":"/nextcloud/ocs/v2.php","message":"Unable to generate a URL for the named route \"notes.page.create\" as such route does not exist."

and found this bug.

First I activate all widgets to see which one wont load, than I deactivate all these apps and reactivate one by another checking if widgets are loading again. they did until the moment I reactivate bookmark app. so the recent bookmark app update version 16.1.0 seems to be the issue.

2 Likes

I have the same issue when I disable bookmarks the dashboard widgets load fine.,

That’s been fixed now and works fine:

Thanks for your support. I have installed the latest version of boomarks 16.1.2. When the app is activated, the widgets in the dashboard do not load. When I disable bookmarks the dashboard widgets load fine.

I have installed that version as well and still continue to get spinning

Just found theses posts after Tasks and Dashlink weren’t loading since yesterday. I was gonna disable Bookmarks, but saw an update to 16.1.2 16.1.3 available and it made my issue to away.

:partying_face::+1:t3:

it’s actually 16.1.3

2 Likes

Thank you for that that everything is working well now

Thanks. I pulled that out of my clipboard and it wasn’t the right one.

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