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

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

$
0
0
by Ken Task.  

Pretty sure that no one can answer that question to your satisfaction - and this response will be my last in this thread.

This posting suggest your entity already has a 3.x and 200 'staff' (whatever that means).

So I would think you have 'helpdesk tickets' or emails you could review about 3.x as part of your data collection to answer your own question.   That, along with any computer/browser proficiency data you have on those 201 'staff' - the extra '1' is you! smile

Comment: time for you to 'dig'.   Time for you to do some data collection/reading/learning etc. etc. as no one here in these forums wants to do your job for you! smile

'SoS', Ken


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

$
0
0
by Marcus Green.  

Upgrading Moodle from 3.X to 4.X should typically take between 10 minutes and 30 minutes no matter the number of staff.

Upgrading Moodle from 3.X to 4.X with 25 plugins might take between a week or more than a month with full planning and testing.  I second Kens comment. 

Re: Cluster shared storage

$
0
0
by Visvanath Ratnaweera.  

The point is Moodle reads and writes to many places. Some are critical for scalability others not. For example moodledata/filedir is not critical. All sorts of caches are. So to get the maximum from the hardware you need to distribute those places accordingly.

That was about performance. Redundancy is a different topic, a harder one IMO.

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

$
0
0
by Rick Jerz.  

I agree with what Ken and Marcus have said.

There is a big difference going from 3.11 to Moodle 4.0 versus from Moodle 3.0 to Moodle 4.3.3+.

Your question appears to be hypothetical, and it appears to mix the administration of Moodle (i.e., upgrade) with the training needs of staff. So a hypothetical reply would be somewhere between 1 hour to 3 years, since I have no idea your Moodle administrator's skill nor your staff's ability to learn anything new.

A good place to start is to have your Moodle administrator try upgrading your Moodle 3.x to 4.x and see if it takes more than an hour. Also, have you tried setting up a course in Moodle 4.x and timed yourself?

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

$
0
0
by Tomas De Amos.  

Hi Moodle community,

I'm encountering an unusual issue in a Moodle 4.3.1 instance (build 20231211).

Whenever I enable course completion in a course, every time I attempt to edit an activity such as a forum, task, quiz, etc., after clicking the save button, the page takes approximately 1 minute to load. This happens consistently, regardless of any changes made in the edit form of the activity and only when updating, not when I add the activity.

If course completion is disabled, the page loads in about 3-4 seconds after saving changes.

I've attempted to replicate this behavior in a test environment with debugging enabled, but without success. I've also searched for recent posts or tracker reports related to the course completion feature, but haven't found anything relevant.

My next step will be to compare my production and test environments to determine whether this issue occurs in production but not in the test environment.

In the meantime, I wanted to inquire if anyone else has experienced a similar situation.

Any assistance would be greatly appreciated.

Thanks and regards,

Tomas.

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

$
0
0
by Ken Task.  

Haven't experienced same behavior, but ... question ... when was the last time you checked on the 'health' of your DB?   Tables can reach a state where they need to be optimized and other DB settings need tweaking.

'SoS', Ken



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

$
0
0
by Tomas De Amos.  

Hi Ken.

Thanks for your prompt response.

To be honest I haven't checked the health of the DB before.

Taking a look at the tables that have information related to completion I see that mdl_course_modules_completion has 3.5M rows approximately.

However, this instance has other tables with more rows (mdl_logstore_standard_log has 47M for instance).

I will try to investigate further and compare the DB config between production and test servers to check wether there is any difference.

Regards.
Tomas

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

$
0
0
by Ken Task.  

.... haven't checked ... then it's time.
Test server will not have same size tables as production ... not used as much ... production server tables should be larger - and might be in more need of optimization as well.

If you have MySQL/MariaDB here's a query - run as superuser:

select table_schema as database_name,
       table_name,
       round( (data_length + index_length) / 1024 / 1024, 2)  as total_size,
       round( (data_length) / 1024 / 1024, 2)  as data_size,
       round( (index_length) / 1024 / 1024, 2)  as index_size
from information_schema.tables
where table_schema not in ('information_schema', 'mysql',
                           'performance_schema' ,'sys')
      and table_type = 'BASE TABLE'
      -- and table_schema = 'your database name'
order by total_size desc
limit 10

and, if you have MySQL/MariaDB, suggest installing MySQLtuner.pl - a pearl script.   Run with super user creds, it will show if there are tables which need optimizing (fragmented) and show you a mysql client command to do so and recommend other settings that might need tweaking.

'SoS', Ken


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

$
0
0
by Visvanath Ratnaweera.  

"course completion" is too broad. You need to continue localizing the cause. Have you tried the developer tools in the browser, network tool, for example? It might tell you which part of the page takes long. A brute force approach would be to temporarily activate the DB query log before you click the save button and study the queries Moodle generates.

There must be more methods in the Hardware and performance forum. Check its documentation and run a search in the forum.

P.S. This looks like a topic for the H&W forum. Hint to the mod. ;)

Re: Cluster shared storage

Will Moodle 4.1.x support PHP 8.2

$
0
0
by Jesus Martin.  

Checking the information on Moodle website we can see that the last LTS Moodle version is 4.1 and the next one is 4.5 https://moodledev.io/general/releases
I would like to know if the date for the security support end for Moodle 4.1 is correct. In the documentation appears 8th December 2025
The question that appears is that since PHP 8.1.x support ends 25th of November of 2024, it’s recommended for use to use PHP 8.2.x instead, and it is supposed that Moodle 4.2.x is the minimum version that supports it
Will Moodle 4.1 continue as LTS until 2025 and will support PHP 8.2.x?
Thanks in advance
Best Regards
Jesus

Migration issue moodle 3.10.9

$
0
0
by Daniel Grigore.  

Hello.

The previous hosting has changed php from 7.4 to 8.2. My moodle website stopped running. I have a new hosting, I put backup of data folder, the files and imported successfully the database. When I first hit the website, automatically is going to /admin/index.php and display the upgrading and updating the database. But I have an error, it couldn't go forward because it requires minimum 3.11.8, and the current version is 3.10.9.
What options do I have to complete migration and after that starting the upgrading process? How to avoid upgrading in first instance?

Please, help. Thank you.

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

$
0
0
by Alimayu Bowen.  

Hi Stefan,

How were you able to identify which Forum was causing the issue?

Course Icons not showing after Upgrade

$
0
0
by Kyle Goliath.  

Good Day All,
Im really sorry if this is not the place to post.

Moodle Details: 
Moodle 4.3.3 (Build: 20240212)

Adaptable Theme 401.1.10 2022112311

Server Details:

Operating System - Linux

MySQL Version - 10.6.17-MariaDB

PHP - 8.2 (ea-php82)


The course Icons on our Moodle Install has not shown since I upgraded to Moodle 4.3.3+

I was on Moodle 401, upgraded to Moodle 4.2.6 first and all plugins before completing the upgrade to Moodle 4.3.3+.


Here is what the issue is:




Im not sure if this could help, when checking devtools it only has a class of "activityicon" and i'd imagine all the other icons are linked to similar classes.




I'm not sure why or how the upgrade would have affected this.

Please if anyone has experienced a similar issue or if admins have encountered this, any advice or help would be appreciated.

Kindest Regards
Kyle

Re: Course Icons not showing after Upgrade

$
0
0
by Leon Stringer.  

Moodle Details:
Moodle 4.3.3 (Build: 20240212)
Adaptable Theme 401.1.10 2022112311

This theme version is for Moodle 4.1. You need to upgrade Adaptable to a version that supports Moodle 4.3, currently 403.1.4 2023111805.

I don't know for certain this is causing this issue but it's a likely candidate.


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

$
0
0
by Stefan Schoch.  

Good question. Unfortunately, I don't remember 🤷‍♂️
I assume that I tried restoring the course several times and eventually adding the forums again (at least this is what I would try today in case there where several forums as suspects).

Do you encounter the same error?

Re: Migration issue moodle 3.10.9

$
0
0
by Leon Stringer.  

What version of PHP does your new host have? You can use a PHP info file to find out.

If this needs a Moodle upgrade one can only upgrade from specific older versions, for example, Moodle 4.3 can be upgraded from 3.11.8, 4.0, 4.1 or 4.2. To upgrade from Moodle 3.10 one must upgrade to one of these versions first. But you also need the PHP version for that version. This table shows which versions of Moodle work with which versions of PHP, and also which old Moodle versions they can be upgraded from (in the From rel. column).

Re: Will Moodle 4.1.x support PHP 8.2

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

$
0
0
by Tomas De Amos.  

Hi Ken, Visvanath.

Many thanks for your suggestions.

Ken, I have installed MySQLtuner and I received many suggestions after running it. Will try to contact a DBA in order to implement them.

Visvanath, I have recorded the network activity and found that the delay seems to be in modedit.php. I will try to investigate further and come back with my findings.

Regards.
Tomas.


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

$
0
0
by Leon Stringer.  

I'm encountering an unusual issue in a Moodle 4.3.1 instance (build 20231211).

That's four months behind on updates. If you're experiencing problems it's best to have all available fixes before posting to these forums.

... the page takes approximately 1 minute to load.

and 20 seconds:

Crop of OP's network monitor screenshot showing request to modedit.php taking 20.70 seconds.

These are both suspiciously round numbers which suggests some network timeout. Have you got a plugin that's communicating with a third party service? Try enabling debugging, then edit an activity so the delay occurs, then check the PHP error log for any messages reported at the same time.

Viewing all 46758 articles
Browse latest View live


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