Create a PDS user account? (y/N): y
Enter an email address (e.g. alice@xxx.net): xxx@example.com
Enter a handle (e.g. alice.xxx.net): xxx.xxx.net
Account created successfully!
-----------------------------
Handle : xxx.xxx.net
DID : did:plc:xxx
Password : xxxxxxxxxxxxxxxxxxxxxxxxxxx
-----------------------------
Save this password, it will not be displayed again.
/pdsにファイルが生成される。
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
$ sudo ls -al /pds/
total 524
drwx------ 4 root root 4096 Jan 31 18:00 .
drwxr-xr-x 24 root root 4096 Jan 31 17:52 ..
-rw-r--r-- 1 root root 192512 Jan 31 17:59 account.sqlite
-rw-r--r-- 1 root root 32768 Jan 31 18:00 account.sqlite-shm
-rw-r--r-- 1 root root 70072 Jan 31 18:00 account.sqlite-wal
drwxr-xr-x 3 root root 4096 Jan 31 18:00 actors
drwxr-xr-x 4 root root 4096 Jan 31 17:52 caddy
-rw-r--r-- 1 root root 889 Jan 31 17:59 compose.yaml
-rw-r--r-- 1 root root 28672 Jan 31 17:59 did_cache.sqlite
-rw-r--r-- 1 root root 32768 Jan 31 18:00 did_cache.sqlite-shm
-rw-r--r-- 1 root root 8272 Jan 31 18:00 did_cache.sqlite-wal
-rw-r--r-- 1 root root 598 Jan 31 17:59 pds.env
-rw-r--r-- 1 root root 40960 Jan 31 17:59 sequencer.sqlite
-rw-r--r-- 1 root root 32768 Jan 31 18:00 sequencer.sqlite-shm
-rw-r--r-- 1 root root 61832 Jan 31 18:00 sequencer.sqlite-wal
# docker ps
CONTAINER ID IMAGE COMMAND CREATED STATUS
PORTS NAMES
306c3a7ecf90 caddy:2 "caddy run --config …"8 hours ago Up 8 hours caddy
da29d13d332b ghcr.io/bluesky-social/pds:0.4 "dumb-init -- node -…"8 hours ago Up 8 hours pds
36ec198c4266 containrrr/watchtower:latest "/watchtower"8 hours ago Up 8 hours (healthy) watchtower
$ sudo pdsadmin
pdsadmin help
--
update
Update to the latest PDS version.
e.g. pdsadmin update
account
list
List accounts
e.g. pdsadmin account list
create <EMAIL> <HANDLE>
Create a new account
e.g. pdsadmin account create alice@example.com alice.example.com
delete <DID>
Delete an account specified by DID.
e.g. pdsadmin account delete did:plc:xyz123abc456
takedown <DID>
Takedown an account specified by DID.
e.g. pdsadmin account takedown did:plc:xyz123abc456
untakedown <DID>
Remove a takedown from an account specified by DID.
e.g. pdsadmin account untakedown did:plc:xyz123abc456
reset-password <DID>
Reset a password for an account specified by DID.
e.g. pdsadmin account reset-password did:plc:xyz123abc456
request-crawl [<RELAY HOST>]
Request a crawl from a relay host.
e.g. pdsadmin request-crawl bsky.network
create-invite-code
Create a new invite code.
e.g. pdsadmin create-invite-code
help
Display this help information.
Error: Partial email config, must set both emailFromAddress and emailSmtpUrl
at envToCfg (/app/node_modules/.pnpm/@atproto+pds@0.4.74/node_modules/@atproto/pds/src/config/config.ts:146:13)
at main (/app/index.js:14:15)
at Object.<anonymous> (/app/index.js:72:1)
at Module._compile (node:internal/modules/cjs/loader:1376:14)
at Module._extensions..js (node:internal/modules/cjs/loader:1435:10)
at Module.load (node:internal/modules/cjs/loader:1207:32)
at Module._load (node:internal/modules/cjs/loader:1023:12)
at Function.executeUserEntryPoint [as runMain](node:internal/modules/run_main:135:12)
at node:internal/main/run_main_module:28:49