Closed andrzej-r closed 6 days ago
when adding S3 credentials in env it worked for me. But yes, saw exactly the same error message even though I think I had a volume mounted at /pds
Try to add theses two env vars:
When I had the same issue I had to add the env variables to the compose.yaml, doing it via environmental variables in Portainer did not work.
@johackim thanks. Now I am getting another issue:
pds | /app/node_modules/.pnpm/@atproto+pds@0.4.67/node_modules/@atproto/pds/src/config/secrets.ts:18
pds | throw new Error('Must configure plc rotation key')
pds | ^
What is the plc rotation key? I see some references to PDS_PLC_ROTATION_KEY_K256_PRIVATE_KEY_HEX
but what is this key for and how do I get/generate it?
BTW, this is a self-hosted installation (I don't use S3).
Hello @andrzej-r, you can generate this env with this command:
openssl ecparam --name secp256k1 --genkey --noout --outform DER | tail --bytes=+8 | head --bytes=32 | xxd --plain --cols 32
See more details on installer.sh.
To follow on, all of the env vars in the istaller.sh need to be in you compose.yaml.
Thanks both. I've defined all required env vars and pds is now starting without errors and responds to /xrpc/_health
. I didn't know installer.sh
applies to docker installation as well.
When starting a docker image (tested both with Dockerfile and compose.yaml) I am getting the following error:
Looks like missing dependencies but how to add them?