Actions
Bug #23311
closedDocument how to add postgres repos for server install on RHEL8
Pull Request:
Severity:
Minor - inconvenience | misleading | easy workaround
UX impact:
User visibility:
Operational - other Techniques | Rudder settings | Plugins
Effort required:
Very Small
Priority:
0
Name check:
To do
Fix check:
To do
Regression:
No
Description
I try to install a Rudder server on RHEL8, but I get this following error:
root@server:~# cat /etc/yum.repos.d/rudder.repo [Rudder_8.0-nightly] name=Rudder 8.0-nightly baseurl=http://repository.rudder.io/rpm/8.0-nightly/RHEL_8/ gpgcheck=1 gpgkey=https://repository.rudder.io/rpm/rudder_rpm_key.pub root@server:~# yum install rudder-server Failed to set locale, defaulting to C.UTF-8 Last metadata expiration check: 0:09:08 ago on Fri Aug 18 11:39:10 2023. Error: Problem: package rudder-server-8.0.0.alpha2.git202308180211-1.EL.8.x86_64 requires postgresql-server >= 13, but none of the providers can be installed - cannot install the best candidate for the job - package postgresql-server-13.2-1.module_el8.4.0+701+c3c42fce.x86_64 is filtered out by modular filtering - package postgresql-server-13.3-1.module_el8.5.0+825+b0b60c92.x86_64 is filtered out by modular filtering - package postgresql-server-13.3-1.module_el8.5.0+843+2fa7d82b.x86_64 is filtered out by modular filtering - package postgresql-server-13.3-2.module_el8.5.0+866+90b85912.x86_64 is filtered out by modular filtering - package postgresql-server-13.3-3.module_el8.6.0+1012+fa58b3a3.x86_64 is filtered out by modular filtering - package postgresql-server-13.5-2.module_el8.6.0+1044+ed943ce5.x86_64 is filtered out by modular filtering - package postgresql-server-13.7-2.module_el8.6.0+1152+d0162c0a.x86_64 is filtered out by modular filtering - package postgresql-server-15.0-1.module_el8.8.0+1240+2fac00b0.x86_64 is filtered out by modular filtering (try to add '--skip-broken' to skip uninstallable packages or '--nobest' to use not only best candidate packages)
This is awaited because Rudder 8.0 required postgres 13. We need to document:
- add postgresql repo:
dnf install https://download.postgresql.org/pub/repos/yum/reporpms/EL-8-x86_64/pgdg-redhat-repo-latest.noarch.rpm
- disable base postgresql repos:
dnf module disable postgresql
Install rudder server:
dnf install rudder-server
Actions