- Server operating system version
- Ubuntu 24.04.4
- Plesk version and microupdate number
- 18.0.79
The Redis 8.10 update that was shipped tonight caused Redis on three Plesk servers of mine to fail this morning.
After some digging, I found that the working directory was set to the server root (default? not sure). This seems to have worked before, but wasn't working anymore.
Here's what I did to fix it, maybe it helps some others:
After some digging, I found that the working directory was set to the server root (default? not sure). This seems to have worked before, but wasn't working anymore.
Here's what I did to fix it, maybe it helps some others:
- Stop the Redis server:
sudo systemctl stop redis-server - Reset errors:
sudo systemctl reset-failed redis-server - Edit
/etc/redis/redis.confand change the working directory directive todir /var/lib/redis - Reload configs:
sudo systemctl daemon-reload - Test the Redis config by starting it as the redis user:
sudo -u redis redis-server /etc/redis/redis.conf- If you see any errors here, follow the error messages, e.g.
Address already in usemeans Redis is still running etc. - If the output is
Ready to accept connections, you're good to go
- If you see any errors here, follow the error messages, e.g.
- Exit the live Redis call (which will stop Redis again) and start Redis via systemctl:
sudo systemctl start redis-server - Test Redis via
redis-cli ping