Disk quota exceeded (122) error when working with Moodle

Try adding the following two lines to your config.php file (below what should be line 25, $CFG->directorypermissions = 0777; line)

$CFG->session_handler_class = '\core\session\file';
$CFG->session_file_save_path = session_save_path();

https://docs.moodle.org/26/en/Session_handling#Files

4 Likes