Moodle button shows in applications section of NS web interface, but when I start moodle by pressing the button, I get a “server not found” error.
Checking if php-fpm is running:
[root@ns75 ~]# ps aux | grep php-fpm
root 4475 0.0 1.7 507888 33168 ? Ss 19:35 0:00 php-fpm: master process (/etc/opt/rh/rh-php71/php-fpm.conf)
apache 4476 0.0 1.3 512752 25792 ? S 19:35 0:00 php-fpm: pool www
apache 4477 0.0 0.7 510536 14776 ? S 19:35 0:00 php-fpm: pool www
apache 4478 0.0 0.9 510520 17672 ? S 19:35 0:00 php-fpm: pool www
apache 4479 0.0 0.4 509972 8124 ? S 19:35 0:00 php-fpm: pool www
apache 4480 0.0 0.4 509972 8128 ? S 19:35 0:00 php-fpm: pool www
root 8933 0.0 0.0 112704 972 pts/0 S+ 20:46 0:00 grep --color=auto php-fpm
Moodle uses a wwwroot config param in /usr/share/moodle/config.php and if no “host” is set, the template defaults to SYSTEMNAME.DOMAINNAME. It’s easier for me to get as one may use more IPs but only one Systemname.
Hi @mrmarkuz
I am dusting off the moodle module again. I notice that with a vanilla NethServer 7.5, updated to the latest patchlevel, php7.1 is still not set by default for Moodle.
As you suggested in a previous reply:
Thanks a lot @mrmarkuz
Installing a new NS VM as we spreak. Will comment back as soon as I know more.
I will be doing a fresh install and an update from Moodle3.5
Thanks for testing!
In this module version the cli php installer/updater is used to fully setup moodle and an admin account with default password “Nethesis,1234” instead of using the web installer. Additionaly I added the moodle cron job.
Sorry, what do you mean with NS virtual host? The one you can setup via web UI? In this case no.
Nothing has changed in httpd configuration. You still can reach moodle via https://nethserver/moodle.