Repository navigation
docs(self-host): use the 3.0 storage config section - #172
Open
SheaHawkins wants to merge 1 commit into
Open
SheaHawkins wants to merge 1 commit into
SheaHawkins wants to merge 1 commit into
Conversation
Rivet 3.0 renamed the control plane's `depot` config section to `storage`
and `auto_provision_tablets` to `auto_provision_partitions`. The config
rejects unknown fields, so every self-host guide's config stopped the
engine at startup:
Error: failed to deserialize config
unknown field `depot`, expected one of `auth`, `guard`, `storage`, ...
That happens for both forms the guides use, the JSON `"depot"` block
(Docker Compose, VM, Hetzner) and `RIVET__DEPOT__*` variables (Kubernetes,
AWS ECS, Railway, Render), on rivetdev/engine:3.0.0 and :next
(3.0.1-preview.1). With the renamed keys the engine starts and /health
reports ok.
Also notes that an S3-compatible `endpoint` over plain http:// needs
AWS_ALLOW_HTTP=true.
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Rivet 3.0 renamed the control plane's
depotconfig section tostorage, andauto_provision_tabletstoauto_provision_partitions. The config rejects unknown fields, so the configs in the self-host guides stop the engine at startup:This affects both forms the guides use:
"depot"block: Docker Compose, VM, Hetzner;RIVET__DEPOT__*environment variables: Kubernetes, AWS ECS, Railway, Render.Changes
RIVET__DEPOT__LOG_DIRECTORY→RIVET__STORAGE__LOG_DIRECTORY, and theAUTO_PROVISION_*/BALANCING__ENABLEDvariables"depot"→"storage",auto_provision_tablets→auto_provision_partitionsdepot.log_directory→storage.log_directory,depot.cold_store.disk_cache_directory→storage.cold_store.disk_cache_directoryendpointover plainhttp://needsAWS_ALLOW_HTTP=trueTesting
rivetdev/engine:3.0.0andrivetdev/engine:next(3.0.1-preview.1) with the Docker Compose guide's config, and withRIVET__DEPOT__LOG_DIRECTORY. Both exit with the error above./healthreturns{"status":"ok", ...}.engine/artifacts/config-schema.jsonatv3.0.0.