Beiträge von Visvanath Ratnaweera

Moodle in English -> Installing and upgrading help -> 4.1 -> 4.1

von Visvanath Ratnaweera -
Nutzerbild von Particularly helpful Moodlers Nutzerbild von Translators
> I was using moodle 3.9 and wanted to upgrade to 4.5.

I always wonder, how people can live in an ancient place, Moodle 3.9 LTS was released June 2020, for example, then suddenly want the latest and shyniest. Talking of the shyniest, have a look at Upgrading to 5.1? Read this first.
 
> My hosting said it did not work because the PHP is 7.4 and needs 8.1 for moodle 4.5 and needs sodium to be enabled.
 
 
> They were able to upgrade my moodle version to 4.1 but I really want 4.5 so what or how do I do this without crashing my site.
 
Good that they upgraded to 4.1 LTS first, because 4.5 LTS needs Moodle 4.1.2 or later to start the upgrade. (same 4.5 release notes as earlier)
 
> The hosting said they did not want to do it bc they do not have the knowledge of moodle to ensure the site will not crash.
 
Well, that was prudent indeed. You may forward them this overview: http://www.syndrega.ch/posts/php-and-dbms-compatibility-of-major-moodle-releases/.
 
> If anyone can provide the steps to be able to use 4.5 I would be grateful. 
 
https://docs.moodle.org/405/en/Upgrading has it all.

Also when I go to administration server environment it shows 3.9 still if I am checking the Moodle version correct. This is what I am looking at :
 
That looks a bit suspicious - 3.9.25 is not what you expected, right? But you showed us a drop-down list. Maybe you've selected that value? Double check by visiting > Site administration > Notifications and scrolling to the bottom of the page. It should say correct information the line above the Copyright © 1999 onwards..
Nutzerbild von Particularly helpful Moodlers Nutzerbild von Translators

Hi Petr
Cc  James

I fear we are hijacking Adithya's thread. Assuming the moderator splits this at https://moodle.org/mod/forum/discuss.php?d=470304#p1888056, I gave this future thread a new subject line.

First thing, I didn't know that the domain/path kind of Moodle instances allow "any editing teacher can easily gain admin access to all other site". I'm no security expert, but for me that statement also says, "any editing teacher can easily gain admin access to his Moodle site". Really? Or, do you mean the fact that Moodle empowers the teachers by allowing them to paste code (CSS and JavaScript) in to text fields? Well, I know that, and very happy with it, because in my environment (tertiary, govt. or semi-govt.) only teachers who are worthy of that title are being employed. Those who have gaps gets trained at work. The (remotely) possible black sheep will get a bang on their heads.

Now specifically to the domain/path URL, that is exactly how I created 30 Moodle instances under one sub-domain for the participants of a Moodle System Administration course. They could download (git) a number of Moodle versions, install them, work in them, back up them, upgrade them (within a range), delete them, recreate (by dropping the database), restore them. That was a highlight - apart from Mary visiting us on video link, judging from their feedback and seeing them visiting the course page months or even after an year after to refer to the notes. 

Of course, I know (most of) the dangers of that setup. Therefore took a dedicated (mini) server, was careful to my abilities, and the configuration deactivated a couple of months later giving them to practice on their own. (I'm sue, I've discussed this setup at that time on these forums.)

Whatever, the point is, I will be unable to repeat that exercise with Moodle 5.1 and later if needed (unless I myself go through a Moodle 5.1 system administration course).

Nutzerbild von Particularly helpful Moodlers Nutzerbild von Translators
Who told you that once Moodle 5.1 is released your Moodle 5.0.2 will burst? Or did you mean that nagging (inaccurate) message appearing to the site admin that there is a newer Moodle version and you are strongly recommended to update your site to the latest version..?
Nutzerbild von Particularly helpful Moodlers Nutzerbild von Translators
Well, if your server expert says "not possible", then it is not possible!

What I didn't get was whether he says, a) "restructuring any Moodle instance is not possible", or, b) "restructuring an instance is possible, but not all 70 of them"?
 
If a), he should be dismissed. Either he hasn't read https://docs.moodle.org/501/en/Upgrading or he is incapable (of following it).
 
If b), then all you need to do is to pay him 70x the fee for upgrading an instance.
lächelnd