Re: Changed the timed format to 12 hours but still not reflecting
Re: the files you tried upload is to large for the server to process
PHP sodium extension check While installing Installation - Moodle 4.4+ (Build: 20240425) Moodle 4.4+ (Build: 20240425)
I am getting this 'check' status 'PHP sodium extension check' While installing Installation - Moodle 4.4+ (Build: 20240425) Moodle 4.4+ (Build: 20240425)
This is such a nightmare. This is third or fourth time I am installing Moodle but still the process is not smooth.
[root@server1 ~]# yum install libsodium libsodium-devel
Last metadata expiration check: 0:22:46 ago on Sat 27 Apr 2024 04:42:13 AM UTC.
Package libsodium-1.0.18-2.el8.x86_64 is already installed.
Re: PHP sodium extension check While installing Installation - Moodle 4.4+ (Build: 20240425) Moodle 4.4+ (Build: 20240425)
Moodle stoped working after apache upgrade
Hello ,
I was trying to install an ssl certificate in a server. I had to restart apache to finish the procedure, but couldn't do that (some error message was returned). After a little search i decided to reinstall apache.
The problem is that after that i could not access moodle site.
The server runs on ubuntu 18.04.6
Php version is 7.2.24
Moodle version is 3.7.2+ (Build: 20190913)
MariaDB is Ver 15.1 Distrib 10.4.22
I've checked MariaDB is enabled. I've also made a simple php info file, placed it inside moodle directory, pointed my browser to it and it shows (so i guess php warks too).
Does anyone have any suggestion? I would be gratefull.
Re: Moodle stoped working after apache upgrade
And when you say phpinfo shows, do you mean something like this https://moodle.org/mod/forum/discuss.php?d=457797#p1838548 ?
One possibility is the upgrade process somehow removed critical PHP components. The above screenshot and phpinfo are the starting points of the search.
Re: Moodle stoped working after apache upgrade
Would have helped if we had more info on "some error"!
So we now have to play 25 questions ...
So the phpinfo page works ... by http:// or https://
Did you go after a commercial certificate? Which Certificate Authority (CA)?
Name and URL please. Note that one might not be able to use a global *.FQDN certificate.
Those require you to gen a CSR - certificate signing request - that you submit to them. There is the server key which is unique to your server.
What files you download from the CA have to be referenced in config of apache and the modulus of the cert (.crt file) and the server .key must match.
And the crts (files) you get from CA + you .key file must be placed in appropriate httpd config directories.
OR did you attempt a LetsEncrypt cert?
And, last but not least, one has to change config.php file of moodle to point to https://site rather than http://site. Might also have to run the httpsreplace tool found in admin/tool/
'SoS', Ken
Απάντ: Re: Moodle stoped working after apache upgrade
So, the info file's address is http://e-learning.cff-e-edu.gr/moodle/version1.php
It works only by http:// When i attempt to visit http://e-learning.cff-e-edu.gr/moodle i get white page, no message.
My CA is Sectigo. I generated CSR for them, made an identification proccess and then recieved some files. It is probable that i haven't placed them correctly (i will look into it), but still, if that's the problem does it explain the wite page?
Απάντ: Re: Moodle stoped working after apache upgrade
Re: Απάντ: Re: Moodle stoped working after apache upgrade
Hmmm ... the ice burg gets deeper!
In your server firewall, is port 443 open?
Just did an nmap at your server:
nmap -P0 -p 80,443 e-learning.cff-e-edu.gr
PORT STATE SERVICE
80/tcp open http
443/tcp filtered https
shows 443/tcp port is filtered ... should say open.
So check firewall on server.
https://ubuntu.com/server/docs/firewalls
And server is in need of an upgrade:
=== 3.6 ===
Much more work needs to be planned.
See Mr. V's chart:
http://www.syndrega.ch/blog/#php-and-dbms-compatibility-of-major-moodle-releases
Hmmmm ... @Mr. V ... why is your site not running https? :|
Suggest also turning on debugging to the max to what else your server is complaining about.
You say it's a 3.7 ... are you sure?
From command line located in moodle directory:
fgrep '$release' ./version.php
will show version and build date.
'SoS', Ken
Re: Απάντ: Re: Moodle stoped working after apache upgrade
Απάντ: Re: Απάντ: Re: Moodle stoped working after apache upgrade
Απάντ: Re: Απάντ: Re: Moodle stoped working after apache upgrade
Re: Απάντ: Re: Απάντ: Re: Moodle stoped working after apache upgrade
Re: Απάντ: Re: Moodle stoped working after apache upgrade
Please see:
https://www.sectigo.com/resource-library/install-certificates-apache-open-ssl
and check
'SoS', Ken
Re: the files you tried upload is to large for the server to process
Re: Απάντ: Re: Moodle stoped working after apache upgrade
Now that "do not work" means the red "Invalid login, please try again" message, I assume. Have never come across such a situation except for stale caches, on the browser-side or server-side, e.g. moodledata/muc/config.php. If those causes are eliminated you must be doing something complicated in your network, like CDN or an own network proxy or a network filter. Network comes before the service, and the people here are from the service part, I mean Moodle.