-
Notifications
You must be signed in to change notification settings - Fork 183
Description
Hi Thomas,
Get issues with moosh v. 1.27 with backup restore on Moodle 4.5.1 (PHP 8.2) in ANSI mode with Redis caching activated. (No
issue when Redis unactivated).
This seems to be linked with some change on the way Moodle 4.5 use Redis and manage Redis sessions.
Seems a lot of site get same issues and some
patch moosh install to workaround.
Any idea if possible to solve or what to do to
Patching ?
Here below mosh error log copy.
3:18:16 ✔ m4lts.didaxo.tvфdidaxo01.cblue.be /var/www/m4lts.didaxo.tv/www
$ moosh course-backup 21
PHP Warning: session_set_save_handler(): Session save handler cannot be changed when a session is active in /var/www/m4lts.didaxo.tv/www/lib/classes/session/redis.php on line 235
Warning: session_set_save_handler(): Session save handler cannot be changed when a session is active in /var/www/m4lts.didaxo.tv/www/lib/classes/session/redis.php on line 235
Default exception handler: La configuration de redis session a échoué. Veuillez en informer l’administrateur du serveur. Debug:
Error code: redissessionhandlerproblem
- line 237 of /lib/classes/session/redis.php: core\session\exception thrown
- line 750 of /lib/classes/session/redis.php: call to core\session\redis->init()
- line 688 of /lib/classes/session/redis.php: call to core\session\redis->init_redis_if_required()
- line 996 of /lib/classes/session/manager.php: call to core\session\redis->destroy()
- line 636 of /lib/classes/session/manager.php: call to core\session\manager::destroy()
- line 4078 of /lib/moodlelib.php: call to core\session\manager::login_user()
- line 313 of /opt/moosh/moosh.php: call to complete_user_login()
!!! La configuration de redis session a échoué. Veuillez en informer l’administrateur du serveur. !!!