Compare commits

..
Author SHA1 Message Date
MickLesk 197892f917 unifi-os-server: require Debian 13
Every failed install this week ran on Debian 12, where the installer
rejects the Podman that ships there. The default is 13; an override now
fails before the 785 MB download.
2026-10-23 11:35:34 +02:00
3 changed files with 7 additions and 2 deletions

No files matched your search

+1 -1
View File
@@ -44,7 +44,7 @@ function update_script() {
$STD npm ci --legacy-peer-deps --ignore-scripts
$STD npm run build:icons
$STD npx prisma generate
PROXCENTER_SKIP_TYPECHECK=1 NODE_OPTIONS="--max-old-space-size=3072" $STD npm run build
NODE_OPTIONS="--max-old-space-size=4608" $STD npm run build
msg_ok "Built ProxCenter"
msg_info "Migrating Database"
+1 -1
View File
@@ -24,7 +24,7 @@ cd /opt/proxcenter/frontend
$STD npm ci --legacy-peer-deps --ignore-scripts
$STD npm run build:icons
$STD npx prisma generate
PROXCENTER_SKIP_TYPECHECK=1 NODE_OPTIONS="--max-old-space-size=3072" $STD npm run build
NODE_OPTIONS="--max-old-space-size=4608" $STD npm run build
msg_ok "Built ProxCenter"
msg_info "Configuring ProxCenter"
+5
View File
@@ -13,6 +13,11 @@ setting_up_container
network_check
update_os
if is_debian && [[ "$(get_os_version_major)" -lt 13 ]]; then
msg_error "UniFi OS Server needs Debian 13: its installer requires a newer Podman than Debian 12 ships."
exit 238
fi
if [[ "${CTTYPE:-1}" != "0" ]]; then
msg_error "UniFi OS Server requires a privileged LXC container."
msg_error "Recreate the container with unprivileged=0."