Start with the logs: most problems are explained in mondrian.log — see Logs.

Installation

ProblemWhat to check
Setup stops: port 80 in useAnother 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 DockerYour user was just added to the docker group. Log out and in, or run newgrp docker.
Windows: setup stops after installing WSLRestart Windows, then run the setup script again. Re-running is safe.
http://localhost doesn’t opendocker compose ps — are the containers running? Is the port right?

Logging in

ProblemWhat 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_SECRETRun ./auth/scripts/init.sh --no-start once (Windows: windows-setup.ps1), then start again.
Login page doesn’t work from another machineIt needs HTTPS and the right PUBLIC_URL in .env — see Access from another machine.
The admin password 0 is refused in ExcelLog in once in the browser and choose a new password first.
A user logs in but can’t edit schemas or read logsThe 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 refusedThe 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

ProblemWhat to check
Catalog doesn’t appearIn datasources.xml, <DataSourceInfo> must come before <Definition>; & must be &amp;. Restart: docker compose restart eMondrian. See datasources.xml reference.
Cube missing or schema errormondrian.log names the element that failed. Check element order inside <Dimension>: AttributeMapping → DimensionAttribute → Hierarchy.
View has no 'generic' variantA <View> has SQL only for another database. Add <SQL dialect="generic"> — see Schema reference.
An attribute seems ignoredMisspelled attributes are ignored silently (e.g. type instead of dataType on KeyColumn). Run validate_schema via MCP.
Wrong totalsDimension keys must be unique in the dimension source — see Modeling on ClickHouse. mondrian-sql.log shows the SQL sent.
New data doesn’t show upResults are cached within a client session. Restart (docker compose restart eMondrian) or reconnect the client.

Database connection

ProblemWhat to check
Can’t reach my databaseInside 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 foundThe JDBC driver isn’t installed, or it’s in modules/ instead of WEB-INF/lib. See Connect databases.
ClickHouse: query size or AST errorsAdd max_query_size, max_ast_elements, max_expanded_ast_elements to the connection string.

Excel

ProblemWhat to check
Excel can’t connectOpen 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

ProblemWhat to check
Error when connecting or refreshing, or no fieldsIs a key activated on http://localhost and not expired? If Excel works and Power BI doesn’t, check the key first.
No eMondrian licence foundNo key activated. Activate one — it takes effect without a restart. See Evaluation key.
Your eMondrian licence expiredRequest an extension and activate it — no restart needed.
A visual or DAX query failsCopy the query from Performance analyzer and open an issue. See DAX support.

AI agents (MCP)

ProblemWhat to check
MCP client can’t connectUse /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 rightWith 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 moduleThe server runs modules from before MCP became free. Update Community — see Install with Docker.
DAX via MCP failsPass the cube argument for catalogs with several cubes; write measures as 'Table'[Measure].
Agent’s answer looks wrongAsk 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.