Compare commits

...

1 Commits

Author SHA1 Message Date
MickLesk
ff398a0a46 fix(open-archiver): replace pnpm approve-builds --yes with --all
--yes is not a valid option in pnpm v10 and causes a crash on fresh
installs. --all approves all pending build scripts non-interactively.

Fixes #14758
2026-05-28 07:30:30 +02:00

View File

@@ -46,7 +46,7 @@ sed -i "s|^ENCRYPTION_KEY=.*|ENCRYPTION_KEY=$SECRET_KEY|g" /opt/openarchiver/.en
sed -i "s|^TIKA_URL=.*|TIKA_URL=|g" /opt/openarchiver/.env
sed -i "s|^ORIGIN=.*|ORIGIN=http://$LOCAL_IP:3000|g" /opt/openarchiver/.env
$STD pnpm install --shamefully-hoist --frozen-lockfile --prod=false
$STD pnpm approve-builds --yes
$STD pnpm approve-builds --all
$STD pnpm run build:oss
$STD pnpm db:migrate
msg_ok "Setup Open Archiver"