mirror of
				https://github.com/community-scripts/ProxmoxVE.git
				synced 2025-11-04 02:12:49 +00:00 
			
		
		
		
	Compare commits
	
		
			15 Commits
		
	
	
		
			2024-12-06
			...
			2024-12-09
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 
						 | 
					d6ead654ad | ||
| 
						 | 
					4f66476de5 | ||
| 
						 | 
					e4354c1d53 | ||
| 
						 | 
					8a6ea7cbac | ||
| 
						 | 
					96d691c862 | ||
| 
						 | 
					82ee63a6db | ||
| 
						 | 
					102669cd11 | ||
| 
						 | 
					ae120c1e23 | ||
| 
						 | 
					c056dd97ea | ||
| 
						 | 
					5b2cbd3e99 | ||
| 
						 | 
					cadae9796e | ||
| 
						 | 
					9eb5cc022a | ||
| 
						 | 
					52898b4edf | ||
| 
						 | 
					e45aba86bd | ||
| 
						 | 
					be4e6503d7 | 
							
								
								
									
										37
									
								
								CHANGELOG.md
									
									
									
									
									
								
							
							
						
						
									
										37
									
								
								CHANGELOG.md
									
									
									
									
									
								
							@@ -16,6 +16,43 @@ 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-09
 | 
			
		||||
 | 
			
		||||
### Changed
 | 
			
		||||
 | 
			
		||||
### 🚀 Updated Scripts
 | 
			
		||||
 | 
			
		||||
- Fix PostgreSQL password bug in Umami install [@michelroegl-brunner](https://github.com/michelroegl-brunner) ([#750](https://github.com/community-scripts/ProxmoxVE/pull/750))
 | 
			
		||||
 | 
			
		||||
## 2024-12-08
 | 
			
		||||
 | 
			
		||||
### Changed
 | 
			
		||||
 | 
			
		||||
### 🚀 Updated Scripts
 | 
			
		||||
 | 
			
		||||
- Use MongoDB 4.4 in Unifi for non-AVX users [@havardthom](https://github.com/havardthom) ([#691](https://github.com/community-scripts/ProxmoxVE/pull/691))
 | 
			
		||||
 | 
			
		||||
### 🌐 Website
 | 
			
		||||
 | 
			
		||||
- Move homarr to Dashboards section [@CrazyWolf13](https://github.com/CrazyWolf13) ([#740](https://github.com/community-scripts/ProxmoxVE/pull/740))
 | 
			
		||||
 | 
			
		||||
## 2024-12-07
 | 
			
		||||
 | 
			
		||||
### Changed
 | 
			
		||||
 | 
			
		||||
### 🚀 Updated Scripts
 | 
			
		||||
 | 
			
		||||
- Zigbee2MQTT: Remove dev branch choice until v2.0.0 release [@havardthom](https://github.com/havardthom) ([#702](https://github.com/community-scripts/ProxmoxVE/pull/702))
 | 
			
		||||
- Fix Hoarder build failure by installing Chromium stable [@vhsdream](https://github.com/vhsdream) ([#723](https://github.com/community-scripts/ProxmoxVE/pull/723))
 | 
			
		||||
 | 
			
		||||
### 🌐 Website
 | 
			
		||||
 | 
			
		||||
- Bugfix: Include script name in website search [@havardthom](https://github.com/havardthom) ([#731](https://github.com/community-scripts/ProxmoxVE/pull/731))
 | 
			
		||||
 | 
			
		||||
### ❔ Unlabelled
 | 
			
		||||
 | 
			
		||||
- Fix broken build.func [@havardthom](https://github.com/havardthom) ([#736](https://github.com/community-scripts/ProxmoxVE/pull/736))
 | 
			
		||||
 | 
			
		||||
## 2024-12-06
 | 
			
		||||
 | 
			
		||||
### Changed
 | 
			
		||||
 
 | 
			
		||||
@@ -95,7 +95,7 @@ export default function CommandMenu() {
 | 
			
		||||
              {category.scripts.map((script) => (
 | 
			
		||||
                <CommandItem
 | 
			
		||||
                  key={`script:${script.slug}`}
 | 
			
		||||
                  value={script.slug}
 | 
			
		||||
                  value={`${script.slug}-${script.name}`}
 | 
			
		||||
                  onSelect={() => {
 | 
			
		||||
                    setOpen(false);
 | 
			
		||||
                    router.push(`/scripts?id=${script.slug}`);
 | 
			
		||||
 
 | 
			
		||||
@@ -22,7 +22,8 @@ $STD apt-get install -y \
 | 
			
		||||
  sudo \
 | 
			
		||||
  gnupg \
 | 
			
		||||
  ca-certificates \
 | 
			
		||||
  chromium \
 | 
			
		||||
  chromium/stable \
 | 
			
		||||
  chromium-common/stable \
 | 
			
		||||
  mc
 | 
			
		||||
msg_ok "Installed Dependencies"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -37,7 +37,7 @@ msg_ok "Installed Node.js"
 | 
			
		||||
msg_info "Setting up postgresql"
 | 
			
		||||
DB_NAME=umamidb
 | 
			
		||||
DB_USER=umami
 | 
			
		||||
DB_PASS="$(openssl rand -base64 18 | cut -c1-13)"
 | 
			
		||||
DB_PASS=$(openssl rand -base64 18 | tr -dc 'a-zA-Z0-9' | head -c13)
 | 
			
		||||
SECRET_KEY="$(head /dev/urandom | tr -dc A-Za-z0-9 | head -c 32)"
 | 
			
		||||
$STD sudo -u postgres psql -c "CREATE ROLE $DB_USER WITH LOGIN PASSWORD '$DB_PASS';"
 | 
			
		||||
$STD sudo -u postgres psql -c "CREATE DATABASE $DB_NAME WITH OWNER $DB_USER ENCODING 'UTF8' TEMPLATE template0;"
 | 
			
		||||
 
 | 
			
		||||
@@ -30,16 +30,15 @@ msg_ok "Installed Eclipse Temurin JRE"
 | 
			
		||||
 | 
			
		||||
if ! grep -q -m1 'avx[^ ]*' /proc/cpuinfo; then
 | 
			
		||||
  msg_ok "No AVX Support Detected"
 | 
			
		||||
  msg_info "Installing MongoDB 4.2"
 | 
			
		||||
  msg_info "Installing MongoDB 4.4"
 | 
			
		||||
  if ! dpkg -l | grep -q "libssl1.1"; then
 | 
			
		||||
    wget -q http://security.debian.org/debian-security/pool/updates/main/o/openssl/libssl1.1_1.1.1n-0+deb10u6_amd64.deb
 | 
			
		||||
    $STD dpkg -i libssl1.1_1.1.1n-0+deb10u6_amd64.deb
 | 
			
		||||
    $STD apt-get install -f -y  # Fix any broken dependencies
 | 
			
		||||
  fi
 | 
			
		||||
  wget -qO- https://www.mongodb.org/static/pgp/server-4.2.asc | gpg --dearmor > /usr/share/keyrings/mongodb-server-4.2.gpg
 | 
			
		||||
  echo "deb [signed-by=/usr/share/keyrings/mongodb-server-4.2.gpg] https://repo.mongodb.org/apt/debian buster/mongodb-org/4.2 main" >/etc/apt/sources.list.d/mongodb-org-4.2.list
 | 
			
		||||
  wget -qO- https://www.mongodb.org/static/pgp/server-4.4.asc | gpg --dearmor > /usr/share/keyrings/mongodb-server-4.4.gpg
 | 
			
		||||
  echo "deb [signed-by=/usr/share/keyrings/mongodb-server-4.4.gpg] https://repo.mongodb.org/apt/debian buster/mongodb-org/4.4 main" >/etc/apt/sources.list.d/mongodb-org-4.4.list
 | 
			
		||||
  $STD apt-get update
 | 
			
		||||
  $STD apt-get install -y mongodb-org=4.2.17
 | 
			
		||||
  $STD apt-get install -y mongodb-org
 | 
			
		||||
else
 | 
			
		||||
  msg_info "Installing MongoDB 7.0"
 | 
			
		||||
  wget -qO- https://www.mongodb.org/static/pgp/server-7.0.asc | gpg --dearmor >/usr/share/keyrings/mongodb-server-7.0.gpg
 | 
			
		||||
 
 | 
			
		||||
@@ -40,20 +40,8 @@ msg_info "Setting up Zigbee2MQTT Repository"
 | 
			
		||||
$STD git clone --depth 1 https://github.com/Koenkk/zigbee2mqtt.git /opt/zigbee2mqtt
 | 
			
		||||
msg_ok "Set up Zigbee2MQTT Repository"
 | 
			
		||||
 | 
			
		||||
read -r -p "Switch to Edge/dev branch? (y/N) " prompt
 | 
			
		||||
if [[ $prompt == "y" ]]; then
 | 
			
		||||
  DEV="y"
 | 
			
		||||
else
 | 
			
		||||
  DEV="n"
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
msg_info "Installing Zigbee2MQTT"
 | 
			
		||||
cd /opt/zigbee2mqtt
 | 
			
		||||
if [[ $DEV == "y" ]]; then
 | 
			
		||||
$STD git fetch origin dev:dev
 | 
			
		||||
$STD git checkout dev
 | 
			
		||||
$STD git pull
 | 
			
		||||
fi
 | 
			
		||||
$STD npm ci
 | 
			
		||||
msg_ok "Installed Zigbee2MQTT"
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
@@ -2,7 +2,7 @@
 | 
			
		||||
    "name": "Homarr",
 | 
			
		||||
    "slug": "homarr",
 | 
			
		||||
    "categories": [
 | 
			
		||||
        18
 | 
			
		||||
        15
 | 
			
		||||
    ],
 | 
			
		||||
    "date_created": "2024-05-02",
 | 
			
		||||
    "type": "ct",
 | 
			
		||||
 
 | 
			
		||||
@@ -32,7 +32,7 @@
 | 
			
		||||
    },
 | 
			
		||||
    "notes": [
 | 
			
		||||
        {
 | 
			
		||||
            "text": "For non-AVX CPUs, MongoDB 4.2 is installed. Please note this is a legacy solution that may present security risks and could become unsupported in future updates.",
 | 
			
		||||
            "text": "For non-AVX CPUs, MongoDB 4.4 is installed. Please note this is a legacy solution that may present security risks and could become unsupported in future updates.",
 | 
			
		||||
            "type": "warning"
 | 
			
		||||
        }
 | 
			
		||||
    ]
 | 
			
		||||
 
 | 
			
		||||
@@ -504,7 +504,7 @@ install_script() {
 | 
			
		||||
 | 
			
		||||
check_container_resources() {
 | 
			
		||||
  # Check actual RAM & Cores
 | 
			
		||||
  current_ram=$(free -m | awk '/^Mem:/{print $2}')
 | 
			
		||||
  current_ram=$(free -m | awk 'NR==2{print $2}')
 | 
			
		||||
  current_cpu=$(nproc) 
 | 
			
		||||
 | 
			
		||||
  # Check whether the current RAM is less than the required RAM or the CPU cores are less than required
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user