PHP error when updating

Discussion in 'General' started by FredZ, Mar 22, 2022.

  1. FredZ

    FredZ Member

    Hello all

    Haven't need to touch the server for a while, but lately I needed to make some changes to my DNS records.
    After I made the changes the red circle that appears with the job counted did nothing. Stayed the same for more than 15 minutes. Then I started doing some digging.

    I started by attempting to update ISPc
    ispconfig_update.sh --force (as the latest version was installed)
    I am getting the following errors and my very limited knowledge prevents me from understanding where these are coming from.
    Code:
    This application will update ISPConfig 3 on your server.
    
    PHP Warning:  Undefined array key "do_backup" in /tmp/update_runner.sh.Y49cpaV9eR/install/lib/installer_base.lib.php on line 86
    PHP Warning:  Trying to access array offset on value of type null in /tmp/update_runner.sh.Y49cpaV9eR/install/lib/installer_base.lib.php on line 92
    Shall the script create a ISPConfig backup in /var/backup/ now? (yes,no) [yes]:
    
    Creating backup of "/usr/local/ispconfig" directory...
    Creating backup of "/etc" directory...
    Checking ISPConfig database .. OK
    Starting incremental database update.
    Loading SQL patch file: /tmp/update_runner.sh.Y49cpaV9eR/install/sql/incremental/upd_dev_collection.sql
    PHP Warning:  Undefined array key "reconfigure_permissions_in_master_database" in /tmp/update_runner.sh.Y49cpaV9eR/install/lib/installer_base.lib.php on line 86
    PHP Warning:  Trying to access array offset on value of type null in /tmp/update_runner.sh.Y49cpaV9eR/install/lib/installer_base.lib.php on line 92
    Reconfigure Permissions in master database? (yes,no) [no]:
    The server still apears to be working as expected.

    (Debian Buster) ISPConfig 3.2.7p1
    PHP 8.0.17 (cli) (built: Mar 20 2022 17:07:16) ( NTS )
    Copyright (c) The PHP Group
    Zend Engine v4.0.17, Copyright (c) Zend Technologies
    with Zend OPcache v8.0.17, Copyright (c), by Zend Technologies

    System state shows a green banner with no warnings or errors.

    Regards

    Fred
     
  2. till

    till Super Moderator Staff Member ISPConfig Developer

Share This Page