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

    Solved Error 500 on Host Configuration after Upgrade

    FOG Problems
    3
    7
    1976
    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.
    • 3
      30000MONKEYS last edited by 30000MONKEYS

      Hi,

      I recently upgraded FOG from 1.2 to the Git Version (7100). the Database upgrade worked fine.

      Now, when I click a Host in the Hosts-List, I’m getting an HTTP 500 Error, even on newly registered Hosts.

      It’s running on Ubuntu Server Xenial Xerus.

      Any ideas?

      EDIT: Apache2 Error.log

      [Thu Apr 07 10:37:56.758840 2016] [:error] [pid 1720] [client XX.XX.XX.XX:xxxx] PHP Fatal error:  Call to undefined function mcrypt_get_iv_size() in /var/www/html/fog/lib/fog/fogbase.class.php on line 406, referer: http://fogserver/fog/management/index.php?node=host&sub=list
      
      1 Reply Last reply Reply Quote 0
      • 3
        30000MONKEYS @Sebastian Roth last edited by 30000MONKEYS

        @Sebastian-Roth the package ist called

        php7.0-mcrypt
        

        but the problem still exists after installing.

        I’m working on a fresh install in parallel, so I think I won’t touch this one anymore. Thanks so far!

        1 Reply Last reply Reply Quote 1
        • S
          Sebastian Roth Moderator last edited by Sebastian Roth

          @30000MONKEYS Does this work for you?

          apt-get install php7-mcrypt
          

          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

          3 1 Reply Last reply Reply Quote 1
          • 3
            30000MONKEYS @Tom Elliott last edited by 30000MONKEYS

            @Tom-Elliott
            Edit: a2enmod still sais that Module mcrypt wouldn’t exist

            dpkg-query -l mcrypt
            

            and

            dpkg-query -l php5-mcrypt
            

            said it wan’t installed. i used

            apt-get install mcrypt
            

            , but the problem still exists. I also tried

            apt-get install php5-mcrypt
            

            , but it doesn’t find the package…

            1 Reply Last reply Reply Quote 0
            • Tom Elliott
              Tom Elliott @30000MONKEYS last edited by

              @30000MONKEYS It should already be installed. You can verify if it is or not though.

              Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

              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

              3 1 Reply Last reply Reply Quote 0
              • 3
                30000MONKEYS last edited by 30000MONKEYS

                root@FOGSERVER:~# a2enmod php5-mcrypt
                ERROR: Module php5-mcrypt does not exist!
                root@FOGSERVER:~# a2enmod mcrypt
                ERROR: Module mcrypt does not exist!
                

                Do I have to install php5-mcrypt?

                Tom Elliott 1 Reply Last reply Reply Quote 0
                • Tom Elliott
                  Tom Elliott last edited by

                  What happens if you run the command:

                  a2enmod php5-mcrypt or a2enmod mcrypt

                  Please help us build the FOG community with everyone involved. It's not just about coding - way more we need people to test things, update documentation and most importantly work on uniting the community of people enjoying and working on FOG! Get in contact with me (chat bubble in the top right corner) if you want to join in.

                  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
                  • First post
                    Last post

                  64
                  Online

                  10.4k
                  Users

                  16.4k
                  Topics

                  150.7k
                  Posts

                  Copyright © 2012-2023 FOG Project