diff --git a/ct/headers/phpipam b/ct/headers/phpipam deleted file mode 100644 index 51ba79de5..000000000 --- a/ct/headers/phpipam +++ /dev/null @@ -1,6 +0,0 @@ - __ ________ ___ __ ___ - ____ / /_ ____ / _/ __ \/ | / |/ / - / __ \/ __ \/ __ \ / // /_/ / /| | / /|_/ / - / /_/ / / / / /_/ // // ____/ ___ |/ / / / - / .___/_/ /_/ .___/___/_/ /_/ |_/_/ /_/ -/_/ /_/ diff --git a/ct/phpipam.sh b/ct/phpipam.sh deleted file mode 100644 index e27b314dd..000000000 --- a/ct/phpipam.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/usr/bin/env bash -source <(curl -fsSL https://raw.githubusercontent.com/community-scripts/ProxmoxVE/main/misc/build.func) -# Copyright (c) 2021-2026 community-scripts ORG -# Author: bvdberg01 -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://phpipam.net/ - -APP="phpIPAM" -var_tags="${var_tags:-network}" -var_cpu="${var_cpu:-1}" -var_ram="${var_ram:-512}" -var_disk="${var_disk:-4}" -var_os="${var_os:-debian}" -var_version="${var_version:-13}" -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/phpipam ]]; then - msg_error "No ${APP} Installation Found!" - exit - fi - setup_mariadb - if check_for_gh_release "phpipam" "phpipam/phpipam"; then - msg_info "Stopping Service" - systemctl stop apache2 - msg_ok "Stopped Service" - - PHP_VERSION="8.4" PHP_APACHE="YES" PHP_FPM="YES" PHP_MODULE="mysql,gmp,snmp,ldap,apcu" setup_php - - msg_info "Installing PHP-PEAR" - $STD apt install -y \ - php-pear \ - php-dev - msg_ok "Installed PHP-PEAR" - - mv /opt/phpipam/ /opt/phpipam-backup - CLEAN_INSTALL=1 fetch_and_deploy_gh_release "phpipam" "phpipam/phpipam" "prebuild" "latest" "/opt/phpipam" "phpipam-v*.zip" - cp /opt/phpipam-backup/config.php /opt/phpipam - rm -r /opt/phpipam-backup - - msg_info "Starting Service" - systemctl start apache2 - msg_ok "Started Service" - 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 "${TAB}${GATEWAY}${BGN}http://${IP}${CL}" diff --git a/frontend/public/json/phpipam.json b/frontend/public/json/phpipam.json deleted file mode 100644 index cfea25c60..000000000 --- a/frontend/public/json/phpipam.json +++ /dev/null @@ -1,35 +0,0 @@ -{ - "name": "phpIPAM", - "slug": "phpipam", - "categories": [ - 4 - ], - "date_created": "2025-01-15", - "type": "ct", - "updateable": true, - "privileged": false, - "interface_port": 80, - "documentation": "https://phpipam.net/documents/all-documents/", - "website": "https://phpipam.net/", - "logo": "https://cdn.jsdelivr.net/gh/selfhst/icons@main/webp/phpipam.webp", - "config_path": "/opt/phpipam/config.php", - "description": "phpipam is an open-source web IP address management application (IPAM). Its goal is to provide light, modern and useful IP address management.", - "install_methods": [ - { - "type": "default", - "script": "ct/phpipam.sh", - "resources": { - "cpu": 1, - "ram": 1024, - "hdd": 4, - "os": "debian", - "version": "13" - } - } - ], - "default_credentials": { - "username": "Admin", - "password": "ipamadmin" - }, - "notes": [] -} diff --git a/install/phpipam-install.sh b/install/phpipam-install.sh deleted file mode 100644 index 13021e43e..000000000 --- a/install/phpipam-install.sh +++ /dev/null @@ -1,68 +0,0 @@ -#!/usr/bin/env bash - -# Copyright (c) 2021-2026 community-scripts ORG -# Author: bvdberg01 -# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE -# Source: https://phpipam.net/ - -source /dev/stdin <<<"$FUNCTIONS_FILE_PATH" -color -verb_ip6 -catch_errors -setting_up_container -network_check -update_os - -msg_info "Installing Dependencies" -$STD apt install -y fping -msg_ok "Installed Dependencies" - -PHP_VERSION="8.4" PHP_APACHE="YES" PHP_FPM="YES" PHP_MODULE="mysql,gmp,snmp,ldap,apcu" setup_php - -msg_info "Installing PHP-PEAR" -$STD apt install -y \ - php-pear \ - php-dev -msg_ok "Installed PHP-PEAR" - -setup_mariadb -MARIADB_DB_NAME="phpipam" MARIADB_DB_USER="phpipam" setup_mariadb_db -fetch_and_deploy_gh_release "phpipam" "phpipam/phpipam" "prebuild" "latest" "/opt/phpipam" "phpipam-v*.zip" - -msg_info "Installing phpIPAM" -# patch SCHEMA, during varchar l_name is to short in upstream (2025-11-15) -sed -i -E 's/`l_name`\s+varchar\([0-9]+\)/`l_name` varchar(128)/' /opt/phpipam/db/SCHEMA.sql -$STD mariadb -u root "${MARIADB_DB_NAME}" /etc/apache2/sites-available/phpipam.conf - - ServerName phpipam - DocumentRoot /opt/phpipam - - Options FollowSymLinks - AllowOverride All - Require all granted - - - ErrorLog /var/log/apache2/phpipam_error.log - CustomLog /var/log/apache2/phpipam_access.log combined - -EOF -$STD a2ensite phpipam -$STD a2enmod rewrite -$STD a2dissite 000-default.conf -$STD systemctl reload apache2 -msg_ok "Created Service" - -motd_ssh -customize -cleanup_lxc