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

    Updating Fog from 1.4.4 to 1.5.2 or 1.5.3 = fail on EL 6.9

    Scheduled Pinned Locked Moved
    General Problems
    4
    11
    2.1k
    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.
    • lepageL
      lepage
      last edited by

      If I fail to find a solution today I will revert to 1.4.4 for now.

      1 Reply Last reply Reply Quote 0
      • Wayne WorkmanW
        Wayne Workman @lepage
        last edited by

        @lepage said in Updating Fog from 1.4.4 to 1.5.2 or 1.5.3 = fail:

        OS is Scientific Linux 6.9 updated.

        Scientific Linux is not officially supported. See the link in my signature for what the installer currently works for.

        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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        1 Reply Last reply Reply Quote 0
        • lepageL
          lepage
          last edited by lepage

          Scientific Linux is the exact same as CentOS 6.9. Binary, source& config compatible… it’s the source from Red Hat EL6.9… there is also the fact that is was working for years.

          @wayne-workman unless you mean that CentOS 6x and EL 6x altogether is also not supported by fog 1.5.x and from your link this is what I understand.

          in that case FOG should not offer that update or the readme should, maybe mention it.

          george1421G Tom ElliottT 2 Replies Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @lepage
            last edited by

            @lepage Centos 6.x has an issue with the newer php-fpm engine. You will need to switch back to the apache-php engine to install fog 1.5.2 or later on centos 6.9

            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!

            george1421G 1 Reply Last reply Reply Quote 1
            • Tom ElliottT
              Tom Elliott @lepage
              last edited by

              @lepage I’ve never tested on SL though it should work. Can you please ensure remi repository is installed and verify your php version?

              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
              • george1421G
                george1421 Moderator @george1421
                last edited by george1421

                You will need to do this by hand,

                1. cd /etc/httpd
                2. We are looking for a file that contains this text
                  grep -R -e "127.0.0.1:9000" *
                3. Once you locate that file open it with your editor.
                4. Search for these lines
                #SetHandler application/x-httpd-php
                SetHandler "proxy:fcgi://127.0.0.1:9000"
                
                1. Uncomment the first line and then place the comment (hash tag) in front of the other line to make them look like this:
                SetHandler application/x-httpd-php
                #SetHandler "proxy:fcgi://127.0.0.1:9000"
                
                1. Save and exit your editor.
                2. Restart apache
                  service httpd restart
                3. Now try to go to the management page.

                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!

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

                  @Developers we may need to have the FOG installer bypass setting up php-fpm on RHEL 6 derivative operating systems. I was able to help the OP get his install up and running using the reversing steps below.

                  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
                  • Tom ElliottT
                    Tom Elliott @george1421
                    last edited by

                    @george1421 I’ve added a check to the working branch that will check if Redhat and if OS Version is < 7. If so, it will set the handler to the application/x-httpd-php, otherwise set as FPM. Mind testing it for me at all? (Anybody can do it, I don’t have a CentOS 6 or earlier to test with myself right now.)

                    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

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

                      @tom-elliott Thank you for the quick response. It looks like I wiped my centos 6 vm, but I can spin up a new one and confirm its working.

                      Also the OP mentioned that the new UI on his mobile running chromium under android gave a strange web page. I need to find my android tablet to see what’s up with that.

                      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
                      • lepageL
                        lepage
                        last edited by lepage

                        @tom-elliott I am willing to try I am already at 1.5.3 on SL69…

                        so writing with george1421… I issued those commands.:

                        git clone https://github.com/FOGProject/fogproject.git
                        cd fogproject
                        git checkout working
                        cd bin
                        [root@fog:/opt/fogproject/bin ]% ./installfog.sh
                        installing…

                        Yes. it is working !
                        file /etc/httpd/conf.d/fog.conf was rewritten correctly.

                        then I switched back to the master
                        git checkout master
                        thank you all.

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

                        186

                        Online

                        12.1k

                        Users

                        17.3k

                        Topics

                        155.4k

                        Posts
                        Copyright © 2012-2024 FOG Project