mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 10:22:50 +00:00 
			
		
		
		
	Compare commits
	
		
			12 Commits
		
	
	
		
			2024-12-21
			...
			2024-12-25
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					cf8dd2bfac | ||
| 
						 | 
					ee62a56cb9 | ||
| 
						 | 
					b8885e8d6c | ||
| 
						 | 
					55e02d8bdd | ||
| 
						 | 
					72df7e432d | ||
| 
						 | 
					0f2e49fbeb | ||
| 
						 | 
					d71bf7bcdf | ||
| 
						 | 
					4ed5bf0c12 | ||
| 
						 | 
					6debf20d19 | ||
| 
						 | 
					88120fcbcc | ||
| 
						 | 
					b65d55282f | ||
| 
						 | 
					ae67ee8768 | 
							
								
								
									
										22
									
								
								CHANGELOG.md
									
									
									
									
									
								
							
							
						
						
									
										22
									
								
								CHANGELOG.md
									
									
									
									
									
								
							@@ -16,6 +16,28 @@ All LXC instances created using this repository come pre-installed with Midnight
 | 
			
		||||
> [!IMPORTANT]
 | 
			
		||||
Do not break established syntax in this file, as it is automatically updated by a Github Workflow
 | 
			
		||||
 | 
			
		||||
## 2024-12-25
 | 
			
		||||
 | 
			
		||||
### Changed
 | 
			
		||||
 | 
			
		||||
### ✨ New Scripts
 | 
			
		||||
 | 
			
		||||
- add: pve-datacenter-manager [@CrazyWolf13](https://github.com/CrazyWolf13) ([#947](https://github.com/community-scripts/ProxmoxVE/pull/947))
 | 
			
		||||
 | 
			
		||||
### 🚀 Updated Scripts
 | 
			
		||||
 | 
			
		||||
- Fix Script: Alpine Nextcloud Upload File Size Limit [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#933](https://github.com/community-scripts/ProxmoxVE/pull/933))
 | 
			
		||||
- Doubled RAM for SAB [@TheRealVira](https://github.com/TheRealVira) ([#1007](https://github.com/community-scripts/ProxmoxVE/pull/1007))
 | 
			
		||||
 | 
			
		||||
## 2024-12-23
 | 
			
		||||
 | 
			
		||||
### Changed
 | 
			
		||||
 | 
			
		||||
### 🚀 Updated Scripts
 | 
			
		||||
 | 
			
		||||
- Fix Navidrome Update & Install [@MickLesk](https://github.com/MickLesk) ([#991](https://github.com/community-scripts/ProxmoxVE/pull/991))
 | 
			
		||||
- Update emby.sh to correct port [@Rageplant](https://github.com/Rageplant) ([#989](https://github.com/community-scripts/ProxmoxVE/pull/989))
 | 
			
		||||
 | 
			
		||||
## 2024-12-21
 | 
			
		||||
 | 
			
		||||
### Changed
 | 
			
		||||
 
 | 
			
		||||
@@ -57,4 +57,4 @@ 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}:8086${CL}"
 | 
			
		||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:8096${CL}"
 | 
			
		||||
 
 | 
			
		||||
@@ -7,7 +7,7 @@ source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/m
 | 
			
		||||
 | 
			
		||||
# App Default Values
 | 
			
		||||
APP="Hyperion"
 | 
			
		||||
var_tags="ambient lightning"
 | 
			
		||||
var_tags="ambient-lightning"
 | 
			
		||||
var_cpu="1"
 | 
			
		||||
var_ram="512"
 | 
			
		||||
var_disk="2"
 | 
			
		||||
 
 | 
			
		||||
@@ -34,16 +34,18 @@ function update_script() {
 | 
			
		||||
    fi
 | 
			
		||||
    RELEASE=$(curl -s https://api.github.com/repos/navidrome/navidrome/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
 | 
			
		||||
    msg_info "Stopping ${APP}"
 | 
			
		||||
    systemctl stop navidrome.service
 | 
			
		||||
    systemctl stop navidrome
 | 
			
		||||
    msg_ok "Stopped Navidrome"
 | 
			
		||||
 | 
			
		||||
    msg_info "Updating to v${RELEASE}"
 | 
			
		||||
    wget https://github.com/navidrome/navidrome/releases/download/v${RELEASE}/navidrome_${RELEASE}_linux_amd64.tar.gz -O Navidrome.tar.gz &>/dev/null
 | 
			
		||||
    cd /opt
 | 
			
		||||
    wget -q https://github.com/navidrome/navidrome/releases/download/v${RELEASE}/navidrome_${RELEASE}_linux_amd64.tar.gz -O Navidrome.tar.gz
 | 
			
		||||
    tar -xvzf Navidrome.tar.gz -C /opt/navidrome/ &>/dev/null
 | 
			
		||||
    chmod +x /opt/navidrome/navidrome
 | 
			
		||||
    msg_ok "Updated ${APP}"
 | 
			
		||||
    rm Navidrome.tar.gz
 | 
			
		||||
    rm -rf /opt/Navidrome.tar.gz
 | 
			
		||||
 | 
			
		||||
    msg_info "${GN} Starting ${APP}"
 | 
			
		||||
    msg_info "Starting ${APP}"
 | 
			
		||||
    systemctl start navidrome.service
 | 
			
		||||
    msg_ok "Started ${APP}"
 | 
			
		||||
    msg_ok "Updated Successfully"
 | 
			
		||||
@@ -57,4 +59,4 @@ 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}:4533${CL}"
 | 
			
		||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:4533${CL}"
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										46
									
								
								ct/proxmox-datacenter-manager.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										46
									
								
								ct/proxmox-datacenter-manager.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,46 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/raw/main/misc/build.func)
 | 
			
		||||
# Copyright (c) 2021-2024 community-scripts ORG
 | 
			
		||||
# Author: CrazyWolf13
 | 
			
		||||
# License: MIT | https://github.com/community-scripts/ProxmoxVE/raw/main/LICENSE
 | 
			
		||||
# Source: Proxmox Server Solution GmbH
 | 
			
		||||
 | 
			
		||||
# App Default Values
 | 
			
		||||
APP="proxmox-datacenter-manager"
 | 
			
		||||
var_tags="datacenter"
 | 
			
		||||
var_cpu="2"
 | 
			
		||||
var_ram="2048"
 | 
			
		||||
var_disk="10"
 | 
			
		||||
var_os="debian"
 | 
			
		||||
var_version="12"
 | 
			
		||||
var_unprivileged="1"
 | 
			
		||||
 | 
			
		||||
# App Output & Base Settings
 | 
			
		||||
header_info "$APP"
 | 
			
		||||
base_settings
 | 
			
		||||
 | 
			
		||||
# Core
 | 
			
		||||
variables
 | 
			
		||||
color
 | 
			
		||||
catch_errors
 | 
			
		||||
 | 
			
		||||
function update_script() {
 | 
			
		||||
    header_info
 | 
			
		||||
    check_container_storage
 | 
			
		||||
    check_container_resources
 | 
			
		||||
    if [[ ! -e /usr/sbin/proxmox-datacenter-manager-admin ]]; then msg_error "No ${APP} Installation Found!"; exit; fi
 | 
			
		||||
        msg_info "Updating $APP LXC"
 | 
			
		||||
        apt-get update &>/dev/null
 | 
			
		||||
        apt-get -y upgrade &>/dev/null
 | 
			
		||||
        msg_ok "Updated $APP LXC"
 | 
			
		||||
    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}https://${IP}:8443${CL}"
 | 
			
		||||
@@ -9,7 +9,7 @@ source <(curl -s https://raw.githubusercontent.com/community-scripts/ProxmoxVE/m
 | 
			
		||||
APP="SABnzbd"
 | 
			
		||||
var_tags="downloader"
 | 
			
		||||
var_cpu="2"
 | 
			
		||||
var_ram="2048"
 | 
			
		||||
var_ram="4096"
 | 
			
		||||
var_disk="8"
 | 
			
		||||
var_os="debian"
 | 
			
		||||
var_version="12"
 | 
			
		||||
@@ -57,4 +57,4 @@ 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}:7777${CL}"
 | 
			
		||||
echo -e "${TAB}${GATEWAY}${BGN}http://${IP}:7777${CL}"
 | 
			
		||||
 
 | 
			
		||||
@@ -103,6 +103,8 @@ server {
 | 
			
		||||
        listen       80;
 | 
			
		||||
        return 301 https://$host$request_uri;
 | 
			
		||||
        server_name localhost;
 | 
			
		||||
        client_max_body_size 16G;
 | 
			
		||||
        fastcgi_read_timeout 120s;
 | 
			
		||||
}
 | 
			
		||||
server {
 | 
			
		||||
        listen       443 ssl http2;
 | 
			
		||||
@@ -127,6 +129,8 @@ server {
 | 
			
		||||
                fastcgi_pass unix:/run/nextcloud/fastcgi.sock; # From the nextcloud-initscript package
 | 
			
		||||
                fastcgi_index index.php;
 | 
			
		||||
                include fastcgi.conf;
 | 
			
		||||
                fastcgi_read_timeout 120s;
 | 
			
		||||
                client_max_body_size 16G;
 | 
			
		||||
        }
 | 
			
		||||
        location ^~ /.well-known/carddav { return 301 /remote.php/dav/; }
 | 
			
		||||
        location ^~ /.well-known/caldav { return 301 /remote.php/dav/; }
 | 
			
		||||
@@ -135,6 +139,7 @@ server {
 | 
			
		||||
}
 | 
			
		||||
EOF
 | 
			
		||||
sed -i -e 's|memory_limit = 128M|memory_limit = 512M|; $aapc.enable_cli=1' /etc/php83/php.ini
 | 
			
		||||
sed -i -e 's|upload_max_file_size = 2M|upload_max_file_size = 16G|' /etc/php83/php.ini 
 | 
			
		||||
sed -i -E '/^php_admin_(flag|value)\[opcache/s/^/;/' /etc/php83/php-fpm.d/nextcloud.conf
 | 
			
		||||
msg_ok "Installed Nextcloud"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -20,14 +20,14 @@ $STD apt-get install -y mc
 | 
			
		||||
$STD apt-get install -y ffmpeg
 | 
			
		||||
msg_ok "Installed Dependencies"
 | 
			
		||||
 | 
			
		||||
RELEASE=$(curl -s https://api.github.com/repos/navidrome/navidrome/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
 | 
			
		||||
 | 
			
		||||
msg_info "Installing Navidrome"
 | 
			
		||||
RELEASE=$(curl -s https://api.github.com/repos/navidrome/navidrome/releases/latest | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
 | 
			
		||||
install -d -o root -g root /opt/navidrome
 | 
			
		||||
install -d -o root -g root /var/lib/navidrome
 | 
			
		||||
wget -q https://github.com/navidrome/navidrome/releases/download/v${RELEASE}/navidrome_${RELEASE}_linux_amd64.tar.gz -O Navidrome.tar.gz
 | 
			
		||||
$STD tar -xvzf Navidrome.tar.gz -C /opt/navidrome/
 | 
			
		||||
chown -R root:root /opt/navidrome
 | 
			
		||||
chmod +x /opt/navidrome/navidrome
 | 
			
		||||
mkdir -p /music
 | 
			
		||||
cat <<EOF >/var/lib/navidrome/navidrome.toml
 | 
			
		||||
MusicFolder = '/music'
 | 
			
		||||
 
 | 
			
		||||
							
								
								
									
										39
									
								
								install/proxmox-datacenter-manager-install.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										39
									
								
								install/proxmox-datacenter-manager-install.sh
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,39 @@
 | 
			
		||||
#!/usr/bin/env bash
 | 
			
		||||
 | 
			
		||||
# Copyright (c) 2021-2024 community-scripts ORG
 | 
			
		||||
# Author: CrazyWolf13
 | 
			
		||||
# License: MIT
 | 
			
		||||
# Source: Proxmox Server Solution GmbH
 | 
			
		||||
 | 
			
		||||
source /dev/stdin <<<"$FUNCTIONS_FILE_PATH"
 | 
			
		||||
color
 | 
			
		||||
verb_ip6
 | 
			
		||||
catch_errors
 | 
			
		||||
setting_up_container
 | 
			
		||||
network_check
 | 
			
		||||
update_os
 | 
			
		||||
 | 
			
		||||
msg_info "Installing Dependencies"
 | 
			
		||||
$STD apt-get install -y \
 | 
			
		||||
    curl \
 | 
			
		||||
    sudo \
 | 
			
		||||
    gpg \
 | 
			
		||||
    mc 
 | 
			
		||||
msg_ok "Installed Dependencies"
 | 
			
		||||
 | 
			
		||||
msg_info "Installing Proxmox Datacenter Manager"
 | 
			
		||||
curl -fsSL https://enterprise.proxmox.com/debian/proxmox-release-bookworm.gpg | gpg --dearmor -o /etc/apt/keyrings/proxmox-release-bookworm.gpg
 | 
			
		||||
echo "deb [signed-by=/etc/apt/keyrings/proxmox-release-bookworm.gpg] http://download.proxmox.com/debian/pdm bookworm pdm-test  " >/etc/apt/sources.list.d/proxmox-release-bookworm.list
 | 
			
		||||
$STD apt-get update
 | 
			
		||||
$STD apt-get install -y \
 | 
			
		||||
    proxmox-datacenter-manager \
 | 
			
		||||
    proxmox-datacenter-manager-ui
 | 
			
		||||
msg_ok "Installed Proxmox Datacenter Manager"
 | 
			
		||||
 | 
			
		||||
motd_ssh
 | 
			
		||||
customize
 | 
			
		||||
 | 
			
		||||
msg_info "Cleaning up"
 | 
			
		||||
$STD apt-get -y autoremove
 | 
			
		||||
$STD apt-get -y autoclean
 | 
			
		||||
msg_ok "Cleaned"
 | 
			
		||||
							
								
								
									
										44
									
								
								json/proxmox-datacenter-manager.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										44
									
								
								json/proxmox-datacenter-manager.json
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,44 @@
 | 
			
		||||
{
 | 
			
		||||
    "name": "Proxmox Datacenter Manager",
 | 
			
		||||
    "slug": "proxmox-datacenter-manager",
 | 
			
		||||
    "categories": [
 | 
			
		||||
      11,
 | 
			
		||||
      1
 | 
			
		||||
    ],
 | 
			
		||||
    "date_created": "2024-12-20",
 | 
			
		||||
    "type": "ct",
 | 
			
		||||
    "updateable": true,
 | 
			
		||||
    "privileged": false,
 | 
			
		||||
    "interface_port": 8443,
 | 
			
		||||
    "documentation": "https://pve.proxmox.com/wiki/Proxmox_Datacenter_Manager_Roadmap",
 | 
			
		||||
    "website": "https://pve.proxmox.com/wiki/Proxmox_Datacenter_Manager_Roadmap",
 | 
			
		||||
    "logo": "https://raw.githubusercontent.com/home-assistant/brands/master/core_integrations/proxmoxve/icon.png",
 | 
			
		||||
    "description": "The Proxmox Datacenter Manager project has been developed with the objective of providing a centralized overview of all your individual nodes and clusters. It also enables basic management like migrations of virtual guests without any cluster network requirements. ",
 | 
			
		||||
    "install_methods": [
 | 
			
		||||
      {
 | 
			
		||||
        "type": "default",
 | 
			
		||||
        "script": "ct/proxmox-datacenter-manager.sh",
 | 
			
		||||
        "resources": {
 | 
			
		||||
          "cpu": 2,
 | 
			
		||||
          "ram": 2048,
 | 
			
		||||
          "hdd": 10,
 | 
			
		||||
          "os": "Debian",
 | 
			
		||||
          "version": "12"
 | 
			
		||||
        }
 | 
			
		||||
      }
 | 
			
		||||
    ],
 | 
			
		||||
    "default_credentials": {
 | 
			
		||||
      "username": null,
 | 
			
		||||
      "password": null
 | 
			
		||||
    },
 | 
			
		||||
    "notes": [
 | 
			
		||||
      {
 | 
			
		||||
        "text": "Set a root password if using autologin. This will be the Proxmox-Datacenter-Manager password. `sudo passwd root`",
 | 
			
		||||
        "type": "info"
 | 
			
		||||
      },
 | 
			
		||||
      {
 | 
			
		||||
        "text": "Proxmox Datacenter Manager is in an alpha stage of development. Use it cautiously, as bugs, incomplete features, and potential instabilities are expected.",
 | 
			
		||||
        "type": "warning"
 | 
			
		||||
      }
 | 
			
		||||
    ]
 | 
			
		||||
  }
 | 
			
		||||
		Reference in New Issue
	
	Block a user