Karakeep: workaround/fix for #6593 (#6648)

This commit is contained in:
Chris
2025-08-08 01:17:03 -04:00
committed by GitHub
parent ab9c57ccf9
commit 4717852019
2 changed files with 2 additions and 2 deletions

View File

@@ -78,7 +78,7 @@ function update_script() {
cd /opt/karakeep/apps/cli
$STD pnpm install --frozen-lockfile
$STD pnpm build
DATA_DIR="$(sed -n '/^DATA_DIR/p' /etc/karakeep/karakeep.env | awk -F= '{print $2}')"
DATA_DIR="$(sed -n '/^DATA_DIR/p' /etc/karakeep/karakeep.env | awk -F= '{print $2}' | tr -d '="=')"
export DATA_DIR="${DATA_DIR:-/opt/karakeep_data}"
cd /opt/karakeep/packages/db
$STD pnpm migrate