From 03a94aff8ed76bad42f684f4ab87b6fc347b4165 Mon Sep 17 00:00:00 2001 From: Michel Roegl-Brunner Date: Mon, 1 Jun 2026 10:19:13 +0200 Subject: [PATCH] fix(fireshare): rebuild client on update to fix nginx 500 After update, the frontend was not rebuilt while nginx still served /opt/fireshare/app/client/build, causing 500 errors. Match install behavior with npm install and npm run build. Fixes #14812 Co-authored-by: Cursor --- ct/fireshare.sh | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/ct/fireshare.sh b/ct/fireshare.sh index 5933df28b..a611593dd 100644 --- a/ct/fireshare.sh +++ b/ct/fireshare.sh @@ -53,6 +53,12 @@ function update_script() { export VIDEO_DIRECTORY=/opt/fireshare-videos export PROCESSED_DIRECTORY=/opt/fireshare-processed $STD uv run flask db upgrade + + msg_info "Building Fireshare Client" + cd /opt/fireshare/app/client + $STD npm install + $STD npm run build + msg_ok "Built Fireshare Client" msg_ok "Updated Fireshare" msg_info "Starting Service"