Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-76513

Moodle 4.1 cli install breaks

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Duplicate
    • Icon: Blocker Blocker
    • None
    • 4.1
    • Installation
    • None
    • MOODLE_401_STABLE

      When I try to install a new Moodle 4.1 version via admin/cli/install.php, the installation breaks with an error message NO_DEBUG_DISPLAY. Our Linux environment isn't able to download the language package from the internet, in Moodle 3.9 this wasn't a problem during the installation, only a warning was shown in the logfile. Now the installation breaks.

                                       ....
         _____                         | || |
        /___/.-  .-.  .-.  ..| || | .---.
        | |  _   _  |/  _  \/  _  \/  _  || |/  __ \
        * | | | | | || || || || || || || || |__/
          || || ||___/___/___|||_____)

      Moodle 4.1 (Build: 20221128) command line installatieprogramma
      PHP Fatal error:  Uncaught Error: Undefined constant "NO_DEBUG_DISPLAY" in /var/www/moodle/lib/weblib.php:3270
      Stack trace:
      #0 /var/www/moodle/lib/filelib.php(1633): debugging()
      #1 /var/www/moodle/lib/componentlib.class.php(511): download_file_content()
      #2 /var/www/moodle/lib/componentlib.class.php(458): component_installer->get_all_components_md5()
      #3 /var/www/moodle/lib/componentlib.class.php(390): component_installer->get_component_md5()
      #4 /var/www/moodle/lib/componentlib.class.php(285): component_installer->need_upgrade()
      #5 /var/www/moodle/lib/componentlib.class.php(804): component_installer->install()
      #6 /var/www/moodle/lib/componentlib.class.php(665): lang_installer->install_language_pack()
      #7 /var/www/moodle/admin/cli/install.php(463): lang_installer->run()
      #8 {main}
        thrown in /var/www/moodle/lib/weblib.php on line 3270

      Fatal error: Uncaught Error: Undefined constant "NO_DEBUG_DISPLAY" in /var/www/moodle/lib/weblib.php:3270
      Stack trace:
      #0 /var/www/moodle/lib/filelib.php(1633): debugging()
      #1 /var/www/moodle/lib/componentlib.class.php(511): download_file_content()
      #2 /var/www/moodle/lib/componentlib.class.php(458): component_installer->get_all_components_md5()
      #3 /var/www/moodle/lib/componentlib.class.php(390): component_installer->get_component_md5()
      #4 /var/www/moodle/lib/componentlib.class.php(285): component_installer->need_upgrade()
      #5 /var/www/moodle/lib/componentlib.class.php(804): component_installer->install()
      #6 /var/www/moodle/lib/componentlib.class.php(665): lang_installer->install_language_pack()
      #7 /var/www/moodle/admin/cli/install.php(463): lang_installer->run()
      #8 {main}
        thrown in /var/www/moodle/lib/weblib.php on line 3270

            Unassigned Unassigned
            alainraap Alain Raap
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.