mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-06-12 02:25:14 +02:00
OpenArchiver: switch Rebuild Function (#15042)
This commit is contained in:
committed by
GitHub
parent
5e5b2f6514
commit
3c9e90fdff
+1
-1
@@ -43,7 +43,7 @@ function update_script() {
|
||||
msg_info "Updating Open Archiver"
|
||||
cd /opt/openarchiver
|
||||
$STD pnpm install --shamefully-hoist --frozen-lockfile --prod=false
|
||||
$STD pnpm approve-builds --yes
|
||||
$STD pnpm rebuild
|
||||
$STD pnpm run build:oss
|
||||
$STD pnpm db:migrate
|
||||
msg_ok "Updated Open Archiver"
|
||||
|
||||
@@ -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
|
||||
$STD pnpm rebuild
|
||||
$STD pnpm run build:oss
|
||||
$STD pnpm db:migrate
|
||||
msg_ok "Setup Open Archiver"
|
||||
|
||||
Reference in New Issue
Block a user