From d4038801ba05a9e3f5540e94f6ebd54594d55233 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Thu, 16 Apr 2026 07:30:16 +0200 Subject: [PATCH 1/8] add: prebuild --- ct/dashy.sh | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/ct/dashy.sh b/ct/dashy.sh index 47a17a48..8da95f79 100644 --- a/ct/dashy.sh +++ b/ct/dashy.sh @@ -40,12 +40,11 @@ function update_script() { fi msg_ok "Backed up conf.yml" - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "dashy" "Lissy93/dashy" "tarball" + CLEAN_INSTALL=1 fetch_and_deploy_gh_release "dashy" "Lissy93/dashy" "prebuild" "latest" "/opt/dashy" "dashy-*.tar.gz" msg_info "Updating Dashy" cd /opt/dashy - npm install - npm run build + $STD yarn install --production --ignore-engines --network-timeout 300000 msg_ok "Updated Dashy" msg_info "Restoring conf.yml" From f67f680c9765500f35a57bcde16b859784f96ff2 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Thu, 16 Apr 2026 07:30:26 +0200 Subject: [PATCH 2/8] fix: repo --- install/dashy-install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/dashy-install.sh b/install/dashy-install.sh index b9dc3545..d9b078f7 100644 --- a/install/dashy-install.sh +++ b/install/dashy-install.sh @@ -14,7 +14,7 @@ network_check update_os NODE_VERSION="24" NODE_MODULE="yarn" setup_nodejs -fetch_and_deploy_gh_release "dashy" "CrazyWolf13/dashy" "prebuild" "latest" "/opt/dashy" "dashy-*.tar.gz" +fetch_and_deploy_gh_release "dashy" "Lissy93/dashy" "prebuild" "latest" "/opt/dashy" "dashy-*.tar.gz" msg_info "Installing Dashy" cd /opt/dashy From e53d68428c241d79bd8f8427b891efbad4f2afc7 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Thu, 16 Apr 2026 07:42:40 +0200 Subject: [PATCH 3/8] Change default RAM value from 4096 to 1024 --- ct/dashy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/dashy.sh b/ct/dashy.sh index 8da95f79..bcffc92b 100644 --- a/ct/dashy.sh +++ b/ct/dashy.sh @@ -8,7 +8,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV APP="Dashy" var_tags="${var_tags:-dashboard}" var_cpu="${var_cpu:-2}" -var_ram="${var_ram:-4096}" +var_ram="${var_ram:-1024}" var_disk="${var_disk:-6}" var_os="${var_os:-debian}" var_version="${var_version:-13}" From a507ecef2a51365277ffcc3e748146e23abc9f2c Mon Sep 17 00:00:00 2001 From: CrazyWolf13 Date: Thu, 16 Apr 2026 08:12:50 +0200 Subject: [PATCH 4/8] remove prod flag --- install/dashy-install.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/install/dashy-install.sh b/install/dashy-install.sh index d9b078f7..8fcd64df 100644 --- a/install/dashy-install.sh +++ b/install/dashy-install.sh @@ -18,7 +18,7 @@ fetch_and_deploy_gh_release "dashy" "Lissy93/dashy" "prebuild" "latest" "/opt/da msg_info "Installing Dashy" cd /opt/dashy -$STD yarn install --production --ignore-engines --network-timeout 300000 +$STD yarn install --ignore-engines --network-timeout 300000 msg_ok "Installed Dashy" msg_info "Creating Service" @@ -29,6 +29,7 @@ Description=dashy [Service] Type=simple WorkingDirectory=/opt/dashy +Environment=NODE_OPTIONS=--openssl-legacy-provider ExecStart=/usr/bin/node server.js [Install] WantedBy=multi-user.target From a819dacb64d7bdfbfda62af0eac180724652c81b Mon Sep 17 00:00:00 2001 From: CrazyWolf13 Date: Thu, 16 Apr 2026 08:13:10 +0200 Subject: [PATCH 5/8] rm prod flag --- ct/dashy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/dashy.sh b/ct/dashy.sh index bcffc92b..fe363675 100644 --- a/ct/dashy.sh +++ b/ct/dashy.sh @@ -44,7 +44,7 @@ function update_script() { msg_info "Updating Dashy" cd /opt/dashy - $STD yarn install --production --ignore-engines --network-timeout 300000 + $STD yarn install --ignore-engines --network-timeout 300000 msg_ok "Updated Dashy" msg_info "Restoring conf.yml" From e84cd1d0b2a3d05b5adef438f49e92a3fedaa9e5 Mon Sep 17 00:00:00 2001 From: Tobias <96661824+CrazyWolf13@users.noreply.github.com> Date: Thu, 16 Apr 2026 08:39:40 +0200 Subject: [PATCH 6/8] Increase default RAM allocation from 1024MB to 2048MB --- ct/dashy.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ct/dashy.sh b/ct/dashy.sh index fe363675..8a00bd99 100644 --- a/ct/dashy.sh +++ b/ct/dashy.sh @@ -8,7 +8,7 @@ source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxV APP="Dashy" var_tags="${var_tags:-dashboard}" var_cpu="${var_cpu:-2}" -var_ram="${var_ram:-1024}" +var_ram="${var_ram:-2048}" var_disk="${var_disk:-6}" var_os="${var_os:-debian}" var_version="${var_version:-13}" From 7eee4e430c15628cdc61f24a45399d6aecea1219 Mon Sep 17 00:00:00 2001 From: ethan Date: Thu, 16 Apr 2026 21:35:29 +0200 Subject: [PATCH 7/8] fix(setup-fork): set count to 0 if it is non numeric --- docs/contribution/setup-fork.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/docs/contribution/setup-fork.sh b/docs/contribution/setup-fork.sh index f068aeef..951759f7 100644 --- a/docs/contribution/setup-fork.sh +++ b/docs/contribution/setup-fork.sh @@ -124,6 +124,11 @@ update_links() { # Count occurrences of the old repo URL local count=$(grep -c "community-scripts/ProxmoxVED" "$file" 2>/dev/null || echo 0) + # Set to 0 if count is non numeric + if ! [ "$count" -eq "$count" ] 2>/dev/null; then + count=0 + fi + if [[ $count -gt 0 ]]; then # Replace all variations of the URL sed -i "s|github.com/$old_repo/$old_name|github.com/$new_owner/$new_repo|g" "$file" @@ -140,6 +145,11 @@ update_links() { if [[ -f "$file" ]]; then local count=$(grep -c "community-scripts/ProxmoxVED" "$file" 2>/dev/null || echo 0) + # Set to 0 if count is non numeric + if ! [ "$count" -eq "$count" ] 2>/dev/null; then + count=0 + fi + if [[ $count -gt 0 ]]; then sed -i "s|github.com/$old_repo/$old_name|github.com/$new_owner/$new_repo|g" "$file" sed -i "s|raw.githubusercontent.com/$old_repo/$old_name|raw.githubusercontent.com/$new_owner/$new_repo|g" "$file" From 321631aa2efb361b0d2e3e668406a09aa9ee0761 Mon Sep 17 00:00:00 2001 From: ethan Date: Thu, 16 Apr 2026 22:57:31 +0200 Subject: [PATCH 8/8] refactor(setup-fork): check if count is a number with regex --- docs/contribution/setup-fork.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/docs/contribution/setup-fork.sh b/docs/contribution/setup-fork.sh index 951759f7..cfd01d32 100644 --- a/docs/contribution/setup-fork.sh +++ b/docs/contribution/setup-fork.sh @@ -125,7 +125,7 @@ update_links() { local count=$(grep -c "community-scripts/ProxmoxVED" "$file" 2>/dev/null || echo 0) # Set to 0 if count is non numeric - if ! [ "$count" -eq "$count" ] 2>/dev/null; then + if ! [[ "$count" =~ ^[0-9]+$ ]]; then count=0 fi @@ -146,10 +146,10 @@ update_links() { local count=$(grep -c "community-scripts/ProxmoxVED" "$file" 2>/dev/null || echo 0) # Set to 0 if count is non numeric - if ! [ "$count" -eq "$count" ] 2>/dev/null; then + if ! [[ "$count" =~ ^[0-9]+$ ]]; then count=0 fi - + if [[ $count -gt 0 ]]; then sed -i "s|github.com/$old_repo/$old_name|github.com/$new_owner/$new_repo|g" "$file" sed -i "s|raw.githubusercontent.com/$old_repo/$old_name|raw.githubusercontent.com/$new_owner/$new_repo|g" "$file"