kaltura / platform-install-packages

Official deployment packages to install the Kaltura platform on a server or cluster environments using native OS package managers
GNU Affero General Public License v3.0
520 stars 242 forks source link

Instructions refer to old material on Remi Repos - Fails for CentOS-8 install #695

Open HeneryH opened 3 years ago

HeneryH commented 3 years ago

Bug report

Instructions refer to

Enabling the Remi repos

Please see: https://blog.remirepo.net/post/2017/12/04/Install-PHP-7.2-on-CentOS-RHEL-or-Fedora Then, run:

# dnf module reset php
# dnf module install php:remi-7.2

but that link only goes up to Centos/RH 7 and while you can appear to override the urls to change 7 to 8 the steps to yum-config-manager --enable remi-php72 fails.

*Please provide steps to reproduce, including errors from /opt/kaltura/log/kaltura_api_v3.log, /opt/kaltura/log/kaltura_apache_errorslog and /opt/kaltura/log/kaltura_prod.log:**

[root@video userx]# wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
--2021-03-08 13:54:22--  https://dl.fedoraproject.org/pub/epel/epel-release-latest-8.noarch.rpm
Resolving dl.fedoraproject.org (dl.fedoraproject.org)... 38.145.60.23, 38.145.60.24, 38.145.60.22
Connecting to dl.fedoraproject.org (dl.fedoraproject.org)|38.145.60.23|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 22576 (22K) [application/x-rpm]
Saving to: ‘epel-release-latest-8.noarch.rpm’

epel-release-latest-8.noarch. 100%[=================================================>]  22.05K  --.-KB/s    in 0.009s

2021-03-08 13:54:23 (2.42 MB/s) - ‘epel-release-latest-8.noarch.rpm’ saved [22576/22576]

[root@video userx]# wget http://rpms.remirepo.net/enterprise/remi-release-8.rpm
--2021-03-08 13:54:41--  http://rpms.remirepo.net/enterprise/remi-release-8.rpm
Resolving rpms.remirepo.net (rpms.remirepo.net)... 109.238.14.107, 2a00:c70:1:109:238:14:107:1
Connecting to rpms.remirepo.net (rpms.remirepo.net)|109.238.14.107|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 25960 (25K) [application/x-rpm]
Saving to: ‘remi-release-8.rpm’

remi-release-8.rpm            100%[=================================================>]  25.35K  --.-KB/s    in 0.09s

2021-03-08 13:54:41 (286 KB/s) - ‘remi-release-8.rpm’ saved [25960/25960]

[root@video userx]# rpm -Uvh remi-release-8.rpm epel-release-latest-8.noarch.rpm
warning: remi-release-8.rpm: Header V4 RSA/SHA256 Signature, key ID 5f11735a: NOKEY
warning: epel-release-latest-8.noarch.rpm: Header V4 RSA/SHA256 Signature, key ID 2f86d6a1: NOKEY
Verifying...                          ################################# [100%]
Preparing...                          ################################# [100%]
        package epel-release-8-10.el8.noarch is already installed
[root@video userx]# yum install yum-utils
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

CentOS Linux 8 - PowerTools                                                             2.4 MB/s | 2.0 MB     00:00
Extra Packages for Enterprise Linux Modular 8 - x86_64                                  506 kB/s | 556 kB     00:01
Extra Packages for Enterprise Linux 8 - x86_64                                          4.8 MB/s | 8.9 MB     00:01
Last metadata expiration check: 0:00:01 ago on Mon Mar  8 13:55:13 2021.
Dependencies resolved.
========================================================================================================================
 Package                      Architecture              Version                         Repository                 Size
========================================================================================================================
Installing:
 yum-utils                    noarch                    4.0.17-5.el8                    baseos                     68 k

Transaction Summary
========================================================================================================================
Install  1 Package

Total download size: 68 k
Installed size: 20 k
Is this ok [y/N]: y
Downloading Packages:
yum-utils-4.0.17-5.el8.noarch.rpm                                                       519 kB/s |  68 kB     00:00
------------------------------------------------------------------------------------------------------------------------
Total                                                                                   221 kB/s |  68 kB     00:00
warning: /var/cache/dnf/baseos-929b586ef1f72f69/packages/yum-utils-4.0.17-5.el8.noarch.rpm: Header V3 RSA/SHA256 Signature, key ID 8483c65d: NOKEY
CentOS Linux 8 - BaseOS                                                                  82 kB/s | 1.6 kB     00:00
Importing GPG key 0x8483C65D:
 Userid     : "CentOS (CentOS Official Signing Key) <security@centos.org>"
 Fingerprint: 99DB 70FA E1D7 CE22 7FB6 4882 05B5 55B3 8483 C65D
 From       : /etc/pki/rpm-gpg/RPM-GPG-KEY-centosofficial
Is this ok [y/N]: y
Key imported successfully
Running transaction check
Transaction check succeeded.
Running transaction test
Transaction test succeeded.
Running transaction
  Preparing        :                                                                                                1/1
  Installing       : yum-utils-4.0.17-5.el8.noarch                                                                  1/1
  Running scriptlet: yum-utils-4.0.17-5.el8.noarch                                                                  1/1
  Verifying        : yum-utils-4.0.17-5.el8.noarch                                                                  1/1
Installed products updated.

Installed:
  yum-utils-4.0.17-5.el8.noarch

Complete!
[root@video userx]# yum-config-manager --enable remi-php72
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Error: No matching repo to modify: remi-php72.
[root@video jflynn]# yum-config-manager --enable remi-php74
Updating Subscription Management repositories.
Unable to read consumer identity

This system is not registered to Red Hat Subscription Management. You can use subscription-manager to register.

Error: No matching repo to modify: remi-php74.

Linux distribution name and version: CentOS 8

Are you using the RPM or deb packages?

When using RPM, paste the output for:

# rpm -qa "kaltura-*"

For deb based systems:

# dpkg -l "kaltura-*"

Is this an all in one instance [single server] or a cluster?

If applicable, please provide the MySQL version

If you're having an issue with a specific media asset, please provide a link from which it can be downloaded/played: