Notifications not working until you relog into your Talk app

Support intro

Im running a Nextcloud Server that my friend group uses. We got notifications for a long time, till no one got any notifications anymore. Re login into the Talk App (Official Play Store one/Apple) resolves this issue. But this is now the second time, that we have this issue. Does anyone have an Idea why this happens, how we can resolve it ?.

Any Help would be Appreciated. Thank you!

We are Running via Docker Compose, Traefik (Terminating SSL) to Nginx to Nextcloud on a Strong VPS.

  web: 
    image: nginx:1.26.2
    container_name: nextcloud-web
    networks:
      - proxy
      - nextcloud
    labels:
      traefik.docker.network: proxy
      traefik.enable: "true"
      traefik.http.routers.nextcloud.entrypoints: websecure
      traefik.http.routers.nextcloud.middlewares: default@file
      traefik.http.routers.nextcloud.rule: Host(`cloud.domain.com`)
      traefik.http.routers.nextcloud.service: nextcloud
      traefik.http.routers.nextcloud.tls: "true"
      traefik.http.routers.nextcloud.tls.certresolver: tls_resolver
      traefik.http.services.nextcloud.loadbalancer.server.port: "80"
    volumes:
      - ./nextcloud/data:/var/www/html
      - ./nextcloud/config/nginx.conf:/etc/nginx/nginx.conf:ro
    restart: unless-stopped

  nextcloud-app:
    image: nextcloud:30.0.2-fpm
    container_name: nextcloud-app
    networks:
      - nextcloud
    volumes:
      - ./nextcloud/data:/var/www/html
      - ./nextcloud/config/php-fpm-www.conf:/usr/local/etc/php-fpm.d/www.conf:ro
    environment:
      - MYSQL_USER
      - MYSQL_PASSWORD
      - MYSQL_DATABASE
      - MYSQL_HOST
      - REDIS_HOST
      - OVERWRITEPROTOCOL
      - OVERWRITEHOST
      - TRUSTED_PROXIES
      - APACHE_DISABLE_REWRITE_IP
      - 'MAINTENANCE_WINDOW_START=02:00'
      - 'MAINTENANCE_WINDOW_END=05:00'
    restart: unless-stopped
    depends_on:
      - db

  cron:
    image: nextcloud:30.0.2-fpm
    container_name: nextcloud-cron
    networks:
      - nextcloud
    volumes:
      -./nextcloud/data:/var/www/html
    entrypoint: /cron.sh
    restart: unless-stopped

  db:
    image: mariadb:10.11
    container_name: mariadb-database
    command: --transaction-isolation=READ-COMMITTED --log-bin=binlog --binlog-format=ROW
    networks:
      - nextcloud
    volumes:
      - ./nextcloud/db:/var/lib/mysql
    healthcheck:
      test: ["CMD-SHELL", "mysqladmin -u$$MYSQL_USER -p$$MYSQL_PASSWORD ping -h localhost"]
      interval: 30s
      timeout: 10s
      retries: 5
      start_period: 40s
    environment:
      - MYSQL_ROOT_PASSWORD
      - MYSQL_USER
      - MYSQL_PASSWORD
      - MYSQL_DATABASE
    restart: unless-stopped

  redis:
    image: redis:7.4.1-alpine
    container_name: redis-dbcache
    healthcheck:
      test: ["CMD-SHELL", "redis-cli ping | grep PONG"]
      start_period: 20s
      interval: 30s
      retries: 5
      timeout: 3s
    networks:
      - nextcloud
    volumes:
      - redisnextcloud:/data
    restart: unless-stopped

volumes:
  redisnextcloud: {}

networks:
  proxy:
    external: true
  nextcloud:
    driver: bridge

Nextcloud version: ‘30.0.2’
Talk Version: ‘20.1.5’
We are not running the High Performance Backend/ a Turn/Stun Server.

In case the web version of Nextcloud Talk is involved:
The Web Version Works.

In case mobile Nextcloud Talk apps are involved:
Talk Android version (eg, 14.0.2): 21.0.0

The issue you are facing:
Having to relogin to be able to get Notifications on the Mobile Talk Apps.

Is this the first time you’ve seen this error? (Y/N):
No its the second time.

The output of your Nextcloud log in Admin > Logging or errors in nextcloud.log in /var/www/:

I only included this as the rest has sensitive data, and this might be of interest.

[app_api] Fehlersuche: ExApp "admin_notification_talk" not found.
	GET /ocs/v2.php/apps/notifications/api/v2/notifications
	von 172.31.191.254 von my_user um 02.04.2025, 10:57:41

{
  "reqId": "XE4S6vlrlTKkTvYujg0d",
  "level": 0,
  "time": "2025-04-02T08:57:41+00:00",
  "remoteAddr": "172.31.XXX.XXX",
  "user": "my_user",
  "app": "app_api",
  "method": "GET",
  "url": "/ocs/v2.php/apps/notifications/api/v2/notifications",
  "message": "ExApp \"admin_notification_talk\" not found.",
  "userAgent": "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/130.0.0.0 Safari/537.36",
  "version": "30.0.2.2",
  "data": {
    "app": "app_api"
  },
  "id": "67ecfc0e6c6de"
}

Please update your Nextcloud server.
You seem to be running 30.0.2
That is more than 5 months old.
The problem was solved in 30.0.7

1 Like

Thank you! It solved the Issue.