View server diagnostic

Tabla de contenidos

The Server diagnostic allows you to check, from within the application itself, whether the Athento instance is correctly configured (database, web server, document conversion, etc.) without the need for a technician to manually access the instance.

For each component you will see whether its configuration is correct or if there is something to review, with details of what fails and, when applicable, the current value compared to what it should be.

Where to find it?

  1. Go to Health services (/health/check/).
  2. In the Healthcheck tab, look for the "Server diagnostic" card.

Requirement: it is only visible to administrator users (superuser).

How to read the panel

In the card header you will see the overall status:

Indicator

Meaning

OK (green)

All checks performed are correct.

Errors found (red)

At least one component has something to review.

(no indicator)

No check has been run yet.

Below, a dropdown per component appears (PostgreSQL, Apache/WSGI, Redis, PgBouncer, ImageMagick, LibreOffice, etc.), each with its status:

Status

Meaning

OK (green)

The component is properly configured.

Error (red)

One or more checks are failing.

Not run yet (gray)

That check has not been run yet.

When you expand a component you will see:

  • A checks table with three columns:
    • Check: name of the check.
    • Status: OK or FAIL.
    • Detail: explanation of the result (includes, when applicable, the current value compared to the expected one, e.g. "Disk resource limit=4GiB is below minimum 8GiB").
  • Last run: date and time of the last execution of that check.

How to run the checks

You have two ways to run them on demand:

  • "Run" button (in each component): runs only that component again. The panel updates in a few seconds with the new result.
  • "Run all" button (top right): runs all checks at once. As it may take several minutes, it runs in the background: you will see a notice that it has been launched and you will need to refresh the page after a few minutes to see the updated results.

In addition to manual execution, the checks run automatically on a scheduled basis, and if any fail, an email notification is sent to the support team. That is, the panel always shows the last known result even if you don’t run it yourself.

What should I do if a component shows an Error?

  1. Expand the component and check which checks appear as FAIL.
  2. Read the Detail column: it indicates the reason (for example, a parameter below the recommended value, a service not responding, a missing library…).
  3. If after reviewing it is not clear how to resolve it, share the detail with Athento support so they can adjust the server configuration.