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

Install Redis Stack on Linux command doesn't work on Debian11 #112

Open
db0 opened this issue Nov 9, 2022 · 26 comments
Open

Install Redis Stack on Linux command doesn't work on Debian11 #112

db0 opened this issue Nov 9, 2022 · 26 comments
Assignees

Comments

@db0
Copy link

db0 commented Nov 9, 2022

Following the instructions in https://redis.io/docs/stack/get-started/install/linux/

curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
sudo apt-get update
sudo apt-get install redis-stack-server

the package cannot be found

apt-get install redis-stack-server
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package redis-stack-server
@Vincz
Copy link

Vincz commented Nov 16, 2022

I can confirm. Following the docs doesn't work for debian.

@thejixer
Copy link

I still cant install it on Ubuntu version 22
I get:
E: Unable to locate package redis-stack-server

@nermiller nermiller self-assigned this Dec 2, 2022
@nermiller
Copy link
Contributor

Hi, I'm in the process of documenting this. but please try these instructions:

From Download, get the latest Stack snap package.

To install, run:

sudo snap install --dangerous --classic <snapname.snap>

@Vincz
Copy link

Vincz commented Dec 9, 2022

Hi @nermiller! I tried the install with snap on a fresh ubuntu server, but after manually launching redis-stack-server, I get a bunch of errors:

mkdir: cannot create directory ‘/snap/redis-stack-server/x1/opt/redis-stack/var’: Read-only file system
touch: cannot touch '/snap/redis-stack-server/x1/opt/redis-stack/var/db/redis-stack/.testfile': No such file or directory
Starting redis-stack-server, database path /root
/snap/redis-stack-server/x1/opt/redis-stack/bin/redis-server: error while loading shared libraries: libssl.so.1.1: cannot open shared object file: No such file or directory

I also tried Debian, Redhat and others versions of Ubuntu and it seems like at this point, there is no simple way to install redis-stack and run it.
Something like apt install redis-server-stack and systemctl start redis-server-stack would be awesome.

Is there any distribution you can recommend where it is that simple to install? I want to install it on a fresh server and distribution doesn't really matter to me.

@nermiller
Copy link
Contributor

Thanks, @Vincz. I'll let the team know. We'll fix this ASAP.

@nermiller
Copy link
Contributor

@Vincz while the team is working on the fix, you can use Docker. Hope that works for you!

@Vincz
Copy link

Vincz commented Dec 12, 2022

Hi @nermiller. Thank you for the reply. Unfortunately, Docker is not an option for me at the moment.
I will follow this thread and wait for a fix.
Thanks

@nermiller
Copy link
Contributor

Thanks in advance for your patience. I'll keep you posted.

@mwaqar666
Copy link

Is there any update on this?

@Vincz
Copy link

Vincz commented Dec 27, 2022

Isn't it possible to have exactly the same packages as Redis itself but with redis-stack instead? At the end of the day, redis-stack is just redis & module, isn't it?

@chayim
Copy link
Contributor

chayim commented Dec 29, 2022

@Vincz - does this still happen?

I just removed all of the dockers on my system, and cold started everything on a debian:11 (bullseye) docker. This is literally what I did - to pull down the packages (for a new new docker) so YMMV.

apt update
apt install -y curl gpg sudo wget lsb-release
curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb $(lsb_release -cs) main" | sudo tee /etc/apt/sources.list.d/redis.list
apt-get update
apt-get install redis-stack-server

Previously, I had a gpg key mismatch error, with they key imported. But it appears to have resolved itself.

@akashbit
Copy link

Tried with yours, still no luck.

@chayim
Copy link
Contributor

chayim commented Dec 29, 2022

@akashbit What's your docker image or debian situation? The current hash of the latest bullseye image is 446440c01886, and that ran fine.

Do you have lsb-release installed? Mind sharing the output?

@akashbit
Copy link

doing it on ubuntu22.04 ... followed exactly your guide. not docker.

@chayim
Copy link
Contributor

chayim commented Dec 29, 2022

Ah- I see, this issue is a mix. I've since split the Ubuntu 22.04 issue into #126. This one focuses on Debian11.

As for the Ubuntu issue, I think I have a lead on that. It appears that packages can no longer be in repositories, using the old x86_64 platform. Starting with Jammy it appears that Ubuntu no longer auto translates that to amd64. So... I'm making changes. Hopefully this closes shortly.

@akashbit
Copy link

thanks @chayim

@chayim
Copy link
Contributor

chayim commented Dec 29, 2022

Any time :D

@macghriogair
Copy link

Any updates on this one?

Neither the package redis-stack nor redis-stack-server seem to be included in the package lists fetched via https://packages.redis.io/deb

# /etc/apt/sources.list.d/redis.list
deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb bullseye main
lz4cat /var/lib/apt/lists/packages.redis.io_deb_dists_bullseye_main_binary-all_Packages.lz4 | grep redis-stack -c
0

This effectively means, we cannot build our custom Debian derived docker image with redis stack. (Due to policies, the official image is not an option 😢 )

@Ayfri
Copy link

Ayfri commented Apr 13, 2024

Any update ?

@xtreamtrader
Copy link

Any update, please?

@chayim chayim removed their assignment May 13, 2024
@gaspard-lonchampt
Copy link

I'm on Debian on WSL and still get the same error, does anyone foud a solution ?

@manastunga787
Copy link

Follow the official instruction https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/linux and got error message Unable to locate package redis-stack-server on Ubuntu Server 24.04

Then tried the same on Ubuntu Server 22.04 LTS and the installation is success 😊

@nhymxu
Copy link

nhymxu commented Jul 11, 2024

@manastunga787 because they not have any build for Ubuntu 24.04

I create PR for this redis-stack/redis-stack#566
will waiting they check and test

@SrilalS
Copy link

SrilalS commented Aug 14, 2024

Any updates on this one?

Neither the package redis-stack nor redis-stack-server seem to be included in the package lists fetched via https://packages.redis.io/deb

# /etc/apt/sources.list.d/redis.list
deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb bullseye main
lz4cat /var/lib/apt/lists/packages.redis.io_deb_dists_bullseye_main_binary-all_Packages.lz4 | grep redis-stack -c
0

This effectively means, we cannot build our custom Debian derived docker image with redis stack. (Due to policies, the official image is not an option 😢 )

This Appears to be the issue still in 2024 August. More than a year has passed but no fix?

@ncompass-ts
Copy link

Any update on this ?

@zeroepix
Copy link

zeroepix commented Oct 7, 2024

I'm using Ubuntu24 and had the same "Unable to locate package redis-stack-server" error, but I managed to install it using snap. I assume if you're willing to install/use snap on Debian it might work on that too.

I followed these instructions: https://redis.io/docs/latest/operate/oss_and_stack/install/install-stack/linux/#on-ubuntu-with-snap

Now...if only I can figure out how to configure it...

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