@@ -548,7 +548,7 @@ upgrade_phpmyadmin() {
548548
549549 pma_release_file=$( ls /usr/share/phpmyadmin/RELEASE-DATE-* 2> /dev/null | tail -n 1)
550550 if version_ge " ${pma_release_file##* -} " " $pma_v " ; then
551- echo " [ ! ] Verifying phpMyAdmin v${pma_release_file##* -} installation... , No update found"
551+ echo " [ * ] Verify phpMyAdmin v${pma_release_file##* -} installation, No update found"
552552 # Update permissions
553553 if [ -e /var/lib/phpmyadmin/blowfish_secret.inc.php ]; then
554554 chown root:www-data /var/lib/phpmyadmin/blowfish_secret.inc.php
@@ -604,16 +604,16 @@ upgrade_filemanager() {
604604 fm_verison=" 1.0.0"
605605 fi
606606 if [ " $fm_verison " != " $fm_v " ]; then
607- echo " [ * ] Updating File Manager..."
607+ echo " [ ! ] Updating File Manager..."
608608 # Reinstall the File Manager
609- $HESTIA /bin/v-delete-sys-filemanager quiet
609+ $HESTIA /bin/v-delete-sys-filemanager quiet yes
610610 $HESTIA /bin/v-add-sys-filemanager quiet
611611 else
612612 echo " [ * ] Verify version Filemanager, No update found"
613613
614614 if [ " $UPGRADE_UPDATE_FILEMANAGER_CONFIG " = " true" ]; then
615615 if [ -e " $HESTIA /web/fm/configuration.php" ]; then
616- echo " [ * ] Updating File Manager configuration..."
616+ echo " [ ! ] Updating File Manager configuration..."
617617 # Update configuration.php
618618 cp -f $HESTIA_INSTALL_DIR /filemanager/filegator/configuration.php $HESTIA /web/fm/configuration.php
619619 # Set environment variable for interface
@@ -627,11 +627,11 @@ upgrade_filemanager() {
627627upgrade_roundcube (){
628628 if [ -n " $( echo " $WEBMAIL_SYSTEM " | grep -w ' roundcube' ) " ]; then
629629 if [ -d " /usr/share/roundcube" ]; then
630- echo " [ ! ] Roundcube: Unable to update. Updates are managed by apt." ;
630+ echo " [ * ] Roundcube: Unable to update. Updates are managed by apt." ;
631631 else
632632 rc_version=$( cat /var/lib/roundcube/index.php | grep -o -E ' [0-9].[0-9].[0-9]+' | head -1) ;
633633 if [ " $rc_version " != " $rc_v " ]; then
634- echo " [ * ] Upgrading Roundcube to version v$rc_v ..."
634+ echo " [ ! ] Upgrading Roundcube to version v$rc_v ..."
635635 $HESTIA /bin/v-add-sys-roundcube
636636 else
637637 echo " [ * ] Verify version Roundcube, No update found"
@@ -644,7 +644,7 @@ upgrade_rainloop(){
644644 if [ -n " $( echo " $WEBMAIL_SYSTEM " | grep -w ' rainloop' ) " ]; then
645645 rl_version=$( cat /var/lib/rainloop/data/VERSION) ;
646646 if [ " $rl_version " != " $rl_v " ]; then
647- echo " [ * ] Upgrading Rainloop to version v$rl_v ..."
647+ echo " [ ! ] Upgrading Rainloop to version v$rl_v ..."
648648 $HESTIA /bin/v-add-sys-rainloop
649649 else
650650 echo " [ * ] Verify version Rainloop, No update found"
@@ -659,7 +659,7 @@ upgrade_phpmailer(){
659659 fi
660660 phpm_version= $( cat $HESTIA /web/inc/vendor/phpmailer/phpmailer/VERSION) ;
661661 if [ " $phpm_version " != " $pm_v " ]; then
662- echo " [ * ] Upgrade phpmailer"
662+ echo " [ ! ] Upgrade phpmailer"
663663 $HESTIA /bin/v-add-sys-phpmailer
664664 else
665665 echo " [ * ] Verify Version phpmailer No update found"
@@ -779,13 +779,15 @@ upgrade_restart_services() {
779779 fi
780780 $BIN /v-restart-dns ' yes'
781781 fi
782- versions_list=$( $BIN /v-list-sys-php plain)
783- for v in $versions_list ; do
784- if [ " $DEBUG_MODE " = " true" ]; then
785- echo " - php$v -fpm"
786- fi
787- $BIN /v-restart-service " php$v -fpm" ' yes'
788- done
782+ if [ -n " $WEB_BACKEND " ]; then
783+ versions_list=$( $BIN /v-list-sys-php plain)
784+ for v in $versions_list ; do
785+ if [ " $DEBUG_MODE " = " true" ]; then
786+ echo " - php$v -fpm"
787+ fi
788+ $BIN /v-restart-service " php$v -fpm" ' yes'
789+ done
790+ fi
789791 if [ -n " $FTP_SYSTEM " ]; then
790792 if [ " $DEBUG_MODE " = " true" ]; then
791793 echo " - $FTP_SYSTEM "
0 commit comments