Compare commits

..

6 Commits

Author SHA1 Message Date
MickLesk
ea4f1a0b3c Alpine-Wakapi: remove container storage check for BusyBox compatibility 2026-04-12 21:13:36 +02:00
MickLesk
447919da16 Alpine-Wakapi: Fix BusyBox df compatibility in container storage check 2026-04-12 20:55:30 +02:00
community-scripts-pr-app[bot]
2331f92c32 Update CHANGELOG.md (#13680)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-12 07:04:48 +00:00
CanbiZ (MickLesk)
66ec27a1fb MeTube: Allow pnpm build scripts to fix ERR_PNPM_IGNORED_BUILDS (#13668) 2026-04-12 09:04:26 +02:00
community-scripts-pr-app[bot]
9e1c4a39a1 Update CHANGELOG.md (#13678)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-12 00:09:57 +00:00
community-scripts-pr-app[bot]
7c6460f903 Archive old changelog entries (#13677)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2026-04-12 00:09:31 +00:00
5 changed files with 12 additions and 3 deletions

View File

@@ -442,6 +442,14 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
</details>
## 2026-04-12
### 🚀 Updated Scripts
- #### 🔧 Refactor
- MeTube: Allow pnpm build scripts to fix ERR_PNPM_IGNORED_BUILDS [@MickLesk](https://github.com/MickLesk) ([#13668](https://github.com/community-scripts/ProxmoxVE/pull/13668))
## 2026-04-11
### 🚀 Updated Scripts

View File

@@ -22,7 +22,6 @@ catch_errors
function update_script() {
header_info
check_container_storage
check_container_resources
if [[ ! -d /opt/wakapi ]]; then
msg_error "No ${APP} Installation Found!"

View File

@@ -62,6 +62,7 @@ function update_script() {
$STD corepack enable
$STD corepack prepare pnpm --activate || true
fi
echo 'onlyBuiltDependencies=*' >> .npmrc
$STD pnpm install --frozen-lockfile
$STD pnpm run build
msg_ok "Built Frontend"

View File

@@ -41,6 +41,7 @@ if command -v corepack >/dev/null 2>&1; then
$STD corepack enable
$STD corepack prepare pnpm --activate || true
fi
echo 'onlyBuiltDependencies=*' >> .npmrc
$STD pnpm install --frozen-lockfile
$STD pnpm run build
cd /opt/metube

View File

@@ -3214,8 +3214,8 @@ check_container_resources() {
# - Warns if usage >80% and asks user confirmation before proceeding
# ------------------------------------------------------------------------------
check_container_storage() {
total_size=$(df /boot --output=size | tail -n 1)
local used_size=$(df /boot --output=used | tail -n 1)
total_size=$(df -P /boot | awk 'NR==2 {print $2}')
local used_size=$(df -P /boot | awk 'NR==2 {print $3}')
usage=$((100 * used_size / total_size))
if ((usage > 80)); then
msg_warn "Storage is dangerously low (${usage}% used on /boot)"