Quantcast
Channel: Installing and upgrading help
Viewing all 46925 articles
Browse latest View live

Re: Plugin files missing

$
0
0
by Mohamed Hamza Falih.  

You are maybe right, I will check this and see if it solves the problem. Thank you for your advice.

Re: Odp: Re: Plugins to be delete during upgrade

$
0
0
by AL Rachels.  

I can verify that if the web server has write privilege where the plugin code is located, then it will delete the code. I use this feature all the time for any plugins that I install.

Re: In my Moodle Ubuntu server auth.log and auth1.log is consuming a lot of space

$
0
0
by Binoy Chacko.  

Thanks Ken. How large is too large? As an admin I login through SSH almost everyday.

31M     /var/log/auth.log

Re: In my Moodle Ubuntu server auth.log and auth1.log is consuming a lot of space

$
0
0
by Ken Task.  

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

SCORM missing in courses

$
0
0
by Pankaj Sarrof.  

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

$
0
0
by Bewell Hospitals.  

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

$
0
0
by i 007.  

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

$
0
0
by Ken Task.  

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

$
0
0
by Ken Task.  

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

$
0
0
by Rick Jerz.  

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

$
0
0
by Pedro Carvalho.  

Ok, so, I did the update through git and it seems easier. However, I found an issue when doing the upgrade from 3.10 to 4.00. It seems the adaptable theme doesn't work well with the custom css I had in the version 3.10. Is it normal that an upgrade from moodle 3.x to 4.x creates a different html for the landing page and login page?

Can ClamAV antivirus plugin be enabled safely

$
0
0
by Binoy Chacko.  

Can ClamAV antivirus plugin be enabled safely? will it impact server availability? 

Re: Upgrading moodle from 3.10 to 4.3

$
0
0
by Ken Task.  

+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

$
0
0
by Ken Task.  

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

$
0
0
by Binoy Chacko.  

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

$
0
0
by Ken Task.  

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

$
0
0
by Ken Task.  

"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 :-(

$
0
0
by L P.  

Thx for explanation. So my moodle was on http://192.168.10.20/moodle (all images was displayed), now i changed it to http://192.168.10.20 (some images missing) and i set local DNS to moodle.mycompany.com. When i enter moodle.mycompany.com now, URL will change to http://192.168.10.20/login/index.php. So now i dont know how exactly determine what is URL in DB? It is http://192.168.10.20/moodle and i want to change it to moodle.mycompany.com in Search and replace tool? And what if i start using HTTPS, it is also migration?

Problems with cron tasks after update

$
0
0
by Daniel Olivares.  

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?

Viewing all 46925 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>