المواضيع التي نشرها Alain Raap

Moodle in English -> General help -> Moosh problem with Redis -> Re: Moosh problem with Redis

بواسطة - Alain Raap
Hi Ken,

This is a simple example I run Moosh with the webserver user, with -n as root user I get the same error:

sudo -u www-data /usr/local/bin/moosh -v info
Default exception handler: Uitzondering - NOAUTH Authentication required. Debug:
Error code: generalexceptionmessage
* line 297 of /moosh/moosh.php: RedisException thrown
* line 297 of /moosh/moosh.php: call to session_start()

!!! Uitzondering - NOAUTH Authentication required. !!!

Moodle in English -> General help -> Moosh problem with Redis -> Re: Moosh problem with Redis

بواسطة - Alain Raap
I run Moosh in the Moodle directory with the user of the webserver, so it should find the Redis settings (and password) in the config.php of Moodle
It would be strange if an extra config file is necessary to run Moosh, I know you can create one but I don't use it.

Moodle in English -> General help -> Moosh problem with Redis

بواسطة - Alain Raap

Our Redis server is protected for security with a password.
When I try to run a Moosh (1.21) command I get the following error:

Error code: generalexceptionmessage

  • line 297 of /moosh/moosh.php: RedisException thrown
  • line 297 of /moosh/moosh.php: call to session_start()

!!! Uitzondering - NOAUTH Authentication required. !!!

The session_redis_auth parameter is configured in the config.php of Moodle, and we're using Moodle 4.1.15

How can I get Moosh working with a protected Redis server?

متوسط التقييمات: -