Still running into php version problems. After installing from your repo, I go to https://server/moodle and get this line:
Moodle 3.4 or later requires at least PHP 7.0.0 (currently using version 5.6.25). Some servers may have multiple PHP versions installed, are you using the correct executable?
One more thing: I tried to upload a course. But upload_max_filesize is set to 2M, which is too small.
Where do I find the correct php.ini? scl settings don’t seem to have any influence
I installed PHP Collection and using PHP-7.2.
I installed Moodle LTS 3.5 under the vhost: moodle.
All is working correctly.
How do you suggest I should run the PHP file:
/var/lib/nethserver/vhost/moodle/admin/cli/cron.php
with a cron job running every minute as suggested by the Moodle documentation?
Do I have to run the cron job under apache user so as to have the proper user:group if it creates a file or folder?
I would follow the info by Moodle on this one: Cron - MoodleDocs
Although I can not judge what would be the influence of setting a longer period of, for example, 5 or 15 minutes.
Here some more info what tasks the Cronjob actualy checks and performs: Cron – MoodleDocs
Looking at that explanation, the 1 minute makes sense…
Since Cron needs to be able to write, It probably needs to run under the account for the vhost. Probably apache. @michelandre If you want to use a running moodle instance, I am happy to give you access to my moodle instance on my VPS. @mrmarkuz I see we are still on moodle 3.5 In the meantime moodle 3.7 has seen the light. Are you available for an update?
Hi @michelandre
Good to see you figured it out… crontab is looking good.
Using local LDAP (either openldap or samba4AD) is a decision you will have to make. It has pro’s and con’s
pro: if you get a lot of users you do not have to create LDAP accounts for them with possibly (unwanted) permissions to other services on your server. Every user is only available for Moodle.
con: you might have double administration of users.
On my server I used Samba4 AD as accountprovider and configured Moodle to use that since I don’t have that many users and don’t think there will be a lot in the future neither.
I am getting nudged to update my moodle install. Current version is 3.9 and latest LTS version of Moodle is 3.11.5+ @mrmarkuz Any chances for an updated package/install procedure? https://docs.moodle.org/311/en/Upgrading