diff --git a/ct/proxcenter.sh b/ct/proxcenter.sh deleted file mode 100644 index e003a1d435..0000000000 --- a/ct/proxcenter.sh +++ /dev/null @@ -1,73 +0,0 @@ -#!/usr/bin/env bash -_CS_DEFAULT_URL="https://raw.githubusercontent.com/community-scripts/DevScripts/main" -_cs_boot="${COMMUNITY_SCRIPTS_CORE_DIR:-$(dirname "${BASH_SOURCE[0]}")/../../core}/core/build.func" -source "$_cs_boot" 2>/dev/null || source <(curl -fsSL "${COMMUNITY_SCRIPTS_CORE_URL:-https://raw.githubusercontent.com/community-scripts/core/main}/core/build.func") -# Copyright (c) 2021-2026 community-scripts ORG -# Author: MickLesk (CanbiZ) -# License: MIT | https://github.com/community-scripts/DevScripts/raw/main/LICENSE -# Source: https://github.com/adminsyspro/proxcenter-ui - -APP="ProxCenter" -var_tags="${var_tags:-proxmox;management}" -var_cpu="${var_cpu:-2}" -var_ram="${var_ram:-6144}" -var_disk="${var_disk:-10}" -var_os="${var_os:-debian}" -var_version="${var_version:-13}" -var_arm64="${var_arm64:-yes}" -var_unprivileged="${var_unprivileged:-1}" - -header_info "$APP" -variables -color -catch_errors - -function update_script() { - header_info - check_container_storage - check_container_resources - - if [[ ! -d /opt/proxcenter ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - - if check_for_gh_release "proxcenter" "adminsyspro/proxcenter-ui"; then - msg_info "Stopping ProxCenter" - systemctl stop proxcenter - msg_ok "Stopped ProxCenter" - - NODE_VERSION="26" setup_nodejs - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "proxcenter" "adminsyspro/proxcenter-ui" "tarball" - - msg_info "Building ProxCenter" - cd /opt/proxcenter/frontend - $STD npm ci --legacy-peer-deps --ignore-scripts - $STD npm run build:icons - $STD npx prisma generate - # the type check in next build runs out of heap at 2 GB - NODE_OPTIONS="--max-old-space-size=4608" $STD npm run build - msg_ok "Built ProxCenter" - - msg_info "Migrating Database" - set -a && source /opt/proxcenter_data/.env && set +a - $STD npx prisma migrate deploy - $STD npx prisma db seed - msg_ok "Migrated Database" - - msg_info "Starting ProxCenter" - systemctl start proxcenter - msg_ok "Started ProxCenter" - msg_ok "Updated successfully!" - fi - exit -} - -start -build_container -description - -msg_ok "Completed Successfully!\n" -echo -e "${CREATING}${GN}${APP} setup has been successfully initialized!${CL}" -echo -e "${INFO}${YW}Access it using the following URL:${CL}" -echo -e "${GATEWAY}${BGN}http://${IP}:3000${CL}" diff --git a/install/proxcenter-install.sh b/install/proxcenter-install.sh deleted file mode 100644 index 648096a0df..0000000000 --- a/install/proxcenter-install.sh +++ /dev/null @@ -1,74 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2026 community-scripts ORG -# Author: MickLesk (CanbiZ) -# License: MIT | https://github.com/community-scripts/DevScripts/raw/main/LICENSE -# Source: https://github.com/adminsyspro/proxcenter-ui - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -NODE_VERSION="26" setup_nodejs -PG_VERSION="16" setup_postgresql -PG_DB_NAME="proxcenter" PG_DB_USER="proxcenter" setup_postgresql_db - -fetch_and_deploy_gh_release "proxcenter" "adminsyspro/proxcenter-ui" "tarball" - -msg_info "Building ProxCenter" -cd /opt/proxcenter/frontend -$STD npm ci --legacy-peer-deps --ignore-scripts -$STD npm run build:icons -$STD npx prisma generate -# the type check in next build runs out of heap at 2 GB -NODE_OPTIONS="--max-old-space-size=4608" $STD npm run build -msg_ok "Built ProxCenter" - -msg_info "Configuring ProxCenter" -mkdir -p /opt/proxcenter_data -cat </opt/proxcenter_data/.env -NODE_ENV=production -DATABASE_URL=postgresql://${PG_DB_USER}:${PG_DB_PASS}@localhost:5432/${PG_DB_NAME}?schema=public -APP_SECRET=$(openssl rand -base64 32) -NEXTAUTH_SECRET=$(openssl rand -base64 32) -NEXTAUTH_URL=http://${LOCAL_IP}:3000 -APP_URL=http://${LOCAL_IP}:3000 -PROXCENTER_INSTANCE_ID=proxcenter -EOF -chmod 600 /opt/proxcenter_data/.env -msg_ok "Configured ProxCenter" - -msg_info "Migrating Database" -set -a && source /opt/proxcenter_data/.env && set +a -$STD npx prisma migrate deploy -$STD npx prisma db seed -msg_ok "Migrated Database" - -msg_info "Creating Service" -cat </etc/systemd/system/proxcenter.service -[Unit] -Description=ProxCenter -After=network.target postgresql.service - -[Service] -Type=simple -User=root -WorkingDirectory=/opt/proxcenter/frontend -EnvironmentFile=/opt/proxcenter_data/.env -ExecStart=/usr/bin/node start.js -Restart=on-failure -RestartSec=5 - -[Install] -WantedBy=multi-user.target -EOF -systemctl enable -q --now proxcenter -msg_ok "Created Service" - -motd_ssh -customize -cleanup_lxc diff --git a/json/proxcenter.json b/json/proxcenter.json deleted file mode 100644 index 4fe08257a2..0000000000 --- a/json/proxcenter.json +++ /dev/null @@ -1,53 +0,0 @@ -{ - "name": "ProxCenter", - "slug": "proxcenter", - "categories": [ - 1 - ], - "date_created": "2026-09-27", - "type": "ct", - "updateable": true, - "privileged": false, - "architectures": [ - "amd64", - "arm64" - ], - "interface_port": 3000, - "documentation": "https://docs.proxcenter.io/", - "website": "https://proxcenter.io/", - "repository": "https://github.com/adminsyspro/proxcenter-ui", - "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/proxcenter.webp", - "description": "ProxCenter is a web console for running several Proxmox VE clusters and Proxmox Backup Server instances from one place, with inventory, in-browser consoles, backup visibility, migrations from VMware and other hypervisors, RBAC and SSO. This is the open-source Community Edition.", - "install_methods": [ - { - "type": "default", - "script": "ct/proxcenter.sh", - "config_path": "/opt/proxcenter_data/.env", - "resources": { - "cpu": 2, - "ram": 6144, - "hdd": 10, - "os": "Debian", - "version": "13" - } - } - ], - "default_credentials": { - "username": null, - "password": null - }, - "notes": [ - { - "text": "There is no default account: the first visit opens a setup page that creates the administrator. Create it right after the install.", - "type": "warning" - }, - { - "text": "Connect clusters with a dedicated API token with Privilege Separation, not root@pam. Required permissions: https://docs.proxcenter.io/getting-started/connect-proxmox#proxmox-permissions", - "type": "warning" - }, - { - "text": "NEXTAUTH_URL and APP_URL in /opt/proxcenter_data/.env point at the container IP. Update both for a new IP, a domain or a reverse proxy, then run systemctl restart proxcenter.", - "type": "info" - } - ] -}