المواضيع التي نشرها Visvanath Ratnaweera

صورة Particularly helpful Moodlers صورة Translators
The prescribed path is documented under Upgrading. But if you expect "crazy" things in your current Moodle, that path might break, or worse, inherit those things. Starting with a fresh install including the additional plug-ins and Course backup / Course restore might give a cleaner result. Of course, nobody can say for sure, unless those crazy things were documented.
 
FYI: A single-step 4.1 LTS > 5.0 is not possible. See https://moodledev.io/general/releases/5.0. Or for an overview of the versions involved see http://www.syndrega.ch/blog/#php-and-dbms-compatibility-of-major-moodle-releases. Unless you are in urgent need of the new features of Moodle 5.0, it is safer to upgrade the 4.1 LTS to 4.5 LTS (one-step upgrade is possible). As 4.5 LTS runs in production, you can start testing 5.x in a test instance.

صورة Particularly helpful Moodlers صورة Translators
A thorough research!

You can solve the mystery yourself starting from the first principles.

They are:
1. The web server processes belong to a certain user and a group. For example in Apache2 under Debian Linux, they are in the /etc/apache2/envvars. export APACHE_RUN_USER=www-data, export APACHE_RUN_GROUP=www-data.

2. Those web server processes need read access to the Moodle code, in your case /var/www/moodle/ (and everything below that).
 
Yes, only _read_ access.

3. Those web server processes need write access to the "moodledata" directory, in your case /var/www/moodledata/.
 
I repeat, _write_ access (and obviously read access too).
 
Usually you give Moodle an empty moodledata directory and from there on Moodle manages moodledata/ on its own.
 
I know, you know this, but to eliminate a common misconception: The "everyone" group in Unix, what you call the World, is not the 8 billion world population nor the 5 billion of them having web access, rather all the other shell user accounts of the server that runs Moodle (more accurately, the web server that powers it).
 
P.S. It just occurred to me that, if you delegated the "research" to those odd characters like ChatGPT, etc., it is not a crime, but a courtesy to mention that.

Moodle in English -> Quiz -> Questions banks in 4.5 to 5.0 -> Questions banks in 4.5 to 5.0

بواسطة - Visvanath Ratnaweera
صورة Particularly helpful Moodlers صورة Translators
Hi

Going from 4.x to 5.0 there was a fundamental change in the way the questions are shared. Better have a clear idea of a) how your the questions in your 5.0 need to be organized b) how you would transit from 4.x to 5.0 before taking the step. If you like the "long haul" here is an early discussion: Special Release Announcement for Moodle LMS.