From 769e541938fd336b4262803674936619ba130746 Mon Sep 17 00:00:00 2001 From: Copilot <198982749+Copilot@users.noreply.github.com> Date: Sat, 29 Nov 2025 20:12:28 +0100 Subject: [PATCH] Fix duplicate ORIGIN in .env for OpenArchiver install script (#9503) * Initial plan * Fix duplicate ORIGIN in .env for OpenArchiver install script Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com> --------- Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: MickLesk <47820557+MickLesk@users.noreply.github.com> --- install/open-archiver-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/open-archiver-install.sh b/install/open-archiver-install.sh index b0c484c05e..a6fde0fda6 100644 --- a/install/open-archiver-install.sh +++ b/install/open-archiver-install.sh @@ -88,7 +88,7 @@ sed -i "s|^STORAGE_LOCAL_ROOT_PATH=.*|STORAGE_LOCAL_ROOT_PATH=/opt/openarchiver- sed -i "s|^JWT_SECRET=.*|JWT_SECRET=$JWT_KEY|g" /opt/openarchiver/.env sed -i "s|^ENCRYPTION_KEY=.*|ENCRYPTION_KEY=$SECRET_KEY|g" /opt/openarchiver/.env sed -i "s|^TIKA_URL=.*|TIKA_URL=|g" /opt/openarchiver/.env -echo "ORIGIN=http://$IP_ADDR:3000" >>/opt/openarchiver/.env +sed -i "s|^ORIGIN=.*|ORIGIN=http://$IP_ADDR:3000|g" /opt/openarchiver/.env $STD pnpm install --shamefully-hoist --frozen-lockfile --prod=false $STD pnpm run build:oss $STD pnpm db:migrate