Heads up that this no longer starts because the default.toml is out of date. Specifically, the following fields need to be defined:
[registry]
required_crate_fields = []
[s3]
enabled = false
access_key = ""
secret_key = ""
region = ""
endpoint = ""
allow_http = true
crates_bucket = ""
cratesio_bucket = ""
I was able to start by adding those values but here is a link to what 5.5.0 defaults to: https://github.com/kellnr/kellnr/blob/v5.5.0/config/default.toml
Pinned Comments
gtsiam commented on 2024-12-12 17:22 (UTC)
Start
kellnr.service
. Configuration in/etc/kellnr
, and data in/var/lib/kellnr
.You might need to do
sudo -u kellnr rustup default stable
if you use rustup and want doc auto-generation.If you want to require authentication to pull crates, you should create
/var/lib/kellnr/.cargo/config.toml
and configure the kellnr registry there to allow doc auto-generation to pull any required crates.