Am confused ...
[root@sos ~]# php -v
PHP 7.0.17 (cli) (built: Mar 19 2017 14:34:58) ( NTS )
Copyright (c) 1997-2017 The PHP Group
Zend Engine v3.0.0, Copyright (c) 1998-2017 Zend Technologies
with Zend OPcache v7.0.17, Copyright (c) 1999-2017, by Zend Technologies
with Xdebug v2.5.1, Copyright (c) 2002-2017, by Derick Rethans
You have new mail in /var/spool/mail/root
[root@sos ~]# php -m |grep uuid
Same with a Ubuntu 16.04 LTS.
There is no php module called uuid on a server running multiple Moodle 3's (.0,.1,.2).
Have seen that referred to for Ubuntu in search of Google ... folks asking how to install it .. but for Moodle?
https://docs.moodle.org/32/en/PHP
doesn't show it to be required.
Just looked at the code ...
* Makes a unique writable storage for uploaded ZIP packages.
*
* We need the saved ZIP to survive across multiple requests so that it can
* be used by the plugin manager after the installation is confirmed. In
* other words, we cannot use make_request_directory() here.
*
* @return string full path to the directory
*/
public function make_installfromzip_storage() {
return make_unique_writable_directory(make_temp_directory('tool_installaddon'));
Leads me to think that maybe the ownerships/permissions on code or data directory? Where ever Moodle downloads ... uses ... for unzpping plugins.
So what modules/extensions do you have loaded? php -m
'spirit of sharing', Ken