Start with the logs: most problems are explained in mondrian.log — see Logs.
Installation
| Problem | What to check |
|---|---|
| Setup stops: port 80 in use | Another web server (IIS, Apache, nginx) uses port 80. Set EMONDRIAN_PORT in .env and run the script again — see Install with Docker. |
| Linux: permission denied on Docker | Your user was just added to the docker group. Log out and in, or run newgrp docker. |
| Windows: setup stops after installing WSL | Restart Windows, then run the setup script again. Re-running is safe. |
http://localhost doesn’t open | docker compose ps — are the containers running? Is the port right? |
Logging in
| Problem | What to check |
|---|---|
| Every request is refused: “Forwarded identity headers are accepted only from this server’s authentication gateway” | The gateway is older than the server. Run docker compose up -d --build --remove-orphans. |
docker compose up stops and asks for EMONDRIAN_FORWARDED_SECRET | Run ./auth/scripts/init.sh --no-start once (Windows: windows-setup.ps1), then start again. |
| Login page doesn’t work from another machine | It needs HTTPS and the right PUBLIC_URL in .env — see Access from another machine. |
The admin password 0 is refused in Excel | Log in once in the browser and choose a new password first. |
| A user logs in but can’t edit schemas or read logs | The user’s group isn’t named in auth/security/security.properties, or it’s named without its path. Write /emondrian-admins, not emondrian-admins. ./auth/scripts/check-config.sh <user> shows the groups eMondrian receives. |
| A role doesn’t apply to its group | <RoleMember> must name the group by its full path, for example /Sales/WebAppUsers. A right for a parent group doesn’t reach its subgroups. |
| A user of an external provider is refused | The user needs an account in Keycloak first — see Security. |
| An agent’s OAuth login fails with “non-https token endpoint” | MCP clients log in with OAuth only over HTTPS, except on localhost. Turn on HTTPS, or send a user name and password in the Authorization header. |
Catalogs and schemas
| Problem | What to check |
|---|---|
| Catalog doesn’t appear | In datasources.xml, <DataSourceInfo> must come before <Definition>; & must be &. Restart: docker compose restart eMondrian. See datasources.xml reference. |
| Cube missing or schema error | mondrian.log names the element that failed. Check element order inside <Dimension>: AttributeMapping → DimensionAttribute → Hierarchy. |
View has no 'generic' variant | A <View> has SQL only for another database. Add <SQL dialect="generic"> — see Schema reference. |
| An attribute seems ignored | Misspelled attributes are ignored silently (e.g. type instead of dataType on KeyColumn). Run validate_schema via MCP. |
| Wrong totals | Dimension keys must be unique in the dimension source — see Modeling on ClickHouse. mondrian-sql.log shows the SQL sent. |
| New data doesn’t show up | Results are cached within a client session. Restart (docker compose restart eMondrian) or reconnect the client. |
Database connection
| Problem | What to check |
|---|---|
| Can’t reach my database | Inside the container localhost isn’t your machine — use host.docker.internal (on Linux add extra_hosts). Check firewall and credentials. See Connect databases. |
No suitable driver / driver class not found | The JDBC driver isn’t installed, or it’s in modules/ instead of WEB-INF/lib. See Connect databases. |
| ClickHouse: query size or AST errors | Add max_query_size, max_ast_elements, max_expanded_ast_elements to the connection string. |
Excel
| Problem | What to check |
|---|---|
| Excel can’t connect | Open the XMLA address in a browser on the same machine. Use the port from .env. From another machine: firewall — see Access from another machine. |
Power BI and licenses
| Problem | What to check |
|---|---|
| Error when connecting or refreshing, or no fields | Is a key activated on http://localhost and not expired? If Excel works and Power BI doesn’t, check the key first. |
No eMondrian licence found | No key activated. Activate one — it takes effect without a restart. See Evaluation key. |
Your eMondrian licence expired | Request an extension and activate it — no restart needed. |
| A visual or DAX query fails | Copy the query from Performance analyzer and open an issue. See DAX support. |
AI agents (MCP)
| Problem | What to check |
|---|---|
| MCP client can’t connect | Use /emondrian/mcp (Streamable HTTP) or /emondrian/mcp/sse (SSE), with the port from .env. With authentication on, the client must log in — see AI agents (MCP). |
| A tool answers that the user has no right | With authentication on, the agent acts as its user. The tool needs a server right that this user’s groups don’t have. |
Error POSTing to endpoint (HTTP 404) | /emondrian prefix missing, or an old module — update Community, see Install with Docker. |
Your eMondrian licence does not include the MCP module | The server runs modules from before MCP became free. Update Community — see Install with Docker. |
| DAX via MCP fails | Pass the cube argument for catalogs with several cubes; write measures as 'Table'[Measure]. |
| Agent’s answer looks wrong | Ask the agent to show the query it ran; run it in the OLAP Client; check the measure definitions in the schema. |
Still stuck?
Open an issue with the eMondrian version, what you did, the error message and the relevant lines of mondrian.log.