redis-stack / redis-stack-docs

6 stars 55 forks source link

Install Redis Stack on Linux - Fail 403 Forbidden #237

Closed ZeitounCorp closed 8 months ago

ZeitounCorp commented 8 months ago

Hi there,

I tried installing redis-stack-server on my linux server (running on Ubuntu 23.10) When trying to run sudo apt-get update this generate this error:

Hit:1 http://archive.ubuntu.com/ubuntu mantic InRelease
Hit:2 http://archive.ubuntu.com/ubuntu mantic-updates InRelease          
Hit:3 http://archive.ubuntu.com/ubuntu mantic-backports InRelease              
Hit:4 http://archive.ubuntu.com/ubuntu mantic-security InRelease               
Hit:5 http://ubuntu.mirror.constant.com mantic InRelease                       
Hit:6 http://ubuntu.mirror.constant.com mantic-updates InRelease
Hit:7 http://ubuntu.mirror.constant.com mantic-backports InRelease
Hit:8 http://ubuntu.mirror.constant.com mantic-security InRelease
Err:9 https://packages.redis.io/deb mantic InRelease
  403  Forbidden [IP: 2600:9000:2208:a200:13:e54d:6980:93a1 443]
Reading package lists... Done
E: Failed to fetch https://packages.redis.io/deb/dists/mantic/InRelease  403  Forbidden [IP: 2600:9000:2208:a200:13:e54d:6980:93a1 443]
E: The repository 'https://packages.redis.io/deb mantic InRelease' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.

FYI: I followed this setup

curl -fsSL https://packages.redis.io/gpg | sudo gpg --dearmor -o /usr/share/keyrings/redis-archive-keyring.gpg
sudo chmod 644 /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

Could someone please help me fix this problem ?

Thanks a lot,

ZeitounCorp commented 8 months ago

Well, I followed instruction from this issue: https://github.com/redis-stack/redis-stack-docs/issues/69#issuecomment-1217709492

The problem is that ubuntu 23.10 isn't supported yet (as in the mentionned issue Ubuntu "Jammy")

Then for missing libssl (when trying to run redis-server-stack), I followed this: https://stackoverflow.com/a/72633324 (As of today correct link for libssl http://nz2.archive.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.1f-1ubuntu2.20_amd64.deb)

And now I can start redis-stack-server