Thread "Install Plugins in Ilias release_8"
Tabs
-
csidirop | csidirop | 15. Jul 2024, 17:06
Edited on: 16. Jul 2024, 09:32 - by csidirop | csidiropInstall Plugins in Ilias release_8With Ilias release_7 all tested plugins where ready-to-install after storing in `Customizing/global/plugins/Services/Repository/RepositoryObject`.
Now with a new Ilias release_8 instance there is at least one further step: building ilias artifacts. Right?
My issue is, that after running `php setup/setup.php build-artifacts` I'm getting a positive response:www-data@f3491b5d05a7:~/html$ php setup/setup.php build-artifacts -vvILIAS Copyright (C) 1998-2019 ILIAS Open Source e.V. - GPLv3This program comes with ABSOLUTELY NO WARRANTY. This is free software,and you are welcome to redistribute it under certain conditions. Lookinto the LICENSE file for details.Building Static Artifacts for ILIAS===================================Build Services/Component/artifacts/component_data.php... [OK]Build Services/Component/artifacts/plugin_data.php... [OK]Build Services/GlobalScreen/artifacts/global_screen_providers.php... [OK]Build ./Services/Style/System/data/data.php... [OK]Build ./Services/UICore/artifacts/ctrl_base_classes.php... [OK]Build ./Services/UICore/artifacts/ctrl_structure.php... [OK]Build ./Services/UICore/artifacts/ctrl_security.php... [OK][OK] All static artifacts are build!
Now the plugins are shown in the backend but I can't install them. Ilias is throwing an class not found error when I try so. The dedicated logs showing:Error thrown with message "Class "il<PLUGINNAME>Plugin" not found"
Stacktrace:
#8 Error in /var/www/html/Services/Component/classes/class.ilComponentFactoryImplementation.php:48
...
And the default log: `Whoops\Handler\CallbackHandler::handle:398 0 Class "il<PLUGINNAME>Plugin" not found in /var/www/html/Services/Component/classes/class.ilComponentFactoryImplementation.php:48#0 /var/www/html/Services/Component/classes/Settings/class.ilObjComponentSettingsGUI.php(287): ilComponentFactoryImplementation->getPlugin('xbbb')`
What am I missing? -
fschmid | fschmid | 16. Jul 2024, 10:01
Install Plugins in Ilias release_8Hi csidirop
The plugin classes must now also be known to ILIAS, i.e. part of the classmap. This means that they have to be updated, be it with an ILIAS update (minor and major), but also when installing or updating plugins.
$ composer install --no-dev
this also updates the artifacts automatically.
best regards
Fabian -
csidirop | csidirop | 19. Jul 2024, 10:22
That workedHi Fabian,
thank you that worked!
But you/we should update the Documentation, because this is non intuitive. The "Install Plugins and Styles" paragraph in Install Docu for release_8 should be extended. Also there could be a hint here at the plugin overview: https://docu.ilias.de/ilias.php?baseClass=ilrepositorygui&cmdNode=xd:ly:a0&cmdClass=ildclrecordlistgui&cmd=show&ref_id=3342&tableview_id=1
best regards
Christos