File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 382382# # cleanup temp file ##
383383# ss_rm /tmp/git-updater.zip
384384
385+ # # Ubuntu 24.04 Nginx package regression hotfix ##
386+ # # Ubuntu nginx 1.24.0-2ubuntu7.10 can segfault with external modules ##
387+ if [[ " ${SYSTEM_UBUNTU_VERSION} " == " 24.04" ]] && dpkg -s nginx 2> /dev/null | grep -q ' Version: 1.24.0-2ubuntu7.10' ; then
388+ apt-get update
389+ apt-get install -y --only-upgrade nginx nginx-common nginx-extras
390+ if ! dpkg -s nginx 2> /dev/null | grep -q ' Version: 1.24.0-2ubuntu7.10' ; then
391+ nginx -t && systemctl restart nginx
392+ fi
393+ fi
394+
385395# ###################################################################################################
386396# ### P. SS-Worker: Reset Permissions (SlickStack) ##################################################
387397# ###################################################################################################
You can’t perform that action at this time.
0 commit comments