@@ -13,18 +13,6 @@ source "${ALLSKY_SCRIPTS}/functions.sh" || exit "${EXIT_ERROR_STOP}"
1313# shellcheck source-path=scripts
1414source " ${ALLSKY_SCRIPTS} /installUpgradeFunctions.sh" || exit " ${EXIT_ERROR_STOP} "
1515
16- # XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX TODO: temporary Trixie check
17- if [[ ${PI_OS} == " trixie" ]]; then
18- echo -e " \n\n================================\n"
19- echo " Allsky does not yet work with the new Trixie operating system."
20- echo " Please use Bookworm instead."
21- echo " We will announce in the Allsky GitHub Discussions page when Trixie support is available."
22- echo -e " \nCheck back in a week or so."
23- echo -e " \n================================"
24- exit 0
25- fi
26- # XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
27-
2816# Default may be 700 (HOME) or 750 (ALLSKY_HOME) so web server can't read it
2917chmod 755 " ${HOME} " " ${ALLSKY_HOME} " || exit " ${EXIT_ERROR_STOP} "
3018cd " ${ALLSKY_HOME} " || exit " ${EXIT_ERROR_STOP} "
@@ -1047,7 +1035,7 @@ install_webserver_et_al()
10471035 display_msg --log progress " Installing the web server."
10481036 TMP=" ${ALLSKY_LOGS} /lighttpd.install.log"
10491037 run_aptGet \
1050- lighttpd php-cgi php-gd hostapd dnsmasq avahi-daemon hwinfo tree i2c-tools \
1038+ lighttpd php-fpm php-gd hostapd dnsmasq avahi-daemon hwinfo tree i2c-tools \
10511039 > " ${TMP} " 2>&1
10521040 check_success $? " lighttpd installation failed" " ${TMP} " " ${DEBUG} " \
10531041 || exit_with_image 1 " ${STATUS_ERROR} " " lighttpd installation failed"
@@ -1057,7 +1045,7 @@ install_webserver_et_al()
10571045 create_lighttpd_log_file
10581046
10591047 # Ignore output since it may already be enabled.
1060- sudo lighty-enable-mod fastcgi-php > /dev/null 2>&1
1048+ sudo lighty-enable-mod fastcgi-php-fpm > /dev/null 2>&1
10611049
10621050 TMP=" ${ALLSKY_LOGS} /lighttpd.start.log"
10631051 sudo systemctl start lighttpd > " ${TMP} " 2>&1
@@ -3340,7 +3328,7 @@ install_Python()
33403328
33413329 NUM_TO_INSTALL=$( wc -l < " ${REQUIREMENTS_FILE} " )
33423330
3343- if [[ ${PI_OS} == " bookworm" ]]; then
3331+ if [[ ${PI_OS} == " bookworm" || ${PI_OS} == " trixie " ]]; then
33443332 PKGs=" python3-full libgfortran5 libopenblas0-pthread"
33453333 display_msg --logonly progress " Installing ${PKGs} ."
33463334 TMP=" ${ALLSKY_LOGS} /python3-full.log"
0 commit comments