From 307b49fee6f5878105355c68ece04639da12f483 Mon Sep 17 00:00:00 2001 From: CanbiZ <47820557+MickLesk@users.noreply.github.com> Date: Sat, 1 Mar 2025 20:54:30 +0100 Subject: [PATCH] ActualBudget: New Installation Script with new Repo (#2770) --- install/actualbudget-install.sh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/install/actualbudget-install.sh b/install/actualbudget-install.sh index 732b00db..2c56f235 100644 --- a/install/actualbudget-install.sh +++ b/install/actualbudget-install.sh @@ -38,9 +38,9 @@ msg_ok "Installed Node.js" msg_info "Installing Actual Budget" cd /opt RELEASE=$(curl -s https://api.github.com/repos/actualbudget/actual/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }') -wget -q https://github.com/actualbudget/actual-server/archive/refs/tags/v${RELEASE}.tar.gz +wget -q https://github.com/actualbudget/actual/archive/refs/tags/v${RELEASE}.tar.gz tar -xzf v${RELEASE}.tar.gz -mv *ctual-server-* /opt/actualbudget +mv actual-${RELEASE} /opt/actualbudget mkdir -p /opt/actualbudget-data/{server-files,upload,migrate,user-files,migrations,config} chown -R root:root /opt/actualbudget-data @@ -57,7 +57,7 @@ ACTUAL_HTTPS_KEY=/opt/actualbudget/selfhost.key ACTUAL_HTTPS_CERT=/opt/actualbudget/selfhost.crt EOF cd /opt/actualbudget -$STD yarn install +$STD yarn workspaces focus @actual-app/sync-server --production $STD openssl req -x509 -nodes -days 365 -newkey rsa:2048 -keyout selfhost.key -out selfhost.crt <