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

    Can't update FOG server

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    9
    687
    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.
    • M
      merrittw
      last edited by

      I have a server that seems to be stuck on an old version. When attempting to update to the dev-branch it tells me the server is already updated.Update NES.PNG

      Then going to the server it looks like this. I have other working servers that have the updated UI so I know something is off.Web GUI NES.PNG

      I have tried switching back and forth between master and dev and both seem not to work. Here is the error log for 1.5.7.2.1.5.7.2 Log NES.PNG

      Any advice would be appreciated.

      1 Reply Last reply Reply Quote 0
      • george1421G
        george1421 Moderator
        last edited by

        What host OS and version is running on the fog server?

        Just based on the error messages you have an older version of php installed (maybe 5.6) And the fog installer is trying to update to 7.x. If I remember correctly php-bcmath was removed in version 7.x.

        IF your FOG Server host OS is older or soon to be unsupported you may be better off to spin up a new FOG server on a new host os version. There are a few steps involved here so don’t just jump right into this.

        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!

        1 Reply Last reply Reply Quote 0
        • M
          merrittw
          last edited by

          CentOS 7 (Core) Linux 3.10.0-327.e17.x86_64.

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

            @merrittw First I may ask you to post the full install error log. The part you posted is just teh beginning.

            @george1421 said:

            If I remember correctly php-bcmath was removed in version 7.x.

            I don’t think so - see here.

            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 1
            • M
              merrittw
              last edited by

              My mistake. Here is the whole thing.

              fog_error_1.5.7.2.log

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

                @merrittw Please run yum remove php-pecl-jsonc php-pecl-zip php-pecl-mcrypt php-mcrypt ; yum update as root. After that try re-running the installer. If it still fails post the new log file here as it will be a different error then.

                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

                M 1 Reply Last reply Reply Quote 0
                • M
                  merrittw @Sebastian Roth
                  last edited by

                  @Sebastian-Roth That did it! It made it all the way through the installer with no problems.

                  So I’m guessing this was do to a lack of proper updates then. Is there any sort of recommendation on what needs to be updated and how often?

                  Thanks so much!

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

                    @merrittw said in Can't update FOG server:

                    So I’m guessing this was do to a lack of proper updates then.

                    It might be but there are also some situations where our installer scripts just can’t make up for all the situations and package combinations out there.

                    Is there any sort of recommendation on what needs to be updated and how often?

                    This is not a FOG question but more a general thing. I’d update at least every month, maybe every week and on short notice if you hear about a security issue being fixed in your Linux distro’s packets.

                    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
                    • A
                      astrugatch @merrittw
                      last edited by

                      @merrittw

                      What tools are you using to manage your linux infrastructure.

                      I know Ubuntu is the bane of FOG devs but we use it in our environment because i can push updates regularly to all our hosts with Landscape.

                      1 Reply Last reply Reply Quote 1
                      • 1 / 1
                      • First post
                        Last post

                      150

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project