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

Error 500 on Host Configuration after Upgrade

Scheduled Pinned Locked Moved Solved
FOG Problems
3
7
2.3k
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 Apr 7, 2016, 2:40 AM Apr 7, 2016, 8:30 AM

    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
    • T
      Tom Elliott
      last edited by Apr 7, 2016, 10:18 AM

      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
      • 3
        30000MONKEYS
        last edited by 30000MONKEYS Apr 7, 2016, 5:01 AM Apr 7, 2016, 10:55 AM

        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?

        T 1 Reply Last reply Apr 7, 2016, 11:03 AM Reply Quote 0
        • T
          Tom Elliott @30000MONKEYS
          last edited by Apr 7, 2016, 11:03 AM

          @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 Apr 7, 2016, 11:44 AM Reply Quote 0
          • 3
            30000MONKEYS @Tom Elliott
            last edited by 30000MONKEYS Apr 7, 2016, 6:35 AM Apr 7, 2016, 11:44 AM

            @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
            • S
              Sebastian Roth Moderator
              last edited by Sebastian Roth Apr 12, 2016, 6:21 PM Apr 13, 2016, 12:21 AM

              @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 Apr 13, 2016, 6:33 AM Reply Quote 1
              • 3
                30000MONKEYS @Sebastian Roth
                last edited by 30000MONKEYS Apr 13, 2016, 12:43 AM Apr 13, 2016, 6:33 AM

                @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
                • 1 / 1
                1 / 1
                • First post
                  5/7
                  Last post

                283

                Online

                12.0k

                Users

                17.3k

                Topics

                155.2k

                Posts
                Copyright © 2012-2024 FOG Project