• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login

Php-mcrypt error

Scheduled Pinned Locked Moved Solved
Bug Reports
2
3
463
Loading More Posts
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S
    sgennadi
    last edited by Sebastian Roth Jan 17, 2019, 5:54 AM Jan 17, 2019, 11:53 AM

    Hi,
    I get error updating fog to the latest build (CentOS Linux release 7.6.1810)

     * Installation Started
    
     * Testing internet connection.................................Done
     * Adding repository if needed.................................OK
     * Preparing Package Manager...................................OK
     * Packages to be installed:
    
            bc curl gcc gcc-c++ gzip httpd lftp m4 make mariadb mariadb-server mod_ssl net-tools nfs-utils php php-bcmath php-cli php-common php-fpm ph                                                       p-gd php-mbstring php-mcrypt php-mysqlnd php-process tar tftp-server unzip vsftpd wget xinetd
    
    
     * Skipping package:   bc......................................(Already Installed)
     * Skipping package:   curl....................................(Already Installed)
     * Skipping package:   gcc.....................................(Already Installed)
     * Skipping package:   gcc-c++.................................(Already Installed)
     * Skipping package:   gzip....................................(Already Installed)
     * Skipping package:   httpd...................................(Already Installed)
     * Skipping package:   lftp....................................(Already Installed)
     * Skipping package:   m4......................................(Already Installed)
     * Skipping package:   make....................................(Already Installed)
     * Skipping package:   mariadb.................................(Already Installed)
     * Skipping package:   mariadb-server..........................(Already Installed)
     * Skipping package:   mod_ssl.................................(Already Installed)
     * Skipping package:   net-tools...............................(Already Installed)
     * Skipping package:   nfs-utils...............................(Already Installed)
     * Skipping package:   php.....................................(Already Installed)
     * Skipping package:   php-bcmath..............................(Already Installed)
     * Skipping package:   php-cli.................................(Already Installed)
     * Skipping package:   php-common..............................(Already Installed)
     * Skipping package:   php-fpm.................................(Already Installed)
     * Skipping package:   php-gd..................................(Already Installed)
     * Skipping package:   php-mbstring............................(Already Installed)
     * Installing package: php-mcrypt..............................OK
     * Skipping package:   php-mysqlnd.............................(Already Installed)
     * Skipping package:   php-process.............................(Already Installed)
     * Skipping package:   tar.....................................(Already Installed)
     * Skipping package:   tftp-server.............................(Already Installed)
     * Skipping package:   unzip...................................(Already Installed)
     * Skipping package:   vsftpd..................................(Already Installed)
     * Skipping package:   wget....................................(Already Installed)
     * Skipping package:   xinetd..................................(Already Installed)
     * Updating packages as needed.................................OK
    
     * Confirming package installation
    
     * Checking package: bc........................................OK
     * Checking package: curl......................................OK
     * Checking package: gcc.......................................OK
     * Checking package: gcc-c++...................................OK
     * Checking package: gzip......................................OK
     * Checking package: httpd.....................................OK
     * Checking package: lftp......................................OK
     * Checking package: m4........................................OK
     * Checking package: make......................................OK
     * Checking package: mariadb...................................OK
     * Checking package: mariadb-server............................OK
     * Checking package: mod_ssl...................................OK
     * Checking package: net-tools.................................OK
     * Checking package: nfs-utils.................................OK
     * Checking package: php.......................................OK
     * Checking package: php-bcmath................................OK
     * Checking package: php-cli...................................OK
     * Checking package: php-common................................OK
     * Checking package: php-fpm...................................OK
     * Checking package: php-gd....................................OK
     * Checking package: php-mbstring..............................OK
     * Checking package: php-mcrypt................................Failed!
    
    rpm -qa | grep php
    
    php-pecl-zip-1.15.4-1.el7.remi.7.2.x86_64
    php-7.2.14-1.el7.remi.x86_64
    php-gd-7.2.14-1.el7.remi.x86_64
    php-mysqlnd-7.2.14-1.el7.remi.x86_64
    php-bcmath-7.2.14-1.el7.remi.x86_64
    php-cli-7.2.14-1.el7.remi.x86_64
    php-pecl-mcrypt-1.0.2-1.el7.remi.7.2.x86_64
    php-json-7.2.14-1.el7.remi.x86_64
    php-mbstring-7.2.14-1.el7.remi.x86_64
    php-common-7.2.14-1.el7.remi.x86_64
    php-fpm-7.2.14-1.el7.remi.x86_64
    php-pdo-7.2.14-1.el7.remi.x86_64
    php-process-7.2.14-1.el7.remi.x86_64
    
    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by Jan 17, 2019, 11:58 AM

      @sgennadi Please edit your /opt/fog/.fogsettings. Probably you see php-mcrypt in the packages line. Change that to php-pecl-mcrypt or even remove that part of the packages line. Then run the installer again.

      I updated the installer to use PHP 7.2 yesterday. I had no issues when testing. But probably there are situations (from older installations) where this can cause issues. I will take a closer look later on. Thanks for reporting.

      Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

      Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Jan 18, 2019, 9:33 AM

        @sgennadi Thanks again for the report. Obviously I have missed out on purging php-mycrypt from the fogsettings automatically when we decided to not use that package for FOG anymore last Autumn. I just tested and pushed a fix to dev-branch. Please pull the latest and give it a try.

        Web GUI issue? Please check apache error (debian/ubuntu: /var/log/apache2/error.log, centos/fedora/rhel: /var/log/httpd/error_log) and php-fpm log (/var/log/php*-fpm.log)

        Please support FOG if you like it: https://wiki.fogproject.org/wiki/index.php/Support_FOG

        1 Reply Last reply Reply Quote 0
        • 1 / 1
        1 / 1
        • First post
          2/3
          Last post

        169

        Online

        12.0k

        Users

        17.3k

        Topics

        155.2k

        Posts
        Copyright © 2012-2024 FOG Project