I have switched from Obsidian to Affine, and during tinkering with settings, I have used invalid config of r2 storage, which caused my application to go to crash loop.
It is fixable with following steps:
- We will temporarily open ports to DB by going to
docker-compose.ymland add ports section to database container.
|
|
- Restart with
docker compose up -d --force-recreate - n local PC, download any SQL client, I will use Beekeeper Studio . Affine uses Postgres, so we will Connect to DB with variables in
.envand db type ofpostgreSQL - Find
app_configstable, and edit the table which causes error.