Minervis-GmbH / BigBlueButton-Ilias-Plugin

BigBlueButton Plugin for ILIAS LMS
https://docu.ilias.de/goto_docu_dcl_3342_1_73.html
GNU General Public License v3.0
8 stars 18 forks source link

BBB plugin files disrupt ilias setup.php and cli.php work? (ilias 8.8) #63

Open D33M0N opened 2 months ago

D33M0N commented 2 months ago

I am not even quite sure if this is Ilias own problem or this plugin, but I get this when trying to run ilias own setup/cli.php:

$ php setup/cli.php status
PHP Warning:  Undefined array key "client_id" in /opt/ilias/releases/1309233567-1718355250/Customizing/gl
obal/plugins/Services/Repository/RepositoryObject/BigBlueButton/guest.php on line 466

Warning: Undefined array key "client_id" in /opt/ilias/releases/1309233567-1718355250/Customizing/global/
plugins/Services/Repository/RepositoryObject/BigBlueButton/guest.php on line 466
PHP Warning:  Undefined array key "ref_id" in /opt/ilias/releases/1309233567-1718355250/Customizing/globa
l/plugins/Services/Repository/RepositoryObject/BigBlueButton/guest.php on line 467

Warning: Undefined array key "ref_id" in /opt/ilias/releases/1309233567-1718355250/Customizing/global/plu
gins/Services/Repository/RepositoryObject/BigBlueButton/guest.php on line 467
common:
   is_installed: false

$ php setup/setup.php status
PHP Warning:  Undefined array key "client_id" in /opt/ilias/releases/1309233567-1718355250/Customizing/gl
obal/plugins/Services/Repository/RepositoryObject/BigBlueButton/guest.php on line 466

Warning: Undefined array key "client_id" in /opt/ilias/releases/1309233567-1718355250/Customizing/global/
plugins/Services/Repository/RepositoryObject/BigBlueButton/guest.php on line 466
PHP Warning:  Undefined array key "ref_id" in /opt/ilias/releases/1309233567-1718355250/Customizing/globa
l/plugins/Services/Repository/RepositoryObject/BigBlueButton/guest.php on line 467

Warning: Undefined array key "ref_id" in /opt/ilias/releases/1309233567-1718355250/Customizing/global/plu
gins/Services/Repository/RepositoryObject/BigBlueButton/guest.php on line 467
common:
   is_installed: false

$ php setup/cli.php migrate      

   ILIAS Copyright (C) 1998-2019 ILIAS Open Source e.V. - GPLv3

This program comes with ABSOLUTELY NO WARRANTY. This is free software,
and you are welcome to redistribute it under certain conditions. Look
into the LICENSE file for details.

Trigger migrations in ILIAS
===========================

PHP Warning:  Undefined array key "client_id" in /opt/ilias/releases/1309233567-1718355250/Customizing/gl
obal/plugins/Services/Repository/RepositoryObject/BigBlueButton/guest.php on line 466

Warning: Undefined array key "client_id" in /opt/ilias/releases/1309233567-1718355250/Customizing/global/
plugins/Services/Repository/RepositoryObject/BigBlueButton/guest.php on line 466
PHP Warning:  Undefined array key "ref_id" in /opt/ilias/releases/1309233567-1718355250/Customizing/globa
l/plugins/Services/Repository/RepositoryObject/BigBlueButton/guest.php on line 467

Warning: Undefined array key "ref_id" in /opt/ilias/releases/1309233567-1718355250/Customizing/global/plu
gins/Services/Repository/RepositoryObject/BigBlueButton/guest.php on line 467
! [NOTE] There are 9 to run:                                                                             

! [NOTE] ILIAS needs to be able to create files in '/opt/ilias/releases/1309233567-1718355250/data/'.    

In ObjectiveIterator.php line 146:

 Objective 'Nothing to do.' had failed preconditions:   
   - The ilias.ini.php and client.ini.php are loaded    
   - The database object is initialized.                
   - The database is updated.                           

migrate [-y|--yes] [-R|--run RUN] [-S|--steps STEPS] [--plugin PLUGIN] [--no-plugins] [--skip SKIP]

which totally should not be happening? right?

So basically making ilias upgrade / update and migrations impossible while the plugin files exist in the server under Customizing folder... :-/

D33M0N commented 2 months ago

just in case reported also in ilias bug reports

xJuvi commented 1 month ago

Which Branch is used? The master and Ilias9 branches had a fix for your problem.

I don't unterstand the branching concept here, so maybe you must change the branch to one of the named branches.