Show Advanced KnowledgeHide Advanced KnowledgePlugIns
- PlugIns are always a pain in the ass (sorry)
- Here is described how to live bist with:
- BigBlueButton
- EtherpadLite
EtherpadLite
cd /var/www/html/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/EtherpadLite sudo -u www-data git pull sudo -u www-data git branch -a sudo -u www-data git checkout release_9 cat plugin.php #Must fit with your desired ILIAS release: #$ilias_min_version = "9.0"; #$ilias_max_version = "9.999"; #Plugin-Homepage: https://github.com/ILIAS-Verein/EtherpadLite |
BigBlueButton
cd /var/www/html/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/BigBlueButton #Its the same as above. #In this case I had trouble with the latest commit. #Display the current commit: git rev-parse HEAD #Example: 24887e9d26e4ef2c5b822cb9667938498ab4dcd9 #I want to select a branch: sudo -u www-data git branch -a sudo -u www-data git checkout release_8 sudo -u www-data git checkout master #Where am I? git rev-parse HEAD #gives fc32a8bde941ed8f32e385985dde57bf08f371a0 #return to 24887e9d26e4ef2c5b822cb9667938498ab4dcd9 sudo -u www-data git checkout 24887e9d26e4ef2c5b822cb9667938498ab4dcd9 #Show commit log: sudo -u www-data:www-data git log |
Error handling
Wrong right setting
#Error: fatal: detected dubious ownership in repository #Solution (example): git config --global --add safe.directory /var/www/html/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/BigBlueButton #Try again eg sudo -u www-data git pull chown -R www-data:www-data /var/www/html/ilias/Customizing/global/plugins/Services/Repository/RepositoryObject/BigBlueButton #If error persists try without sudo: git pull |
You are not currently on a branch
sudo -u www-data git branch -a sudo -u www-data git checkout release_8 |