diff --git a/install/unifi-install.sh b/install/unifi-install.sh index 5bf36a76..d1d2e872 100644 --- a/install/unifi-install.sh +++ b/install/unifi-install.sh @@ -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 diff --git a/json/unifi.json b/json/unifi.json index 080312cb..0cc45088 100644 --- a/json/unifi.json +++ b/json/unifi.json @@ -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" } ]