mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2025-11-09 04:42:51 +00:00
Compare commits
6 Commits
tremor021-
...
CrazyWolf1
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
df2ccdebe8 | ||
|
|
839765957c | ||
|
|
3397846bc1 | ||
|
|
b3a7e9340a | ||
|
|
4def83ef00 | ||
|
|
630c223b19 |
@@ -16,6 +16,8 @@ Exercise vigilance regarding copycat or coat-tailing sites that seek to exploit
|
|||||||
|
|
||||||
- #### 🐞 Bug Fixes
|
- #### 🐞 Bug Fixes
|
||||||
|
|
||||||
|
- omada: fix update script with mongodb 8 [@MickLesk](https://github.com/MickLesk) ([#8724](https://github.com/community-scripts/ProxmoxVE/pull/8724))
|
||||||
|
- Booklore: Fix port configuration for Nginx [@tremor021](https://github.com/tremor021) ([#8780](https://github.com/community-scripts/ProxmoxVE/pull/8780))
|
||||||
- Fix paths in grist.sh [@mrinaldi](https://github.com/mrinaldi) ([#8777](https://github.com/community-scripts/ProxmoxVE/pull/8777))
|
- Fix paths in grist.sh [@mrinaldi](https://github.com/mrinaldi) ([#8777](https://github.com/community-scripts/ProxmoxVE/pull/8777))
|
||||||
|
|
||||||
## 2025-10-30
|
## 2025-10-30
|
||||||
|
|||||||
@@ -30,7 +30,7 @@ function update_script() {
|
|||||||
|
|
||||||
if ! grep -qEi 'ubuntu' /etc/os-release; then
|
if ! grep -qEi 'ubuntu' /etc/os-release; then
|
||||||
msg_info "Updating Intel Dependencies"
|
msg_info "Updating Intel Dependencies"
|
||||||
rm .intel-*
|
rm -f ~/.intel-* || true
|
||||||
fetch_and_deploy_gh_release "intel-igc-core-2" "intel/intel-graphics-compiler" "binary" "latest" "" "intel-igc-core-2_*_amd64.deb"
|
fetch_and_deploy_gh_release "intel-igc-core-2" "intel/intel-graphics-compiler" "binary" "latest" "" "intel-igc-core-2_*_amd64.deb"
|
||||||
fetch_and_deploy_gh_release "intel-igc-opencl-2" "intel/intel-graphics-compiler" "binary" "latest" "" "intel-igc-opencl-2_*_amd64.deb"
|
fetch_and_deploy_gh_release "intel-igc-opencl-2" "intel/intel-graphics-compiler" "binary" "latest" "" "intel-igc-opencl-2_*_amd64.deb"
|
||||||
fetch_and_deploy_gh_release "intel-libgdgmm12" "intel/compute-runtime" "binary" "latest" "" "libigdgmm12_*_amd64.deb"
|
fetch_and_deploy_gh_release "intel-libgdgmm12" "intel/compute-runtime" "binary" "latest" "" "libigdgmm12_*_amd64.deb"
|
||||||
|
|||||||
16
ct/omada.sh
16
ct/omada.sh
@@ -29,19 +29,13 @@ function update_script() {
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
msg_info "Updating MongoDB"
|
msg_info "Updating MongoDB"
|
||||||
MONGODB_VERSION="7.0"
|
if lscpu | grep -q 'avx'; then
|
||||||
if ! lscpu | grep -q 'avx'; then
|
MONGO_VERSION="8.0" setup_mongodb
|
||||||
MONGODB_VERSION="4.4"
|
else
|
||||||
msg_error "No AVX detected: TP-Link Canceled Support for Old MongoDB for Debian 12\n https://www.tp-link.com/baltic/support/faq/4160/"
|
msg_warn "No AVX detected: Using older MongoDB 4.4"
|
||||||
exit
|
MONGO_VERSION="4.4" setup_mongodb
|
||||||
fi
|
fi
|
||||||
|
|
||||||
curl -fsSL "https://www.mongodb.org/static/pgp/server-${MONGODB_VERSION}.asc" | gpg --dearmor >/usr/share/keyrings/mongodb-server-${MONGODB_VERSION}.gpg
|
|
||||||
echo "deb [signed-by=/usr/share/keyrings/mongodb-server-${MONGODB_VERSION}.gpg] http://repo.mongodb.org/apt/debian $(grep '^VERSION_CODENAME=' /etc/os-release | cut -d'=' -f2)/mongodb-org/${MONGODB_VERSION} main" >/etc/apt/sources.list.d/mongodb-org-${MONGODB_VERSION}.list
|
|
||||||
$STD apt update
|
|
||||||
$STD apt install -y --only-upgrade mongodb-org
|
|
||||||
msg_ok "Updated MongoDB to $MONGODB_VERSION"
|
|
||||||
|
|
||||||
msg_info "Checking if right Azul Zulu Java is installed"
|
msg_info "Checking if right Azul Zulu Java is installed"
|
||||||
java_version=$(java -version 2>&1 | awk -F[\"_] '/version/ {print $2}')
|
java_version=$(java -version 2>&1 | awk -F[\"_] '/version/ {print $2}')
|
||||||
if [[ "$java_version" =~ ^1\.8\.* ]]; then
|
if [[ "$java_version" =~ ^1\.8\.* ]]; then
|
||||||
|
|||||||
@@ -77,7 +77,8 @@ msg_info "Configure Nginx"
|
|||||||
rm -rf /usr/share/nginx/html
|
rm -rf /usr/share/nginx/html
|
||||||
ln -s /opt/booklore/booklore-ui/dist/booklore/browser /usr/share/nginx/html
|
ln -s /opt/booklore/booklore-ui/dist/booklore/browser /usr/share/nginx/html
|
||||||
cp /opt/booklore/nginx.conf /etc/nginx/nginx.conf
|
cp /opt/booklore/nginx.conf /etc/nginx/nginx.conf
|
||||||
sed -i "s/listen \${BOOKLORE_PORT};/listen 6060;/" /etc/nginx/nginx.conf
|
sed -i 's/listen \${BOOKLORE_PORT};/listen 6060;/' /etc/nginx/nginx.conf
|
||||||
|
sed -i 's/listen \[::\]:${BOOKLORE_PORT};/listen [::]:6060;/' /etc/nginx/nginx.conf
|
||||||
systemctl restart nginx
|
systemctl restart nginx
|
||||||
msg_ok "Configured Nginx"
|
msg_ok "Configured Nginx"
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user