Closed monsieurmonsieur closed 7 months ago
I'm no expert in MySQL but this is most probably a MYSQL problem. Doing some research, I found the following: https://stackoverflow.com/questions/29575835/error-1038-out-of-sort-memory-consider-increasing-sort-buffer-size
The highest rated comment there suggests to increase the sort_buffer_size by editing the MySQL config file like this:
sudo nano /etc/mysql/mysql.conf.d/mysqld.cnf
sort_buffer_size = **256000000**
sudo service mysql restart
Please keep in mind that this is only an example. On your server, the MySQL config file might be at a different location. Also you might want to use another editor than nano and there might be another way to restart your MySQL server (e.g. if you use Docker).
I'll close this for now. If the problem persists after increasing the buffer size, please let us know and I'll re-open the ticket.
Thanks for your answer, I will look into it. Best regardsn
Hi,
I have recently updated Booking from 7.8.7.02 and Moodle 4.0.7 to Booking 8.0.55, Wunderbyte Table 1.9.2 and Moodle 4.1.8.
After updating, the booking view page in courses show "No records found", and no existing booking sessions are displayed although they are still in the database.
The following message is displayed :
Warning: mysqli::query(): (HY001/1038): Out of sort memory, consider increasing server sort buffer size in /var/www/cinsight/lib/dml/mysqli_native_moodle_database.php on line 1281
When trying to create a new booking by clicking the "New booking option" link, an error occurs : "error reading database" with this info :
Tampon de sortie <br /> <b>Warning</b>: mysqli::query(): (HY001/1038): Out of sort memory, consider increasing server sort buffer size in <b>/var/www/cinsight/lib/dml/mysqli_native_moodle_database.php</b> on line <b>1281</b><br />
Are there specific settings or configuration needed with that new version that could cause such errors ?
Thanks in advance and best regards.