Compare commits

...

6 Commits

Author SHA1 Message Date
Tobias
df2ccdebe8 fix: rm cmd 2025-10-31 20:46:54 +01:00
Tobias
839765957c jellyfin: fix: initial update 2025-10-31 11:30:15 +01:00
community-scripts-pr-app[bot]
3397846bc1 Update CHANGELOG.md (#8782)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-31 08:47:56 +00:00
CanbiZ
b3a7e9340a omada: fix update script with mongodb 8 (#8724)
Co-authored-by: Tobias <96661824+CrazyWolf13@users.noreply.github.com>
Co-authored-by: Slaviša Arežina <58952836+tremor021@users.noreply.github.com>
2025-10-31 09:47:22 +01:00
community-scripts-pr-app[bot]
4def83ef00 Update CHANGELOG.md (#8781)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
2025-10-31 08:46:08 +00:00
Slaviša Arežina
630c223b19 Update Nginx configuration to use port 6060 (#8780) 2025-10-31 09:45:47 +01:00
4 changed files with 10 additions and 13 deletions

View File

@@ -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

View File

@@ -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"

View File

@@ -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

View File

@@ -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"