Installation help

 
 
Picture of g k
Re: Can't automatically upgrade plugins anymore.
 

Hmm.....playing around a bit, I now get the following errors:

exception 'missing_option_exception' with message 'Missing required option: dataroot' in mdeploy.php:363
Stack trace:
#0 mdeploy.php(157): input_manager->get_required_option('dataroot')
#1 mdeploy.php(838): input_manager->get_option('dataroot')
#2 mdeploy.php(714): worker->authorize()
#3 mdeploy.php(1399): worker->execute()
#4 {main}
 
Average of ratings: -
Picture of Ken Task
Re: Can't automatically upgrade plugins anymore.
Group Particularly helpful Moodlers

Hmmm ... that looks like you figured out how to execute the php file via command line.  Am I guessing right?  Did you execute giving the dataroot parameter?

The 'missing required option' is for dataroot ... which one can find in the config.php file of the site.

Would think, also, that this script must have access rights to be able to write to moodledata/temp/somedirectory (where is might unzip the package) and to the moodle code directory and then the mod/block or whatever the update notification is about.

Maybe a little more info is necessary ... updating a plugin could be core or an add-on.  Are we talking the inability to update an add-on?  If so, which add-on?  Those are third party 'contributions', I think, is that the term is as shown on the update plugins form.  Does it say an update is available for a contribution and then provides a link to download?  I've see some like that ... not updatable via Moodle GUI and was provided a link to download the upgrade for the mod/block.

Got any 'secure' logs which might complain about apache user attempting to write to a folder?

'spirit of sharing', Ken

 
Average of ratings: -
Picture of Brian Peat
Re: Can't automatically upgrade plugins anymore.
Group Particularly helpful Moodlers

I've got this same issue. I upgraded our site to 2.6.2 20140310 this week and now I can't update anything using the auto option from inside Moodle. First I get that blank white page, and if I refresh it, I get that same error that was posted here. Uploading the files via ftp and then refreshing the notifications page is the only way I can update anything. I'd love to know what might be the cause so I can try to fix it.

 

Here's the error:

exception 'missing_option_exception' with message 'Missing required option: dataroot' in mdeploy.php:389
Stack trace:
#0 mdeploy.php(183): input_manager->get_required_option('dataroot')
#1 mdeploy.php(918): input_manager->get_option('dataroot')
#2 mdeploy.php(740): worker->authorize()
#3 mdeploy.php(1535): worker->execute()
#4 {main}
 
Average of ratings: -