Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[bug]: CLI Request failed #360

Open
1 task done
hollowshiroyuki opened this issue Apr 18, 2024 · 0 comments
Open
1 task done

[bug]: CLI Request failed #360

hollowshiroyuki opened this issue Apr 18, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@hollowshiroyuki
Copy link

What happened?

Using the stalwart-cli inside a container to edit some configuration like server add-config server.hostname fails with this message:

Request failed: {"type":"about:blank","status":400,"title":"Invalid parameters","detail":"Failed to deserialize JSON: unknown variant `server.hostname`, expected one of `Delete`, `Clear`, `Insert` at line 1 column 19"}

How can we reproduce the problem?

I can reproduce the problem by doing the following steps:

  • Run stalwart with docker
docker run --rm -d --name mail stalwartlabs/mail-server:v0.7.2
  • Get the credentials with docker logs mail
  • Try to use command line inside the container to update the configuration
docker exec mail stalwart-cli -u https://localhost -c <password> server add-config server.hostname foo.example.com

Version

v0.7.x

What database are you using?

RocksDB

What blob storage are you using?

RocksDB

Where is your directory located?

Internal

What operating system are you using?

Docker

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@hollowshiroyuki hollowshiroyuki added the bug Something isn't working label Apr 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant