Skip to content

Database checks: ∞% reported as Failing when counter is zero; no way to acknowledge/mute a check #1231

Open

Description

@REggleston27

Setup

  • Nextcloud [your version]
  • MariaDB 10.11.18 on Debian 12, same VM as Nextcloud

1. Divide-by-zero shown as Failing

After FLUSH STATUS (or soon after a restart), "Table lock contention" (Table_locks_waited) shows ∞% of table locks had to wait and is marked Failing. When the denominator is zero the check should report "not enough data" or be skipped.

2. No way to acknowledge or mute a check

Some findings can't be resolved by the admin (e.g. #1224, or join/scan rates caused by Nextcloud core queries). Once investigated, there's no way to dismiss them, so they stay red indefinitely. Please consider a per-check acknowledge/mute option, ideally one that resurfaces if the value changes significantly.

Related: #1224

How to use GitHub

  • Please use the 👍 reaction to show that you are affected by the same issue.
  • Please don't comment if you have no relevant information to add. It's just extra noise for everyone subscribed to this issue.
  • Subscribe to receive notifications on status change and new comments.

Steps to reproduce

Expected behaviour

Tell us what should happen

Actual behaviour

Tell us what happens instead, if possible also add a screenshot

Server configuration

Web server: Apache/Nginx

Database: MySQL/Maria/SQLite/PostgreSQL

PHP version: 8.5/8.4/8.3

Nextcloud version: (see Nextcloud admin page)

List of activated apps
If you have access to your command line run e.g.:
sudo -u www-data php occ app:list
from within your Nextcloud installation folder
Nextcloud configuration
If you have access to your command line run e.g.:
sudo -u www-data php occ config:list system
from within your Nextcloud installation folder

Browser

Browser name: Firefox/Chrome/Safari/…

Browser version: 124/125/…

Operating system: Windows/Ubuntu/Mac/…

Browser log
Insert your browser log here, this could for example include:
a) The javascript console log
b) The network log
c) ...

Activity

  1. kesselb commented on Nov 9, 2026

    @kesselb
    Collaborator

    From #1268: besides muting, a configurable limit per check would help. The fixed pg.cache_hit_ratio < 99 limit fires on small single-user instances (98.3% reported there), where a larger shared_buffers is no real improvement.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions