How to remove Redis instances in DA after Redis root removal

lukgier

New member
Joined
Mar 16, 2025
Messages
3
Hi,

I've removed Redis from server as root but now I figured out there are Redis instances in DA.

When I log in as a user and I want to remove an instance I get - Due to error Redis instance can't be removed.

I have no clue how to remove all instances in DA.

Currently for ps aux | grep redis I get:

root 1965 0.0 0.0 8616 820 pts/3 S+ 20:21 0:00 grep redis


I would appreciate any help.

Here is what I did in SSH in general

Bash:
./build redis uninst


rm -f /lib/systemd/system/redis-server

rm -f /etc/systemd/system/redis-server.service

rm -f /etc/systemd/system/redis-server@*.service

rm -f /lib/systemd/system/redis-server.service

rm -f /lib/systemd/system/redis-server@*.service

rm -f /usr/local/bin/redis-server

rm -f /usr/local/bin/redis-cli

rm -rf /var/lib/redis

rm -rf /etc/redis
 
I wasn't precise enough I guess.

I'm using https://github.com/kbentlage/da-redis-management

After removing Redis (above) I can't remove the list of instances showed in DA Redis Management Plugin - it gives error when I try do delete an instance.

Any idea how to clear this list, remove all instances?

Maybe I should remove the plugin and this will remove instances on the list? I don't want to leave any trash in DA database.
 
Try this:
da build set redis no
da build list_removals -> see if redis is listed.
da remove_items

I might be mistaken with a command, this is just out of the head, but they might also be correct.
 
Thanks.

Indeed, Redis has been removed but there is still the list of instances in Redis Management Plugin and still the same error when I try to remove them.
 
Hello,

If you no longer want to use the Redis plugin, then you can remove it from DirectAdmin.

there is still the list of instances in Redis Management Plugin

and/or check the content of the following directories:

- /etc/redis/instances
- /var/lib/redis

you might find data/instances.json under them.
 
Back
Top