Real-time monitoring dashboard for Proxmox VE, PBS, Docker, Kubernetes, TrueNAS and vSphere. Self-hosted, with alerts for failed backups, full disks, unhealthy containers and offline nodes.
Go aialertsdashboarddockerdocker-monitoringgohomelabinfrastructure-monitoringkubernetesmonitoringmspproxmoxproxmox-backup-serverproxmox-mail-gatewayproxmox-veself-hostedtruenastypescriptvspherewebhooks
fix: Remove Alpine from LXC template options
rcourtmancba4418be3ed
diff --git a/frontend-modern/src/components/shared/ScrollableTable.tsx b/frontend-modern/src/components/shared/ScrollableTable.tsxindex 7e3a113e16..60adf6affc 100644--- a/frontend-modern/src/components/shared/ScrollableTable.tsx+++ b/frontend-modern/src/components/shared/ScrollableTable.tsx@@ -1,10 +1,13 @@-import { Component, JSX, createSignal, createEffect, onMount, onCleanup } from 'solid-js';+import { Component, JSX, createSignal, createEffect, onMount, onCleanup, createMemo } from 'solid-js';import { Show } from 'solid-js';+import { useBreakpoint } from '@/hooks/useBreakpoint';interface ScrollableTableProps {children: JSX.Element;class?: string;minWidth?: string;+ /** Minimum width on mobile screens (< 768px). Defaults to '100%' for natural fit. */+ mobileMinWidth?: string;persistKey?: string;}@@ -15,6 +18,16 @@ export const ScrollableTable: Component<ScrollableTableProps> = (props) => {const [showRightFade, setShowRightFade] = createSignal(false);let scrollContainer: HTMLDivElement | undefined;+ const { isMobile } = useBreakpoint();++ // Dynamic minWidth based on screen size+ const effectiveMinWidth = createMemo(() => {+ if (isMobile()) {+ return props.mobileMinWidth ?? '100%';+ }+ return props.minWidth || 'auto';+ });+const checkScroll = (scrollLeftValue?: number) => {if (!scrollContainer) return;@@ -69,7 +82,7 @@ export const ScrollableTable: Component<ScrollableTableProps> = (props) => {<style>{`.overflow-x-auto::-webkit-scrollbar { display: none; }`}</style>- <div style={{ 'min-width': props.minWidth || 'auto' }}>+ <div style={{ 'min-width': effectiveMinWidth() }}>{props.children}</div></div>diff --git a/install.sh b/install.shindex 09b32c2667..55e72b01db 100755--- a/install.sh+++ b/install.sh@@ -1266,7 +1266,8 @@ create_lxc_container() {echo "Or download a new template:"echo " d) Download Debian 12 (recommended)"echo " u) Download Ubuntu 22.04 LTS"- echo " a) Download Alpine Linux (minimal)"+ echo+ echo "Note: Pulse requires a Debian-based template (apt/systemd)."echosafe_read_with_default "Select template number or option [Enter for Debian 12]: " template_choice ""if [[ -n "$template_choice" ]]; then@@ -1288,19 +1289,22 @@ create_lxc_container() {pveam download "$BEST_TEMPLATE_STORAGE" ubuntu-22.04-standard_22.04-1_amd64.tar.zstTEMPLATE="${BEST_TEMPLATE_STORAGE}:vztmpl/ubuntu-22.04-standard_22.04-1_amd64.tar.zst";;- a|A)- # Find best storage for templates (prefer one with most free space)- local BEST_TEMPLATE_STORAGE=$(pvesm status -content vztmpl 2>/dev/null | tail -n +2 | sort -k6 -rn | head -1 | awk '{print $1}')- BEST_TEMPLATE_STORAGE=${BEST_TEMPLATE_STORAGE:-$storage}- print_info "Downloading Alpine Linux to storage '$BEST_TEMPLATE_STORAGE'..."- pveam download "$BEST_TEMPLATE_STORAGE" alpine-3.18-default_20230607_amd64.tar.xz- TEMPLATE="${BEST_TEMPLATE_STORAGE}:vztmpl/alpine-3.18-default_20230607_amd64.tar.xz"- ;;[0-9]*)# Extract the full template path from numbered listTEMPLATE=$(echo -e "$ALL_TEMPLATES" | sed -n "${template_choice}p")if [[ -n "$TEMPLATE" ]]; then- print_info "Using template: $TEMPLATE"+ # Check if selected template is Alpine or other non-Debian based+ if [[ "$TEMPLATE" =~ alpine|gentoo|arch|void ]]; then+ print_warn "Selected template ($TEMPLATE) is not Debian-based."+ print_warn "Pulse LXC installation requires apt and systemd."+ print_info "Falling back to Debian 12..."+ local BEST_TEMPLATE_STORAGE=$(pvesm status -content vztmpl 2>/dev/null | tail -n +2 | sort -k6 -rn | head -1 | awk '{print $1}')+ BEST_TEMPLATE_STORAGE=${BEST_TEMPLATE_STORAGE:-$storage}+ ensure_debian_template+ TEMPLATE="${BEST_TEMPLATE_STORAGE}:vztmpl/${DEBIAN_TEMPLATE}"+ else+ print_info "Using template: $TEMPLATE"+ fielse# Find best storage for templates (prefer one with most free space)local BEST_TEMPLATE_STORAGE=$(pvesm status -content vztmpl 2>/dev/null | tail -n +2 | sort -k6 -rn | head -1 | awk '{print $1}')