A few days ago, my website usually get errors then I thought it was because of the Redis server because I upgraded Redis to the latest version two days ago. Then I download the 6.x version and do downgrade Redis just like I upgrade it.
That seems like a stupid downgrade.
Today, all my websites are down and MySQL stopped working because the disk is FULL.
System log files and email log files increased to more than 100GB. But I didn’t know the disk is full immediately, I tried to do something (I don’t remember what I did) with Redis before that.
I tried to remove and reinstall MariaDB server but every time I did the server will try to install Redis
sudo apt-get install mariadb-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
mariadb-server is already the newest version (1:10.11.2+maria~deb11).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
Setting up redis-server (5:6.0.16-1+deb11u2) ...
Job for redis-server.service failed because the control process exited with error code.
See "systemctl status redis-server.service" and "journalctl -xe" for details.
find: ‘/etc/redis’: No such file or directory
dpkg: error processing package redis-server (--configure):
installed redis-server package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
I completely removed Redis but still can’t install the MariaDB server.