Notifications stopped working after updating to 31.0.2

Server configuration detail
Operating system: Linux 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64
Webserver: Apache/2.4.62 (Debian) (apache2handler)
Database: mysql 10.11.11
PHP version: 8.2.28
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, random, Reflection, SPL, session, standard, sodium, apache2handler, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, intl, exif, msgpack, mysqli, pdo_mysql, pdo_sqlite, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, memcached, Zend OPcache
Nextcloud version: 31.0.2 - 31.0.2.1
Updated from an older Nextcloud/ownCloud or fresh install:
Where did you install Nextcloud from: unknown

List of activated apps
Enabled:
 - activity: 4.0.0
 - announcementcenter: 7.1.0
 - app_api: 5.0.2
 - bruteforcesettings: 4.0.0
 - calendar: 5.2.0
 - calendar_resource_management: 0.9.0
 - circles: 31.0.0
 - collectives: 2.16.1
 - comments: 1.21.0
 - contacts: 7.0.4
 - contactsinteraction: 1.12.0
 - dashboard: 7.11.0
 - deck: 1.15.0
 - end_to_end_encryption: 1.17.0
 - event_update_notification: 2.6.1
 - federation: 1.21.0
 - files_downloadlimit: 4.0.0
 - files_pdfviewer: 4.0.0
 - files_reminders: 1.4.0
 - files_sharing: 1.23.1
 - files_trashbin: 1.21.0
 - files_versions: 1.24.0
 - firstrunwizard: 4.0.0
 - flow_notifications: 2.0.0
 - integration_openstreetmap: 2.0.1
 - logreader: 4.0.0
 - nextcloud_announcements: 3.0.0
 - notes: 4.11.0
 - notifications: 4.0.0
 - password_policy: 3.0.0
 - photos: 4.0.0-dev.1
 - privacy: 3.0.0
 - quicknotes: 0.8.30
 - recommendations: 4.0.0
 - related_resources: 2.0.0
 - richdocuments: 8.6.3
 - serverinfo: 3.0.0
 - sharebymail: 1.21.0
 - spreed: 21.0.2
 - support: 3.0.0
 - survey_client: 3.0.0
 - systemtags: 1.21.1
 - tasks: 0.16.1
 - text: 5.0.0
 - timemanager: 0.3.18
 - timetracker: 0.0.84
 - updatenotification: 1.21.0
 - user_status: 1.11.0
 - weather_status: 1.11.0
 - webhook_listeners: 1.2.0
 - workflow_ocr: 1.31.0
Disabled:
 - admin_audit
 - analytics: 5.3.0
 - carnet: 0.25.6
 - emlviewer: 1.0.11
 - encryption
 - files_external
 - files_rightclick: 1.6.0
 - gpxpod: 7.0.4
 - intros: 1.0.2
 - mail: 4.3.1
 - maps: 1.5.0
 - phonetrack: 0.8.2
 - richdocumentscode: 24.4.1302
 - richdocumentscode_arm64
 - shifts: 1.9.10
 - suspicious_login
 - tables: 0.9.0
 - twofactor_nextcloud_notification
 - twofactor_totp
 - user_ldap
 - user_migration: 7.0.1
 - user_usage_report: 2.0.0
Configuration (config/config.php)
{
    "default_phone_region": "+48",
    "instanceid": "***REMOVED SENSITIVE VALUE***",
    "passwordsalt": "***REMOVED SENSITIVE VALUE***",
    "secret": "***REMOVED SENSITIVE VALUE***",
    "htaccess.RewriteBase": "\/",
    "overwrite.cli.url": "https:\/\/nextcloud.des.pl\/nextcloud",
    "memcache.local": "\\OC\\Memcache\\APCu",
    "memcache.distributed": "\\OC\\Memcache\\Redis",
    "memcache.locking": "\\OC\\Memcache\\Redis",
    "redis": {
        "host": "***REMOVED SENSITIVE VALUE***",
        "port": 6379
    },
    "trusted_domains": [
        "10.0.0.9",
        "nextcloud.des.pl"
    ],
    "datadirectory": "***REMOVED SENSITIVE VALUE***",
    "dbtype": "mysql",
    "version": "31.0.2.1",
    "dbname": "***REMOVED SENSITIVE VALUE***",
    "dbhost": "***REMOVED SENSITIVE VALUE***",
    "dbport": "",
    "dbtableprefix": "oc_",
    "mysql.utf8mb4": true,
    "dbuser": "***REMOVED SENSITIVE VALUE***",
    "dbpassword": "***REMOVED SENSITIVE VALUE***",
    "installed": true,
    "maintenance": false,
    "theme": "",
    "loglevel": 2,
    "logfile": "\/var\/log\/nextcloud.log",
    "log_type": "file",
    "mail_smtpmode": "smtp",
    "mail_sendmailmode": "smtp",
    "mail_from_address": "***REMOVED SENSITIVE VALUE***",
    "mail_domain": "***REMOVED SENSITIVE VALUE***",
    "maintenance_window_start": 1,
    "mail_smtpauth": 1,
    "mail_smtpname": "***REMOVED SENSITIVE VALUE***",
    "mail_smtppassword": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpport": "465",
    "mail_smtphost": "***REMOVED SENSITIVE VALUE***",
    "mail_smtpsecure": "ssl",
    "has_rebuilt_cache": true,
    "app_install_overwrite": [
        "file_to_text_example",
        "timetracker",
        "carnet",
        "quicknotes",
        "shifts",
        "spreed",
        "maps"
    ]
}
Cron Configuration:
Mode: cron Last: 2025-04-14T06:10:03+00:00 (76 seconds ago)
External storages: files_external is disabled
Encryption: no
User-backends:
    • OC\User\Database
Subscription:
    • No valid subscription key set
Browser: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/135.0.0.0 Safari/537.36

Setup checks

system
• Errors in the log: 255 errors in the logs since 7 kwietnia 2025 08:11:19
talk
• High-performance backend: No High-performance backend configured - Running Nextcloud Talk without the High-performance backend only scales for very small calls (max. 2-3 participants). Please set up the High-performance backend to ensure calls with multiple participants work seamlessly.

Talk

Talk configuration:

STUN servers
• no custom server configured
TURN servers
• no custom server configured
Signaling servers (mode: default):
• SIP dialin is disabled
• SIP dialout is disabled
• no custom server configured
Recording servers:
• Recording is enabled
• Recording consent is set to “default”
• no recording server configured

Problem:
Hello,
Since the update from 30.0.8 to 31.0.2, Notifications in the DECK, Colectives and announcementcenter applications have stopped working. However, notifications in applications such as: Talk, Files, Calendar and Tasks - work.

Email notifications do not work either.

What could be the cause?

Additionally, there are no errors in the Overview:

Stopped working since updating from what? v31.0.1?

Can you fill out the actual support template? Your Nextcloud log, while reproducing the problem, may be relevant here.

Also, can you clarify which notifications you’re referring to specifically (i.e. some steps others can use to attempt to reproduce the problem)?

What do your Personal->Notifications and Administration->Activity settings look like?

Likely unrelated, but if you have a subdirectory installation then htaccess.RewriteBase should be adjusted to reflect that.

Thank you very much for your reply.
regarding htaccess.RewriteBase of course I will check it - thank you
Below I will try to provide all the necessary information according to the template.

The Basics
Nextcloud version: 31.0.2 – 31.0.2.1
Operating system: Linux 6.1.0-32-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.129-1 (2025-03-06) x86_64
Webserver: Apache/2.4.62 (Debian) (apache2handler)
Database: mysql 10.11.11
PHP version: 8.2.28
Is this the first time you’ve seen this error? (Yes)
The problem started right after updating from version 29.0.7 to version 31.0.2
Modules loaded: Core, date, libxml, openssl, pcre, zlib, filter, hash, json, random, Reflection, SPL, session, standard, sodium, apache2handler, mysqlnd, PDO, xml, apcu, bcmath, bz2, calendar, ctype, curl, dom, mbstring, FFI, fileinfo, ftp, gd, gettext, gmp, iconv, igbinary, imagick, intl, exif, msgpack, mysqli, pdo_mysql, pdo_sqlite, Phar, posix, readline, redis, shmop, SimpleXML, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xmlreader, xmlwriter, xsl, zip, memcached, Zend OPcache

Summary of the issue you are facing:
• Since the update from 30.0.7 to 31.0.2 to HUB-10, Push Notifications in the DECK, Colectives and announcementcenter applications have stopped working.
• However, notifications in applications such as: Talk, Files, Calendar and Tasks – work well.

• The notifications I'm talking about are for example: board comments in Deck, any announcements written in the "announcementcenter" app. Notifications don't show up in the connected Nextcloud Client app, and also in the bell (notifications)

• Email notifications do not work either - I have my emails specifically inactive
  
• Interestingly, all information is saved correctly in "Activity"

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

  1. On the new created board in Deck we add a comment

  2. We call up the person we want to notify about the comment using @

  3. Before the update, after adding a comment, the person called received a push notification that there was a new comment.

  4. We are adding a new announcement in the “announcementcenter” application

  5. We add a note and mark the entire group of people who should be informed

  6. Before the update, push information about the ad is also sent immediately to all selected people

Log entries (just a fragment):
Error activity
InvalidObjectExeption
Object for placeholder announcement is invalid, value 11 for key id is not a string

2025-04-15T06:06:03+00:00

Error PHP
Allowed memory size of 536870912 bytes exhausted (tried to allocate 147456 bytes) at /var/www/nextcloud/apps/logreader/lib/Log/LogIterator.php#75

2025-04-15T06:05:19+00:00

Error activity
InvalidObjectExeption
Object for placeholder announcement is invalid, value 11 for key id is not a string

2025-04-15T05:58:13+00:00

Error activity
InvalidObjectExeption
Object for placeholder announcement is invalid, value 11 for key id is not a string

2025-04-15T05:57:15+00:00

Error activity
InvalidObjectExeption
Object for placeholder announcement is invalid, value 11 for key id is not a string

2025-04-15T05:57:04+00:00

Error activity
InvalidObjectExeption
Object for placeholder announcement is invalid, value 11 for key id is not a string

2025-04-15T05:56:34+00:00

Error activity
InvalidObjectExeption
Object for placeholder announcement is invalid, value 11 for key id is not a string

2025-04-15T05:56:04+00:00

Error activity
InvalidObjectExeption
Object for placeholder announcement is invalid, value 11 for key id is not a string

2025-04-15T05:55:35+00:00

Error activity
InvalidObjectExeption
Object for placeholder announcement is invalid, value 11 for key id is not a string

2025-04-15T05:55:04+00:00

Error richdocuments
ConnectException
cURL error 28: Operation timed out after 5001 milliseconds with 0 bytes received (see libcurl - Error Codes) for https://nextcloud.ourdomain:1234/cool/convert-to/png
Failed to convert preview: cURL error 28: Operation timed out after 5001 milliseconds with 0 bytes received (see libcurl - Error Codes) for https://nextcloud.ourdomain:1234/cool/convert-to/png

2025-04-15T05:50:48+00:00

Podsumowanie

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!):
• Unfortunately, I do not have access to such information.

Screenshot:
• Personal->Notifications and Administration->Activity