Enrolment takes too too longtime.

Enrolment takes too too longtime.

by Mohamed Abdel-Bary -
Number of replies: 10

I have Moodle Version 4.4.2+ (Build: 20240823) on Ubuntu server (Apache 2 + PHP Version 8.3.10 + Mysql database).
Enrolement of any user takes 2 minutes. How to solve this problem?

Average of ratings: -
In reply to Mohamed Abdel-Bary

Enrolment takes too too longtime.

by Mohamed Abdel-Bary -
It occurs with manual enrolment either for individual users from inside the course or when I upload users by cvs file. It occurs also with self-enrolment.
In reply to Mohamed Abdel-Bary

Enrolment takes too too longtime.

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers
Have you tried an enrollment with full debugging on to see if there are any messages? Does it happen on every course or just a single course? When did it start? What happened before it started? I suspect you have some plugin that is incompatible or causing issues...what plugins do you have installed?
In reply to Emma Richardson

Enrolment takes too too longtime.

by Mohamed Abdel-Bary -
I tried debugging mode. There was a plugin called Exabis portfolio detected by debugging mode. I removed it & deleted its folder from the blocks directory completely. The problem is still persistent. It occurs in all courses.
In reply to Mohamed Abdel-Bary

Enrolment takes too too longtime.

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers
And after uninstalling that plugin, does debugging show anything else?
In reply to Emma Richardson

Enrolment takes too too longtime.

by Mohamed Abdel-Bary -
No
In reply to Mohamed Abdel-Bary

Enrolment takes too too longtime.

by Emma Richardson -
Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Plugin developers
Did you clear caches after removing the plugin? Did you actually uninstall it from the web interface (so that it would remove all database entries?)
In reply to Emma Richardson

Enrolment takes too too longtime.

by Mohamed Abdel-Bary -
Thank you very much for your effort. I did find the problem. It is the SMTP. I disabled it in the "config.php" file & everything is Ok now.