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
2 changed files with 3 additions and 2 deletions

View File

@@ -48,7 +48,8 @@ if [[ "$install_server" =~ ^[Ss]$ ]]; then
else
msg_info "Installing FileFlows Node"
cd /opt/fileflows/Node
$STD dotnet FileFlows.Node.dll --server "http://localhost:19200" --systemd install --root true
$STD dotnet FileFlows.Node.dll
$STD dotnet FileFlows.Node.dll --systemd install --root true
systemctl enable -q --now fileflows-node
msg_ok "Installed FileFlows Node"
fi

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"