ai/at
1
0
Clone
17
bgs
syui edited this page 2025-12-12 07:39:29 +00:00
  • updated: 2025/12/10

downgrade bgs

  • updated: 2025/12/10

issue: 3b6d7f3e6708b5f4343fe80c4c6b958f6b6617fc , e1034c679349116ae826e0e24b6ca7a7e5d09d00

[indigo]
git reset --hard d49b454196351c988ceb5ce1f5e21b689487b5ab
[atproto]
git reset --hard 104e6ed37b0589cc000109dc76316be35b2257e1

1080-indigo-fedmgr-reconnect-pds-cmd

  • updated: 2025/12/3

There was an error in the consistency of the bgs data, so it was reset. Therefore, the following steps are required.

  1. new_pds_per_day_limit: 0 -> Rate limiter immediately rejects.
  2. trusted_domains: Not in the trusted domain list.
  3. new_subs_disabled: false, so no problem.
$ PDS_HOST=syu.is

$ curl -X POST "https://bgs.${PDS_HOST}/admin/pds/addTrustedDomain?domain=${PDS_HOST}" \
    -H "Authorization: Bearer ${BGS_ADMIN_KEY}"
$ docker exec -it at-db-1 psql -U postgres -d bgs -c "UPDATE slurp_configs SET new_subs_disabled = false, new_pds_per_day_limit = 1000 WHERE id = 1;"
$ handle=syui.syui.ai
$ did=`curl -sL "https://${PDS_HOST}/xrpc/com.atproto.repo.describeRepo?repo=${handle}" |jq -r .did`

$ curl -X POST "https://bgs.${PDS_HOST}/admin/repo/reset?did=${did}" \
  -H "Authorization: Bearer ${BGS_ADMIN_KEY}"