Skip to content

Cannot update service in DB-less mode #7995

Answered by kikito
black-snow asked this question in Help
Discussion options

You must be logged in to vote

Hi, you are partially correct. It's true that restarting the container with a new YAML file is certainly one option, but it's not what we would recommend, since that would mean interrupting the service.

Most of the Admin API is read-only on DB-less mode, and will give you the 405 error that you just received if you attempt to modify individual entities. You might have missed that they are marked as Not available in DB-less mode in our docs, for example here're the docs for Update Service

However, the /config Admin API endpoint is available on DB-less. It will accept the YAML file and will replace all the entities in one go. It does not perform a server restart.

You may find more informati…

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@black-snow
Comment options

Answer selected by kikito
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Help
2 participants