Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

redis-server/redis-cli doesn't found after snap install redis #2

Open
gkorland opened this issue Sep 16, 2020 · 3 comments
Open

redis-server/redis-cli doesn't found after snap install redis #2

gkorland opened this issue Sep 16, 2020 · 3 comments

Comments

@gkorland
Copy link
Contributor

gkorland commented Sep 16, 2020

$~/redislabsmodules/RedisTimeSeries$ sudo snap install redis
redis 6.0.8 from Redis Labs (redislabs) installed
$~/redislabsmodules/RedisTimeSeries$ redis-server
@gkorland gkorland changed the title redis-server doesn't found after snap install redis redis-server/redis-cli doesn't found after snap install redis Sep 16, 2020
@JonasKruckenberg
Copy link
Contributor

Because of the way snaps work, redis can only export the commands a "subcommands" under the redis namespace which are separated by dots, so to access to redid-cli you would have to type redis.cli, to access to server you would type redis.server and so on.
Please not though that the redis server is exposed as a snap service.
You can list all running services with snap services.
And more information about the snap can be obtained by running snap info redis.

@JonasKruckenberg
Copy link
Contributor

FYI to make redis-server work redis would have to request the alias with the snapcraft team which is possible but would take some time of course.

@gkorland
Copy link
Contributor Author

gkorland commented Dec 8, 2021

I just tried to reinstall the snap and now I don't see the redis.server anymore.
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants