Hello,
I am adding myself to the long list of people who cannot seem to get Moodle working with ISPConfig. I have worked out that the moodledata directory has to be placed in the private directory to get around permissions issues. I am able to enter the database details, perform a pre-requisites check (all OK - the server satisfies the requirements) and then hit proceed, I get to a sign up form for the administrative user, click next or whatever the proceed button is and then BAM - I get a 500 error once the browser attempts to load http://www.website.org.uk/training/user/editadvanced.php
The database login issue relates to an earlier attempt to install. Since then, I deleted the db, recreated the db (same details) and then also replaced the files in the /training directory so that they were a fresh copy.
root@jacob:/var/www/clients/client5/web6/log/error.log
[Tue Mar 28 05:45:33.720901 2017] [fcgid:warn] [pid 3356] [client 192.168.1.254:57149] mod_fcgid: stderr: PHP Warning: mysqli::mysqli(): (28000/1045): Access denied for user 'm00dl3'@'localhost' (using password: YES) in /var/www/clients/client5/web6/web/training/lib/dml/mysqli_native_moodle_database.php on line 79, referer: http://www.website.org.uk/training/install.php
[Tue Mar 28 08:15:13.114571 2017] [fcgid:warn] [pid 11819] (32)Broken pipe: [client 212.47.247.209:53627] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Tue Mar 28 08:15:13.904528 2017] [fcgid:warn] [pid 11806] (32)Broken pipe: [client 23.107.168.2:39610] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Tue Mar 28 08:15:15.008134 2017] [fcgid:warn] [pid 11810] (32)Broken pipe: [client 107.191.61.15:49330] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
[Tue Mar 28 08:20:14.299871 2017] [fcgid:warn] [pid 11844] (70007)The timeout specified has expired: [client 192.131.44.32:48394] mod_fcgid: ap_pass_brigade failed in handle_request_ipc function
root@jacob:/var/log/apache2#
tail -250 error.log
[Tue Mar 28 06:25:11.932351 2017] [auth_digest:notice] [pid 930] AH01757: generating secret for digest authentication ...
[Tue Mar 28 06:25:11.962640 2017] [:notice] [pid 6054] FastCGI: process manager initialized (pid 6054)
[ 2017-03-28 06:25:12.0317 6056/7f2c69cc2740 agents/Watchdog/Main.cpp:538 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nogroup', 'default_python' => 'python', 'default_ruby' => '/usr/bin/ruby', 'default_user' => 'nobody', 'log_level' => '0', 'max_pool_size' => '6', 'passenger_root' => '/usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini', 'passenger_version' => '4.0.53', 'pool_idle_time' => '300', 'temp_dir' => '/tmp', 'union_station_gateway_address' => 'gateway.unionstationapp.com', 'union_station_gateway_port' => '443', 'user_switching' => 'true', 'web_server_passenger_version' => '4.0.53', 'web_server_pid' => '930', 'web_server_type' => 'apache', 'web_server_worker_gid' => '33', 'web_server_worker_uid' => '33' }
[ 2017-03-28 06:25:12.3288 6059/7f0ec8aff740 agents/HelperAgent/Main.cpp:650 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.930/generation-1/request
[ 2017-03-28 06:25:12.4614 6064/7fbb4338a780 agents/LoggingAgent/Main.cpp:321 ]: PassengerLoggingAgent online, listening at unix:/tmp/passenger.1.0.930/generation-1/logging
[ 2017-03-28 06:25:12.4616 6056/7f2c69cc2740 agents/Watchdog/Main.cpp:728 ]: All Phusion Passenger agents started!
[Tue Mar 28 06:25:12.526118 2017] [:error] [pid 930] python_init: Python version mismatch, expected '2.7.5+', found '2.7.9'.
[Tue Mar 28 06:25:12.526189 2017] [:error] [pid 930] python_init: Python executable found '/usr/bin/python'.
[Tue Mar 28 06:25:12.526195 2017] [:error] [pid 930] python_init: Python path being used '/usr/lib/python2.7/:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.
[Tue Mar 28 06:25:12.526206 2017] [:notice] [pid 930] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Tue Mar 28 06:25:12.526214 2017] [:notice] [pid 930] mod_python: using mutex_directory /tmp
[Tue Mar 28 06:25:12.922119 2017] [ssl:warn] [pid 930] AH01906: jacob.websitegroup.com:8080:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue Mar 28 06:25:12.922157 2017] [ssl:warn] [pid 930] AH01909: jacob.websitegroup.com:8080:0 server certificate does NOT include an ID which matches the server name
[Tue Mar 28 06:25:12.922219 2017] [ssl:error] [pid 930] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: emailAddress=ithelp@websitegroup.com,CN=GBG Jacob,OU=IT and Telecommunications Unit,O=company name,L=Manchester,ST=Greater Manchester,C=UK / issuer: emailAddress=ithelp@websitegroup.com,CN=GBG Jacob,OU=IT and Telecommunications Unit,O=company name,L=Manchester,ST=Greater Manchester,C=UK / serial: 8F30E5674F0CBC9B / notbefore: Mar 12 07:22:49 2017 GMT / notafter: Mar 10 07:22:49 2027 GMT]
[Tue Mar 28 06:25:12.922226 2017] [ssl:error] [pid 930] AH02567: Unable to configure certificate jacob.websitegroup.com:8080:0 for stapling
[Tue Mar 28 06:25:12.922448 2017] [mpm_prefork:notice] [pid 930] AH00163: Apache/2.4.10 (Debian) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_fcgid/2.3.9 Phusion_Passenger/4.0.53 mod_python/3.3.1 Python/2.7.9 OpenSSL/1.0.1t configured -- resuming normal operations
[Tue Mar 28 06:25:12.922459 2017] [core:notice] [pid 930] AH00094: Command line: '/usr/sbin/apache2'
[Tue Mar 28 06:25:12.922486 2017] [mpm_prefork:warn] [pid 930] AH00167: long lost child came home! (pid 933)
[Tue Mar 28 07:16:03.616818 2017] [mpm_prefork:notice] [pid 930] AH00169: caught SIGTERM, shutting down
[ 2017-03-28 07:16:04.6256 8745/7fd15bbab740 agents/Watchdog/Main.cpp:538 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nogroup', 'default_python' => 'python', 'default_ruby' => '/usr/bin/ruby', 'default_user' => 'nobody', 'log_level' => '0', 'max_pool_size' => '6', 'passenger_root' => '/usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini', 'passenger_version' => '4.0.53', 'pool_idle_time' => '300', 'temp_dir' => '/tmp', 'union_station_gateway_address' => 'gateway.unionstationapp.com', 'union_station_gateway_port' => '443', 'user_switching' => 'true', 'web_server_passenger_version' => '4.0.53', 'web_server_pid' => '8743', 'web_server_type' => 'apache', 'web_server_worker_gid' => '33', 'web_server_worker_uid' => '33' }
[ 2017-03-28 07:16:04.6667 8748/7f23cdeed740 agents/HelperAgent/Main.cpp:650 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.8743/generation-0/request
[ 2017-03-28 07:16:04.6965 8753/7f30cfcd6780 agents/LoggingAgent/Main.cpp:321 ]: PassengerLoggingAgent online, listening at unix:/tmp/passenger.1.0.8743/generation-0/logging
[ 2017-03-28 07:16:04.6967 8745/7fd15bbab740 agents/Watchdog/Main.cpp:728 ]: All Phusion Passenger agents started!
[Tue Mar 28 07:16:04.757875 2017] [ssl:warn] [pid 8743] AH01906: jacob.websitegroup.com:8080:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue Mar 28 07:16:04.757929 2017] [ssl:warn] [pid 8743] AH01909: jacob.websitegroup.com:8080:0 server certificate does NOT include an ID which matches the server name
[Tue Mar 28 07:16:04.758003 2017] [ssl:error] [pid 8743] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: emailAddress=ithelp@websitegroup.com,CN=GBG Jacob,OU=IT and Telecommunications Unit,O=company name,L=Manchester,ST=Greater Manchester,C=UK / issuer: emailAddress=ithelp@websitegroup.com,CN=GBG Jacob,OU=IT and Telecommunications Unit,O=company name,L=Manchester,ST=Greater Manchester,C=UK / serial: 8F30E5674F0CBC9B / notbefore: Mar 12 07:22:49 2017 GMT / notafter: Mar 10 07:22:49 2027 GMT]
[Tue Mar 28 07:16:04.758012 2017] [ssl:error] [pid 8743] AH02567: Unable to configure certificate jacob.websitegroup.com:8080:0 for stapling
[Tue Mar 28 07:16:04.758116 2017] [suexec:notice] [pid 8743] AH01232: suEXEC mechanism enabled (wrapper: /usr/lib/apache2/suexec)
[Tue Mar 28 07:16:04.785052 2017] [auth_digest:notice] [pid 8765] AH01757: generating secret for digest authentication ...
[Tue Mar 28 07:16:04.786615 2017] [:notice] [pid 8769] FastCGI: process manager initialized (pid 8769)
[ 2017-03-28 07:16:04.7931 8771/7f0027fb7740 agents/Watchdog/Main.cpp:538 ]: Options: { 'analytics_log_user' => 'nobody', 'default_group' => 'nogroup', 'default_python' => 'python', 'default_ruby' => '/usr/bin/ruby', 'default_user' => 'nobody', 'log_level' => '0', 'max_pool_size' => '6', 'passenger_root' => '/usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini', 'passenger_version' => '4.0.53', 'pool_idle_time' => '300', 'temp_dir' => '/tmp', 'union_station_gateway_address' => 'gateway.unionstationapp.com', 'union_station_gateway_port' => '443', 'user_switching' => 'true', 'web_server_passenger_version' => '4.0.53', 'web_server_pid' => '8765', 'web_server_type' => 'apache', 'web_server_worker_gid' => '33', 'web_server_worker_uid' => '33' }
[ 2017-03-28 07:16:04.7967 8774/7f72b7c3d740 agents/HelperAgent/Main.cpp:650 ]: PassengerHelperAgent online, listening at unix:/tmp/passenger.1.0.8765/generation-0/request
[ 2017-03-28 07:16:04.8142 8779/7f66bc926780 agents/LoggingAgent/Main.cpp:321 ]: PassengerLoggingAgent online, listening at unix:/tmp/passenger.1.0.8765/generation-0/logging
[ 2017-03-28 07:16:04.8143 8771/7f0027fb7740 agents/Watchdog/Main.cpp:728 ]: All Phusion Passenger agents started!
[Tue Mar 28 07:16:04.980302 2017] [:error] [pid 8765] python_init: Python version mismatch, expected '2.7.5+', found '2.7.9'.
[Tue Mar 28 07:16:05.015065 2017] [:error] [pid 8765] python_init: Python executable found '/usr/bin/python'.
[Tue Mar 28 07:16:05.015102 2017] [:error] [pid 8765] python_init: Python path being used '/usr/lib/python2.7/:/usr/lib/python2.7/plat-x86_64-linux-gnu:/usr/lib/python2.7/lib-tk:/usr/lib/python2.7/lib-old:/usr/lib/python2.7/lib-dynload'.
[Tue Mar 28 07:16:05.015127 2017] [:notice] [pid 8765] mod_python: Creating 8 session mutexes based on 150 max processes and 0 max threads.
[Tue Mar 28 07:16:05.015141 2017] [:notice] [pid 8765] mod_python: using mutex_directory /tmp
[Tue Mar 28 07:16:05.398773 2017] [ssl:warn] [pid 8765] AH01906: jacob.websitegroup.com:8080:0 server certificate is a CA certificate (BasicConstraints: CA == TRUE !?)
[Tue Mar 28 07:16:05.398803 2017] [ssl:warn] [pid 8765] AH01909: jacob.websitegroup.com:8080:0 server certificate does NOT include an ID which matches the server name
[Tue Mar 28 07:16:05.398857 2017] [ssl:error] [pid 8765] AH02217: ssl_stapling_init_cert: can't retrieve issuer certificate! [subject: emailAddress=ithelp@websitegroup.com,CN=GBG Jacob,OU=IT and Telecommunications Unit,O=company name,L=Manchester,ST=Greater Manchester,C=UK / issuer: emailAddress=ithelp@websitegroup.com,CN=GBG Jacob,OU=IT and Telecommunications Unit,O=company name,L=Manchester,ST=Greater Manchester,C=UK / serial: 8F30E5674F0CBC9B / notbefore: Mar 12 07:22:49 2017 GMT / notafter: Mar 10 07:22:49 2027 GMT]
[Tue Mar 28 07:16:05.398864 2017] [ssl:error] [pid 8765] AH02567: Unable to configure certificate jacob.websitegroup.com:8080:0 for stapling
[Tue Mar 28 07:16:05.402888 2017] [mpm_prefork:notice] [pid 8765] AH00163: Apache/2.4.10 (Debian) mod_fastcgi/mod_fastcgi-SNAP-0910052141 mod_fcgid/2.3.9 Phusion_Passenger/4.0.53 mod_python/3.3.1 Python/2.7.9 OpenSSL/1.0.1t configured -- resuming normal operations
[Tue Mar 28 07:16:05.402917 2017] [c
System Details
ISPConfig Version: 3.1.2
No LSB modules are available/Debian/Linux 8.7 (jessie) Release: 8.7
PHP Version 5.6.30-0+deb8u1
Moodle (latest recommended version downloaded this morning)
I cannot find any logs with any further information that might shed some light on the issue and, above all, I cannot get Moodle running.
Any help would be greatly appreciated.
Many thanks.