Troubleshooting#
This chapter helps you find the cause of the most common problems of an Empowerment Center installation and solve them. Each problem is explained as symptom, cause and solution. At the end is the reference of the error codes the API returns.
Where to start#
Almost every problem leaves a trace in one of these places. Look at them in this order:
| Where | What it tells you | How |
|---|---|---|
| Operational alerts | What the server has already detected: license, client database down, a connection that sees the own database, memory, disk, queues, mail, sends, failing tasks. | Administration › Operations › Alerts, or the red strip at the top. Click Check now so as not to wait for the round. |
| The console Summary | The status of the own database, with its engine, and of its pool, memory, disk, license and the last check of each client database. | Administration › Operations |
| The Jobs tab | What is being calculated, what is waiting and the last failed ones with their error. | Administration › Operations › Jobs |
| The audit | What a user did, with what SQL, how long it took and whether it failed. | Administration › Audit, filtering by user, dates or Failed |
| The server log | The technical detail of an internal failure (the stack trace), what happens on startup and the notices that could not be sent. | docker compose -f deploy/compose.yaml logs backend |
Tip
When a user tells you “I got an error”, ask them for the approximate time and what they were doing. With the time, look in the audit for their Failed entries and in the server log for the line “Fallo interno en una petición de …” (internal failure in a request) at that moment.
Pages in this chapter#
- Startup, license and access: the server does not start (also with the own database in Oracle), the license is not valid, the connections' passwords cannot be read, single sign-on fails, a user cannot sign in.
- Problems while running: a client's database does not respond, a connection sees the own database, slow queries, stuck jobs, memory or disk, mail that does not go out, failing scheduled tasks, unprocessed events, several instances.
- Error codes: the codes the API returns, what each one means and what to do.
Before asking Action Ware for help#
Gather this, which they will ask you for:
- The version, shown in the header of the operations console (“Server ecenter-1 · Empowerment Center 8.0.0”) and by
GET /api/about. - The open alerts and what the console Summary says.
- The server log lines around the time of the problem, with the stack trace if there is one.
- If the problem is with a query, its audit entry with the SQL (exported to CSV).
- The engine and version of the client database, if the problem is with a connection, and the Engine of the own database, shown in the Summary.
Do not send the environment file or any secret (ECENTER_SECRETS_KEY, passwords): they are not needed.