Forums

Resolved
0 votes
I was thinking about trying out nextcloud to share files with customers, but when trying to install via yum I noticed a dependency was rh-php71 (x86_64, version 1-1.el7). I'm pretty sure a version is already installed on my box, but when trying "yum install rh-php71", it shows me that it's going to install it, rather than prompt that a different version is already installed. Thinking I could persuade the rpm, I copied .phpenv file, having the simple script "71" in it, from my webroot to the root directory. It checks out using php -v, coming up with php7.1.8. It would appear they're two different versions, but why doesn't yum prompt me? I have a website running that's using php7.1, so I don't want to break it when installing nextcloud.
Monday, April 01 2019, 07:16 PM
Share this post:
Responses (4)
  • Accepted Answer

    Monday, April 01 2019, 08:30 PM - #Permalink
    Resolved
    0 votes
    Let the rh-php71-1-1.el7.x86_64 install. I got mine when I installed nextcloud, but I also installed the PHP Engines at the same time.

    I don't know if you'll get a bad experience if you install nextcloud on its own. It is normally a paid-for app and I suspect a fair amount of integration work went into the app including integrating it with LDAP. I have no idea what you'll end up with without the app.
    The reply is currently minimized Show
  • Accepted Answer

    Monday, April 01 2019, 07:55 PM - #Permalink
    Resolved
    0 votes
    As a side note, I tried disabling the clearos-centos-sclo-rh repo and got this when trying to install nextcloud, which I expected:

    # yum install nextcloud
    Loaded plugins: clearcenter-marketplace, fastestmirror
    ClearCenter Marketplace: fetching repositories...
    Loading mirror speeds from cached hostfile
    * clearos: mirror1-newyork.clearos.com
    * clearos-centos: download2.clearsdn.com
    * clearos-centos-extras: download2.clearsdn.com
    * clearos-centos-updates: download2.clearsdn.com
    * clearos-centos-verified: mirror1-newyork.clearos.com
    * clearos-contribs: mirror1-newyork.clearos.com
    * clearos-epel: download2.clearsdn.com
    * clearos-epel-verified: mirror1-newyork.clearos.com
    * clearos-fast-updates: download2.clearsdn.com
    * clearos-infra: mirror1-newyork.clearos.com
    * clearos-updates: mirror1-newyork.clearos.com
    * clearos-verified: mirror1-newyork.clearos.com
    * private-clearcenter-ad: download3.clearsdn.com:80
    * private-clearcenter-antimalware: download1.clearsdn.com:80
    * private-clearcenter-antispam: download3.clearsdn.com:80
    * private-clearcenter-business: download1.clearsdn.com:80
    * private-clearcenter-dnsthingy: download4.clearsdn.com:80
    * private-clearcenter-dyndns: download2.clearsdn.com:80
    * private-clearcenter-ids: download2.clearsdn.com:80
    * private-clearcenter-kopano-basic: download2.clearsdn.com:80
    * private-clearcenter-master-slave: download4.clearsdn.com:80
    * private-clearcenter-rbs: download1.clearsdn.com:80
    * private-clearcenter-verified-updates: download4.clearsdn.com:80
    Resolving Dependencies
    --> Running transaction check
    ---> Package nextcloud.noarch 0:13.0.5-3.v7 will be installed
    --> Processing Dependency: rh-php71 for package: nextcloud-13.0.5-3.v7.noarch
    --> Finished Dependency Resolution
    Error: Package: nextcloud-13.0.5-3.v7.noarch (clearos-contribs)
    Requires: rh-php71
    You could try using --skip-broken to work around the problem
    You could try running: rpm -Va --nofiles --nodigest
    The reply is currently minimized Show
  • Accepted Answer

    Monday, April 01 2019, 07:47 PM - #Permalink
    Resolved
    0 votes
    Hey Nick. There's no app-nextcloud, just nextcloud via the clearos-contribs repo. Even after the rpm sort command I get the same result:

    # rpm -qa | grep rh-php | sort
    rh-php56-php-bcmath-5.6.25-1.el7.x86_64
    rh-php56-php-cli-5.6.25-1.el7.x86_64
    rh-php56-php-common-5.6.25-1.el7.x86_64
    rh-php56-php-fpm-5.6.25-1.el7.x86_64
    rh-php56-php-gd-5.6.25-1.el7.x86_64
    rh-php56-php-intl-5.6.25-1.el7.x86_64
    rh-php56-php-ldap-5.6.25-1.el7.x86_64
    rh-php56-php-mbstring-5.6.25-1.el7.x86_64
    rh-php56-php-mysqlnd-5.6.25-1.el7.x86_64
    rh-php56-php-opcache-5.6.25-1.el7.x86_64
    rh-php56-php-pdo-5.6.25-1.el7.x86_64
    rh-php56-php-pear-1.9.5-4.el7.noarch
    rh-php56-php-pecl-jsonc-1.3.6-3.el7.x86_64
    rh-php56-php-pecl-memcache-3.0.8-12.el7.x86_64
    rh-php56-php-process-5.6.25-1.el7.x86_64
    rh-php56-php-soap-5.6.25-1.el7.x86_64
    rh-php56-php-xml-5.6.25-1.el7.x86_64
    rh-php56-php-xmlrpc-5.6.25-1.el7.x86_64
    rh-php56-runtime-2.3-1.el7.x86_64
    rh-php70-php-bcmath-7.0.27-1.el7.x86_64
    rh-php70-php-cli-7.0.27-1.el7.x86_64
    rh-php70-php-common-7.0.27-1.el7.x86_64
    rh-php70-php-fpm-7.0.27-1.el7.x86_64
    rh-php70-php-gd-7.0.27-1.el7.x86_64
    rh-php70-php-intl-7.0.27-1.el7.x86_64
    rh-php70-php-json-7.0.27-1.el7.x86_64
    rh-php70-php-ldap-7.0.27-1.el7.x86_64
    rh-php70-php-mbstring-7.0.27-1.el7.x86_64
    rh-php70-php-mysqlnd-7.0.27-1.el7.x86_64
    rh-php70-php-opcache-7.0.27-1.el7.x86_64
    rh-php70-php-pdo-7.0.27-1.el7.x86_64
    rh-php70-php-pear-1.10.1-3.el7.noarch
    rh-php70-php-process-7.0.27-1.el7.x86_64
    rh-php70-php-soap-7.0.27-1.el7.x86_64
    rh-php70-php-xml-7.0.27-1.el7.x86_64
    rh-php70-php-zip-7.0.27-1.el7.x86_64
    rh-php70-runtime-2.3-1.el7.x86_64
    rh-php71-php-bcmath-7.1.8-1.el7.x86_64
    rh-php71-php-cli-7.1.8-1.el7.x86_64
    rh-php71-php-common-7.1.8-1.el7.x86_64
    rh-php71-php-fpm-7.1.8-1.el7.x86_64
    rh-php71-php-gd-7.1.8-1.el7.x86_64
    rh-php71-php-gmp-7.1.8-1.el7.x86_64
    rh-php71-php-intl-7.1.8-1.el7.x86_64
    rh-php71-php-json-7.1.8-1.el7.x86_64
    rh-php71-php-ldap-7.1.8-1.el7.x86_64
    rh-php71-php-mbstring-7.1.8-1.el7.x86_64
    rh-php71-php-mysqlnd-7.1.8-1.el7.x86_64
    rh-php71-php-opcache-7.1.8-1.el7.x86_64
    rh-php71-php-pdo-7.1.8-1.el7.x86_64
    rh-php71-php-pear-1.10.4-1.el7.noarch
    rh-php71-php-process-7.1.8-1.el7.x86_64
    rh-php71-php-soap-7.1.8-1.el7.x86_64
    rh-php71-php-xml-7.1.8-1.el7.x86_64
    rh-php71-php-zip-7.1.8-1.el7.x86_64
    rh-php71-runtime-1-1.el7.x86_64


    # yum install nextcloud
    Loaded plugins: clearcenter-marketplace, fastestmirror
    ClearCenter Marketplace: fetching repositories...
    Loading mirror speeds from cached hostfile
    * clearos: mirror1-newyork.clearos.com
    * clearos-centos: download2.clearsdn.com
    * clearos-centos-extras: download2.clearsdn.com
    * clearos-centos-sclo-rh: download2.clearsdn.com
    * clearos-centos-updates: download2.clearsdn.com
    * clearos-centos-verified: mirror1-newyork.clearos.com
    * clearos-contribs: mirror1-newyork.clearos.com
    * clearos-epel: download2.clearsdn.com
    * clearos-epel-verified: mirror1-newyork.clearos.com
    * clearos-fast-updates: download2.clearsdn.com
    * clearos-infra: mirror1-newyork.clearos.com
    * clearos-updates: mirror1-newyork.clearos.com
    * clearos-verified: mirror1-newyork.clearos.com
    * private-clearcenter-ad: download3.clearsdn.com:80
    * private-clearcenter-antimalware: download3.clearsdn.com:80
    * private-clearcenter-antispam: download3.clearsdn.com:80
    * private-clearcenter-business: download1.clearsdn.com:80
    * private-clearcenter-dnsthingy: download3.clearsdn.com:80
    * private-clearcenter-dyndns: download2.clearsdn.com:80
    * private-clearcenter-ids: download3.clearsdn.com:80
    * private-clearcenter-kopano-basic: download1.clearsdn.com:80
    * private-clearcenter-master-slave: download1.clearsdn.com:80
    * private-clearcenter-rbs: download3.clearsdn.com:80
    * private-clearcenter-verified-updates: download4.clearsdn.com:80
    Resolving Dependencies
    --> Running transaction check
    ---> Package nextcloud.noarch 0:13.0.5-3.v7 will be installed
    --> Processing Dependency: rh-php71 for package: nextcloud-13.0.5-3.v7.noarch
    --> Running transaction check
    ---> Package rh-php71.x86_64 0:1-1.el7 will be installed
    --> Finished Dependency Resolution

    Dependencies Resolved

    ==========================================================================================================
    Package Arch Version Repository Size
    ==========================================================================================================
    Installing:
    nextcloud noarch 13.0.5-3.v7 clearos-contribs 40 M
    Installing for dependencies:
    rh-php71 x86_64 1-1.el7 clearos-centos-sclo-rh 4.1 k

    Transaction Summary
    ==========================================================================================================
    Install 1 Package (+1 Dependent package)

    Total download size: 40 M
    Installed size: 153 M
    Is this ok [y/d/N]:
    The reply is currently minimized Show
  • Accepted Answer

    Monday, April 01 2019, 07:31 PM - #Permalink
    Resolved
    0 votes
    So what shows when you do a:
    rpm -qa | grep rh-php | sort
    yum install app-nextcloud
    The reply is currently minimized Show
Your Reply