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

Re: Long loading time after saving and activity with course completion enabled in course

$
0
0
by Ken Task.  

Word of caution about MySQLTuner suggestions ... they are just that ... do not have to implement them all.   Some, if tweaked too high, might give deminishing returns.

The biggies:
InnoDB buffer pool / data size - buffer pool should be slightly higher than data.
InnoDB buffer pool instances - # of - 1 per GiG of above.

Did you see any: Total fragmented tables?

Pay attention to:
Maximum reached memory usage
Maximum possible memory usage
Overall possible memory usage with other process is compatible with memory available

Highest usage of available connections
Aborted connections
Name resolution is active: a reverse name resolution is made for each new connection which can reduce performance

In config.php of the moodle, DB host is?   If localhost, don't need name resolution because localhost will always be 127.0.0.1 or IPv6 equiv.

Yes, good idea to let DB admin handle!

'SoS', Ken





Re: Course Icons not showing after Upgrade

$
0
0
by Kyle Goliath.  

Hi Leon

Thanks for the reply, Ill update the plugin and see if that works.

Will update soon.

Atbilde: Re: Atbilde: SOLVED: error: 'Attempt to assign property "sortorder" on null'

$
0
0
by Alimayu Bowen.  

Hi Stefan,

Thanks for responding.
Yes. We've encountered the same error in one of our courses. 
I will try backing up and restoring the course with the trial-and-error approach, omitting resources/activities and hope for the best. 

Regards,

Re: Atbilde: Re: Atbilde: SOLVED: error: 'Attempt to assign property "sortorder" on null'

$
0
0
by Stefan Schoch.  

crossing fingers that it works!
Keep us posted how you succeed, so perhaps we all can learn from it.
You never know when such an incident might occur again... 🤨

Installing Moodle on Oracle 19c Database

$
0
0
by Vikash Kumar Mishra.  

Hi All,

I am performing installation of Moodle 4.3.3 on Oracle 19c. It's Linux environment (RHEL 7.9). I'm getting error while installing oci8.so extension php. It has dependency on php-devel package. ph-devel package has dependency on "libcom_err". 


Unfortunately, libcom_err package is already available with higher verion which can not be downgrade. Please help me on this. if there are another methods, please suggest.







Re: Installing Moodle on Oracle 19c Database

$
0
0
by Howard Miller.  

Unless there is a VERY good reason - don't use Oracle with Moodle. It's technically supported, but nobody develops/tests on it and so on. I can promise you that you'll have a hard time.

AND... after Moodle version 4.5, support for Oracle is being removed altogether...

Re: Installing Moodle on Oracle 19c Database

$
0
0
by Vikash Kumar Mishra.  

Dear Howard Miller,

I am being forced to use Oracle. I also want to test it on Oracle. In this case, what can i do?

Re: Installing Moodle on Oracle 19c Database

$
0
0
by Howard Miller.  

I expected you were going to say something like that.

You need to go back to whoever is forcing you and point out that Moodle support for Oracle is ending. It's therefore the wrong choice.

Moodle is optimised to work with MySQL and Postgres. One of those is the correct database.

Re: Installing Moodle on Oracle 19c Database

$
0
0
by Vikash Kumar Mishra.  

Dear Howard,

Thanks for your responses...

Moodle support is ending soon not ended. We are already using other applications on Oracle database. This is why we want to install Moodle on it. Let's talk in present. Although, Moodle earlier version 4.3.3 is supported on Oracle and we want to install it on Oracle.

If you are aware related to my issue, please give the solution or any alternative.

Re: Installing Moodle on Oracle 19c Database

$
0
0
by Marcus Green.  

Vikash, you are possibly asking in the wrong place. That looks like an issue relating to the PHP support for connecting to the Oracledatabase rather than connected with Moodle itself. If you can get the PHP to talk to the Oracle database you might get it to install. You would be better off asking where people commonly use PHP with the Oracle database which as the other replies have indicated is very few people on the Moodle.org forums.

Atbilde: Re: Atbilde: Re: Atbilde: SOLVED: error: 'Attempt to assign property "sortorder" on null'

$
0
0
by Alimayu Bowen.  

Hi Stefan,

Our System Admin was able to resolve it.
See his message below.

"For some reason there was a grade item that was referencing a category that did not exist. I'm not sure how that happened but I have seen references to the error online. I had to go into the database and remove the entry for the grade item that was giving the error."

I hope this can help someone with the same issue in the future.

Regards,

Ri: Installing Moodle on Oracle 19c Database

$
0
0
by Sergio Rabellino.  

Taking care of all the other useful responses to which I subscribe, you shouldn't mix remi packages with compiled ones.
First, install Oracle instantclient downloadable from Oracle web site (usually a zip/tar) and put an /etc/ld.so.conf.d/oracle.conf  writing into the path to the instantclient libraries directory.
Then you should be able to install php-oci8 package from remi directly.

HTH anyway.

error: site administration page showing php code

$
0
0
by Ethan Kempton.  

Hello all,

I have recently installed Moodle on a Linode server and gotten it hooked up with PHP and MySQL. The server was working for some time, however, after editing the php.ini file (trying to get a larger file size) and eventually having to reinstall PHP, the entire site just showed PHP code. I changed the php.ini to remove the ; before extensions = msqli which fixed everything except for the site administration page. This page still shows PHP code as shown. Any ideas on how to fix this? Thanks
php code

Re: Ri: Installing Moodle on Oracle 19c Database

$
0
0
von Vikash Kumar Mishra.  

Should i create the oracle.conf file in /etc/ld.so.conf.d directory as this conf file is not available? if yes, what should i give the variable name which will call to instantclient directory/path?
like - instantlient_path=/var/instantclient/instantclient_11_1 or what?

Re: error: site administration page showing php code

$
0
0
von Gregor McNish.  

check your webserver settings in terms of how it's handling php; if your new php has moved you'll need to point the web server to the right place.

Re: How long does it take to prepare upgrading moodle?

$
0
0
von Gregor McNish.  

We did it last year
we have lots of 3rd party plugins some of which needed upgrading as well, and all of which needed testing
we also have a number of custom plugins -- but the upgrading in this case means development.
Testing revealed some issues, which needed to be resolved
And testing with 4.x showed lots of changes to existing practice/standards-- that's what we developed PD around. The introduction of the Dashboard was a biggie.

Re: How long does it take to prepare upgrading moodle?

$
0
0
by Howard Miller.  

For us, the critical factor is not the actual upgrade it's the time it takes to make a complete set of backups once Moodle has been taken offline.

This is now several hours - but we have order of 20TB of data

Re: How long does it take to prepare upgrading moodle?

$
0
0
by Visvanath Ratnaweera.  

20 TB data, that is a challenge!

How do they divide between the filedir/ and the database dump?

Copying a directory of that that size will indeed take ages. You must have made it "incremental", i.e. rsync well before taking Moodle off-line and then one last time, after taking Moodle off-line?

Ri: Re: Ri: Installing Moodle on Oracle 19c Database

$
0
0
by Sergio Rabellino.  

Create if not exists and no, put only the directory path, nothing else.
After creating the file, you can do a reboot or simply call the "ldconfig" command to update the system's lib directory collection.

Re: How long does it take to prepare upgrading moodle?

$
0
0
by Howard Miller.  

It's the database that actually takes the time. Moodledata is already synced to a backup and just needs a final sync. At least, this is my understanding - that bit isn't actually my part of the job smile
Viewing all 46752 articles
Browse latest View live


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