by Matt T.
Are you trying to install Moodle alongside other non-core plugins at the same time? I am a bit confused as to why you need to upgrade plugins.
Download the latest release (Moodle 3.10.1+) and do not add any other plugins. There should be no need to install other plugins when you first install Moodle - you can add them later - ideally individually. The best way to accomplish this is through git.
Download the latest release (Moodle 3.10.1+) and do not add any other plugins. There should be no need to install other plugins when you first install Moodle - you can add them later - ideally individually. The best way to accomplish this is through git.
sudo apt install git
sudo chown -R $USER:$USER /var/www
sudo chmod -R 755 /var/www
cd /var/www
git clone git://git.moodle.org/moodle.git
cd moodle
git branch --track MOODLE_310_STABLE origin/MOODLE_310_STABLE
git checkout MOODLE_310_STABLE
Alternatively, get from here: https://download.moodle.org/releases/latest/
You can also run the installer on the command line. I must confess I am a bit unfamiliar with the web installer because I don't use it.
You can also run the installer on the command line. I must confess I am a bit unfamiliar with the web installer because I don't use it.
sudo chown -R $USER:$USER /var/www
sudo chmod -R 755 /var/www
sudo mkdir -p /var/moodledata
sudo chown -R $USER:$USER /var/moodledata
sudo chmod -R 777 /var/moodledata
rm -rf /var/moodledata/*
php /var/www/moodle/admin/cli/install.php
php /var/www/moodle/admin/cli/install.php