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 (Ubuntu 22.04 Jammy) #69

Open
leon-v opened this issue Aug 6, 2022 · 5 comments
Open

Install Redis Stack on Linux (Ubuntu 22.04 Jammy) #69

leon-v opened this issue Aug 6, 2022 · 5 comments
Assignees

Comments

@leon-v
Copy link

leon-v commented Aug 6, 2022

$ curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
File '/usr/share/keyrings/redis-archive-keyring.gpg' exists. Overwrite? (y/N) y

$ 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
deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb jammy main

$ sudo apt-get update
Hit:1 http://nz.archive.ubuntu.com/ubuntu jammy InRelease
Hit:2 http://nz.archive.ubuntu.com/ubuntu jammy-updates InRelease             
Hit:3 http://nz.archive.ubuntu.com/ubuntu jammy-backports InRelease           
Hit:4 http://nz.archive.ubuntu.com/ubuntu jammy-security InRelease                                              
Get:5 https://dl.cloudsmith.io/public/symfony/stable/deb/ubuntu jammy InRelease [5,071 B]                                                                        
Hit:6 https://deb.nodesource.com/node_14.x jammy InRelease                                                                                 
Hit:7 https://ppa.launchpadcontent.net/team-xbmc/ppa/ubuntu jammy InRelease                            
Hit:8 https://packages.redis.io/deb jammy InRelease                              
Fetched 5,071 B in 2s (3,380 B/s)
Reading package lists... Done

$ sudo 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

Unsure if this is related, but when I access https://packages.redis.io/deb in my browser, I get the Fastly 403:

<Error>
<Code>AccessDenied</Code>
<Message>Access Denied</Message>
<RequestId>0F2G9EW55NMQXQQN</RequestId>
<HostId>0kFi8cF0Ewbk/8yqzmVEXLrUXwwJVHeYlB/8J1KFdoEoRhoDkw+Wtk3wEAWEJi3128gVWq8tkQc=</HostId>
</Error>
$ uname -a
Linux server 5.15.0-43-generic #46-Ubuntu SMP Tue Jul 12 10:30:17 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
@karimos97
Copy link

I am getting the following error Unable to locate package redis-stack-server

@mattved
Copy link

mattved commented Aug 17, 2022

Yes, same problem

@leon-v
Copy link
Author

leon-v commented Aug 17, 2022

Turned out that there was no redis-stack-server repository for jammy (Ubuntu 22.04).
https://forum.redis.com/t/install-redis-stack-server-in-ubuntu-22-04-jammy/1866

However, I was able to get it installed on jammy by forcing it to use focal (Ubuntu 20.04):

echo "deb [signed-by=/usr/share/keyrings/redis-archive-keyring.gpg] https://packages.redis.io/deb focal main" | sudo tee /etc/apt/sources.list.d/redis.list

(Swapping $(lsb_release -cs) for focal)
Then following the rest of the instructions.

From memory-there was some SSL issue that I resolved by installing some library from source (or something... wasn't sober)

@leon-v leon-v changed the title Install Redis Stack on Linux Install Redis Stack on Linux (Ubuntu 22.04 Jammy) Aug 17, 2022
@itamarhaber
Copy link
Contributor

Thanks @leon-v for reporting and identifying the issue - pinging @chayim for resolution

@chayim
Copy link
Contributor

chayim commented Oct 9, 2022

Jammy/22.04 is currently an unsupported platform. We don't have installers for this yet, as we don't yet build there. This is in the backlog.

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

5 participants