-
-
Notifications
You must be signed in to change notification settings - Fork 1
S3 storage mode - startup message doesn't indicate that S3 mode is enabled #49
Copy link
Copy link
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
I've built from the main branch, and I've setup a YAML configuration file that looks like this:
listen: "127.0.0.1:8081"
base_url: "https://pkg-proxy.km6g.us"
storage:
url: "s3://pkg-proxy?awssdk=v2&endpoint=[::1]:3910&use_path_style=true&disable_https=true®ion=km6g"
max_size: "20GB"
database:
driver: "sqlite"
path: "/var/lib/pkg-proxy/cache.db"
log:
level: "info"
format: "text"
If I modify the storage.url setting to make it invalid (a misspelled query parameter), then at startup I'll get an error message and the proxy doesn't start. This is expected.
If I correct the errors and provide a valid URL, then startup succeeds, but the proxy reports this:
time=2026-03-31T20:12:34.526-04:00 level=INFO msg="starting server" listen=127.0.0.1:8081 base_url=https://pkg-proxy.km6g.us storage=./cache/artifacts database=/var/lib/pkg-proxy/cache.db
I also don't see any connection attempts in the log of my S3-compatible server (which is Garage).
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working