Re: Plugin files missing
Re: Odp: Re: Plugins to be delete during upgrade
Re: In my Moodle Ubuntu server auth.log and auth1.log is consuming a lot of space
Re: In my Moodle Ubuntu server auth.log and auth1.log is consuming a lot of space
I too have moodle sites into which I login every day ... sometimes twice.
But my secure log (different OS) isn't that large - and my rotation creates 4 saved logs:
-rw-------. 1 root root 22273 Mar 28 11:15 secure
-rw-------. 1 root root 28860 Mar 2 23:48 secure-20240303
-rw-------. 1 root root 13743 Mar 10 00:13 secure-20240310
-rw-------. 1 root root 11097 Mar 17 03:26 secure-20240317
-rw-------. 1 root root 15080 Mar 24 03:08 secure-20240324
What counts really is what's in the log!!!
View it with cat auth.log |more
Are all the IP addresses there your's?
'SoS', Ken
Re: Moodle 4.3 + Docker + 2 reverse proxies + Error code: reverseproxyabused
FROM bitnami/moodle:4.3.3
If we disable `MOODLE_REVERSEPROXY: yes`:
Moodle works but links like in password change/reset e-mails use `127.0.0.1:8080` instead of the domain.
I've previously seen Bitnami-based Moodles that programmatically specify $CFG->wwwroot
in config.php
causing exactly this problem. This is not supported, $CFG->wwwroot
must be a fixed string which is the URL to be used in the browser when anyone accesses the site.
SCORM missing in courses
Hi Forum Members,
I have recently upgraded Moodle to 4.3.3 the latest after upgradation I was having issue with SCORM packages it was showing as missing in disk but I copied it from the latest copy of Moodle 4.3 and it worked fine. Now I can add new SCORM Activities to all courses even access the SCORM settings from the Plugins Page.
But my old SCORM activities in all my courses are missing. All other Videos & PDFs & Labels everything is working fine. Just there is no mention of any SCORM activities.
If I add any new SCORM activity its fine.
In /admin/modules.php list it shows the SCORM has 1166 activities when I click on it there is a list of courses where SCORM activities are there but in the courses there is no SCORM activities.
Please help to show the Old SCORM activities.
the files you tried upload is to large for the server to process
We are installing moodle in Synology NAS, DS 920+ DSM 6.2.4-25556 Update 7
we are the change PHP.ini file value of max_upload size , but still we not unable to upload the large size file
kindly support us
DSM 6.2.4-25556 Update 7
moodle version : 3.9.7-0152
PHP 7.4
Apache HTTP server 2.4
Softacoluos backup and restore
I have a Softaculous copy of the moodle site which is version 3.10.3.+ and a clean installation via softaculous version 3.10.11 Is it possible to install the backup tar.gz on that 3.10.3. version and how?
Re: Softacoluos backup and restore
Me thinks there is more behind the question ... so what you want to do is upgrade your 3.10.3.+. Is that correct?
Softac aside, there are docs that tell you how:
https://docs.moodle.org/311/en/Upgrading
Softac is commercial software ... no one in these forums works for Softac. Most users in these forums don't use Softac to install/update/or upgrade.
Think Softac backups ... even if a tar.gz, were meant to be restored by Softac ... am guessing that tar.gz contains the code directory and all of moodledata plus an SQL dump of the DB for that moodle.
I don't use Softac, but what you are trying to do would require a lot more info from you to provide a how 2 and involve the copying of config.php, addons in the functioning to an archive location, and once new code is in place, copy back the config.php file and those archived plugins to proper locations ... add on theme into themes, addon block into blocks, and so on.
Your question, however, might best be asked via Softac Ticket:
https://softaculous.deskuss.com/
'SoS', Ken
Re: the files you tried upload is to large for the server to process
There are 2 variables to change in php.ini upload_max_filesize size is one .... the other is post_max_size variable as well.
https://docs.moodle.org/403/en/File_upload_size
Ignore version number in link above ... info and setting for this are the same for your 3.9.x
Don't forget to restart apache services after making changes to PHP.
'SoS', Ken
Re: Softacoluos backup and restore
I agree with Ken.
We never know exactly what Softaculous is doing behind the scenes, so it is hard to advise anyone what to do.
In theory (and kind of what Ken said), somewhere Softac might have a backup of the database (SQL) and moodledata folder. So, to try to answer your question, it might be possible to restore the old database by first "dropping" the tables from the new database, then importing the old. Then, delete the contents of your new moodledata folder and replace it with your old. You need to also consider if your old Moodle had extra plugins that your new Moodle does not.
Of course, before trying any of this, ensure you have backups.
As an alternative, you might want to try manually installing Moodle so that you are in control.
As I recall, Softaculous sometimes puts the moodledata folder "on the web" side of your server, which is not recommended. I don't know if they still do this.
Re: Upgrading moodle from 3.10 to 4.3
Can ClamAV antivirus plugin be enabled safely
Can ClamAV antivirus plugin be enabled safely? will it impact server availability?
Re: Upgrading moodle from 3.10 to 4.3
+1 to Emma's response + 2 cents more.
Large change - 4.x touts revamp of UI/UX (theme).
It is also a good idea to force the theme to use one of the themes that come with core - boost/classic via config.php just prior to update/upgrading to avoid white screen of death when using 3rd party theme if you did not check for compat of the theme prior to update/upgrade.
$CFG->theme='boost';
'SoS', Ken
Re: Can ClamAV antivirus plugin be enabled safely
If site is to allow students to upload documents probably wise to install it. Installed via your server's package manager and it's only as good as the updated virus definitions - which should be setup with a cron and run frequently (not once a minute, however).
Impact ... depends upon server processing power and assignments that require an uploaded file.
'SoS', Ken
Re: Can ClamAV antivirus plugin be enabled safely
Thanks Ken. I can see that it can be enabled via server GUI. Is it Ok if we enable via the server GUI?
Will it work? Thanks in advance
Re: Can ClamAV antivirus plugin be enabled safely
ClamAV is installed via server package manager.
Enabling in Moodle just tells Moodle to use it. If it's not present, can't use.
'SoS', Ken
Re: Can ClamAV antivirus plugin be enabled safely
"Will it work?"
Yes. But again ... enabling in Moodle will NOT install clamav. If not installed one can install via operating system package manager. And again, cron job for freshclam - which gets virus definition updates for new viruses.
Is there more to this? Have you had troubles with infected files?
'SoS', Ken
Re: Missing images after URL change, please help :-(
Problems with cron tasks after update
Good morning
I have a moodle installation mounted on windows with IIS. A few weeks ago we made an update from version 3.9.15 to version 4.2.5 (first going through version 3.11.18 as indicated in the Moodle documentation). In principle we have had no problems updating but unfortunately the scheduled tasks are not being executed. This platform obtains its data through LDAP from an external database. We have tried to execute the LDAP user update task manually but it gives us the following error:
PHP Fatal error: Uncaught Error: Class 'cache' not found in E:\moodle\lib\classes\string_manager_standard.php:83Stack trace:
#0 E:\moodle\lib\moodlelib.php(7300): core_string_manager_standard->__construct('D:\\moodledata/l...', 'D:\\moodledata/l...', Array, Array)
#1 E:\moodle\lib\setuplib.php(520): get_string_manager()
#2 E:\moodle\lib\setuplib.php(363): get_exception_info(Object(ParseError))
#3 [internal function]: default_exception_handler(Object(ParseError))
#4 {main}
thrown in E:\moodle\lib\classes\string_manager_standard.php on line 83
We have tried to solve it in several ways but we have not found a solution. Could you give us some support?