PHP Timeouts 300 sec Moodle 3.8

Re: PHP Timeouts 300 sec Moodle 3.8

by Ken Task -
Number of replies: 0
Picture of Particularly helpful Moodlers

addon dependency ... yep ... they exist .. sometime Moodle admin UX for those is confusing ... to say the least.

Thus:

install moosh

create an addons directory in moodlecode directory.
Inside addons directory:


bash shell script called checkaddons run from moodlecode root (moosh commands use config.php)

Contains:
#!/bin/bash
#
echo 'Add-on listing: ';
cat ./addons.txt;
echo '---------------------';
for i in `cat ./addons.txt`
do
   echo "Addon in que: $i";
moosh -n plugin-list |grep $i
done

Your addons.txt file

short names of plugins - one per line
poodll is a set of plugins ...
https://moodle.org/plugins/browse.php?list=set&id=13

Your addons.txt file would be ... or close to it ...

mod_game
mod_hotpot
mod_mootyper
mod_taskchain
poodll_filter
qtype_poodllrecording
atto_poodll
atto_subtitle

When checkaddons executed ./checkaddons
Displays:

---------------------
Addon in que: mod_game
mod_game,2.0,2.1,2.2,2.3,2.4,2.5,2.6,2.7,2.8,2.9,3.0,3.1,3.2,3.3,3.4,3.5,3.6,3.7,3.8,https://moodle.org/plugins/download.php/19944/mod_game_moodle38_2019071203.zip
Addon in que: mod_hotpot
mod_hotpot,2.0,2.1,2.2,2.3,2.4,2.5,2.6,2.7,2.8,2.9,3.0,3.1,3.2,3.3,3.4,3.5,3.6,3.7,3.8,https://moodle.org/plugins/download.php/19965/mod_hotpot_moodle38_2019071739.zip
Addon in que: mod_mootyper
mod_mootyper,2.2,2.3,2.7,2.8,2.9,3.0,3.1,3.2,3.3,3.4,3.5,3.6,3.7,3.8,https://moodle.org/plugins/download.php/20765/mod_mootyper_moodle38_2019120800.zip
Addon in que: mod_taskchain
mod_taskchain,2.0,2.1,2.2,2.3,2.4,2.5,2.6,2.7,2.8,2.9,3.0,3.1,3.2,3.3,3.4,3.5,3.6,3.7,3.8,https://moodle.org/plugins/download.php/20613/mod_taskchain_moodle38_2019111087.zip
Addon in que: poodll_filter
Addon in que: qtype_poodllrecording
qtype_poodllrecording,2.1,2.2,2.3,2.4,2.5,2.6,2.7,2.8,2.9,3.0,3.1,3.2,3.3,3.4,3.5,3.6,3.7,3.8,https://moodle.org/plugins/download.php/19825/qtype_poodllrecording_moodle38_2019062000.zip
Addon in que: atto_poodll
atto_poodll,2.6,2.7,2.8,2.9,3.0,3.1,3.2,3.3,3.4,3.5,3.6,3.7,3.8,https://moodle.org/plugins/download.php/19977/atto_poodll_moodle38_2019071300.zip
Addon in que: atto_subtitle
atto_subtitle,3.1,3.2,3.3,3.4,3.5,3.6,3.7,3.8,https://moodle.org/plugins/download.php/20669/atto_subtitle_moodle38_2019112101.zip

create a wget getlist of the URL's to the plugins

getlist flie looks like

https://moodle.org/plugins/download.php/19944/mod_game_moodle38_2019071203.zip
https://moodle.org/plugins/download.php/19965/mod_hotpot_moodle38_2019071739.zip
https://moodle.org/plugins/download.php/20765/mod_mootyper_moodle38_2019120800.zip
https://moodle.org/plugins/download.php/20613/mod_taskchain_moodle38_2019111087.zip
https://moodle.org/plugins/download.php/19825/qtype_poodllrecording_moodle38_2019062000.zip
https://moodle.org/plugins/download.php/19977/atto_poodll_moodle38_2019071300.zip
https://moodle.org/plugins/download.php/20669/atto_subtitle_moodle38_2019112101.zip
https://moodle.org/plugins/download.php/20792/filter_poodll_moodle38_2019121200.zip

execute: wget -i getlist

and all of them will be downloaded to addons directory
and handy to manually install ... taking apache server out of the loop.
zip file copied to appropriate moodle code directory
unzipping will replace old code directory so I hide original, then unzip.
check ownerships permissions

Install them all via moodlecode/admin/cli/
php upgrade.php [ENTER]

Once again taking apache out of the loop.

'SoS', Ken


Average of ratings: Useful (1)