unsupported capability urn:stalwart:jmap error while using recovery console #638

Closed
opened 2026-11-25 11:05:20 +00:00 by mbunkus · 2 comments

Following up on my previous issue, I'm now running into "400 API error" messages in the UI after a successful login. If I open the browser's debug console, I see this originates from each & every request to the localhost:8080/jmap/ entpoint, with the response always being this JSON document:

{
    "type": "urn:ietf:params:jmap:error:unknownCapability",
    "status": 400,
    "detail": "The Request object used capability 'urn:stalwart:jmap', which is not supportedby this server."
}

This happens for each & every menu entry I select.

This is still step 5 of the recovery guide. I'm running the container with the following command:

docker run --rm --name inbuxa-recovery -v /srv/inbuxa/etc:/etc/inbuxa -v /srv/inbuxa/data:/var/lib/inbuxa -e INBUXA_RECOVERY_MODE=1 -e INBUXA_RECOVERY_ADMIN=recovery:'…' -p 8080:8080 registry.coffeylabs.org/inbuxa/inbuxa-server:27.1-rc

Copied from the guide with the addition of --rm as I'm lazy.

The image is:

[0 root@saratoga 1.119s ~] docker image inspect registry.coffeylabs.org/inbuxa/inbuxa-server:27.1-rc | jq '.[0].Id'
"sha256:5817bd9c4ddaff2f0952d34fdcfed60a555a2375888d8bb6714f12b31304534c"
Following up on my previous issue, I'm now running into "400 API error" messages in the UI after a successful login. If I open the browser's debug console, I see this originates from each & every request to the `localhost:8080/jmap/` entpoint, with the response always being this JSON document: ```json { "type": "urn:ietf:params:jmap:error:unknownCapability", "status": 400, "detail": "The Request object used capability 'urn:stalwart:jmap', which is not supportedby this server." } ``` This happens for each & every menu entry I select. This is still step 5 of the recovery guide. I'm running the container with the following command: ``` docker run --rm --name inbuxa-recovery -v /srv/inbuxa/etc:/etc/inbuxa -v /srv/inbuxa/data:/var/lib/inbuxa -e INBUXA_RECOVERY_MODE=1 -e INBUXA_RECOVERY_ADMIN=recovery:'…' -p 8080:8080 registry.coffeylabs.org/inbuxa/inbuxa-server:27.1-rc ``` Copied from the guide with the addition of `--rm` as I'm lazy. The image is: ``` [0 root@saratoga 1.119s ~] docker image inspect registry.coffeylabs.org/inbuxa/inbuxa-server:27.1-rc | jq '.[0].Id' "sha256:5817bd9c4ddaff2f0952d34fdcfed60a555a2375888d8bb6714f12b31304534c" ```
jcoffey-dev added the bug
priority
p1
labels 2026-11-25 18:27:51 +00:00
jcoffey-dev self-assigned this 2026-11-25 18:27:51 +00:00
jcoffey-dev added this to the 27.1 milestone 2026-11-25 18:27:51 +00:00
Owner

Welcome back, Moritz (@mbunkus)! I've missed working with you, and it's good to see your name in the tracker again.

Thanks for the report. This one's on us. The store you brought over from Stalwart still lists Stalwart's own web interface, and recovery mode serves it at the server's address. That interface asks for a capability by a name inbuxa no longer answers to, so every call fails with the 400 you saw.

The fix is in #639. The server now switches that interface off in recovery mode too, and also on a store that has already been through recovery mode, so you won't need to redo anything. It'll be in the next 27.1 RC.

Until then, use the temporary console from the guide instead of opening localhost:8080 directly: https://docs.inbuxa.org/install/admin/#reach-the-server-during-first-boot. It's inbuxa's console talking to the server, and signing in as recovery there works.

One more thing, just in case: the docker run line above has a recovery password in it. It's probably a placeholder, but if it's one you use anywhere else, change it and edit it out of the issue. It only works while that recovery container runs.

Welcome back, Moritz (@mbunkus)! I've missed working with you, and it's good to see your name in the tracker again. Thanks for the report. This one's on us. The store you brought over from Stalwart still lists Stalwart's own web interface, and recovery mode serves it at the server's address. That interface asks for a capability by a name inbuxa no longer answers to, so every call fails with the 400 you saw. The fix is in #639. The server now switches that interface off in recovery mode too, and also on a store that has already been through recovery mode, so you won't need to redo anything. It'll be in the next 27.1 RC. Until then, use the temporary console from the guide instead of opening localhost:8080 directly: https://docs.inbuxa.org/install/admin/#reach-the-server-during-first-boot. It's inbuxa's console talking to the server, and signing in as `recovery` there works. One more thing, just in case: the `docker run` line above has a recovery password in it. It's probably a placeholder, but if it's one you use anywhere else, change it and edit it out of the issue. It only works while that recovery container runs.
Author

The store you brought over from Stalwart still lists Stalwart's own web interface, and recovery mode serves it at the server's address.

Ah, that makes so much sense. I was pretty confused seeing Stalwart's console stuff when visiting the URL, including its logo. I'll wait for the next RC build, I'll be pretty busy at work tomorrow anyway.

About the password: thanks for the concert, but you're right, that's just a dummy password to use while that one container was running. It isn't running now, nor is it reachable from outside, so there's no danger. I'll edit it out anyway for good hygiene.

> The store you brought over from Stalwart still lists Stalwart's own web interface, and recovery mode serves it at the server's address. Ah, that makes so much sense. I was pretty confused seeing Stalwart's console stuff when visiting the URL, including its logo. I'll wait for the next RC build, I'll be pretty busy at work tomorrow anyway. About the password: thanks for the concert, but you're right, that's just a dummy password to use while that one container was running. It isn't running now, nor is it reachable from outside, so there's no danger. I'll edit it out anyway for good hygiene.
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: inbuxa/inbuxa-server#638