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

    Problem during upgrade from 1.5.0 to 1.5.2

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    3
    23
    2.9k
    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.
    • L
      lebrun78 @george1421
      last edited by

      @george1421
      That seems to be working :

       netstat -natp |grep 9000
      tcp        0      0 127.0.0.1:9000              0.0.0.0:*                   LISTEN      4837/php-fpm ```

      Fog Version: Fog 1.5.10
      Server OS: AlmaLinux release 8.8

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

        I guess I need to debug this in my home lab. I did just happen to spin up a centos 6.9 instance last night to compile dnsmasq under centos 6.9. I guess I can install FOG on it and see if I get the same results. What you are saying doesn’t connect the dots. It appears everything is running, and yet its not.

        Just for clarity you only have FOG running on the fog server, its not shared with another service right?

        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
        • L
          lebrun78
          last edited by lebrun78

          Yes only one fog server on this computer (libvirt virtual machine)

          Fog Version: Fog 1.5.10
          Server OS: AlmaLinux release 8.8

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

            @george1421 said in Problem during upgrade from 1.5.0 to 1.5.2:

            @lebrun78 it doesn’t even display just the php code? That IS very strange.

            Permissions…

            @lebrun78 Set the ownership of the file to apache:apache and see what happens. Also, you put the file inside of /var/www/html right? Or was it just /var/www on centos 6? idk.

            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/

            L 1 Reply Last reply Reply Quote 0
            • L
              lebrun78 @Wayne Workman
              last edited by

              @wayne-workman
              For the test /var/www/html/fog/phpinfo.php I set apache.apache and 775.
              It did not work better

              Fog Version: Fog 1.5.10
              Server OS: AlmaLinux release 8.8

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

                @lebrun78 Try to temporarily turn off SELinux with setenforce 0

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

                  I confirmed that this happens with FOG 1.5.1 or 1.5.2 running on Centos 6.9. I didn’t have time this weekend to fully debug but I have a short term work around.

                  1. Install FOG until it says to connect to the web management page to update the database.

                  2. Open a second connection to your fog server, for example using putty. The idea is to keep the installer waiting for you to update the database while you make this adjustment.

                  3. Update the following file: /etc/httpd/conf.d/fog.conf

                  4. Update the code to look like this. We need to comment out instruction to use php-fpm and to reenable the apache internal php engine.

                  <VirtualHost *:80>
                      <FilesMatch "\.php$">
                          #SetHandler "proxy:fcgi://127.0.0.1:9000/"
                          SetHandler application/x-httpd-php
                      </FilesMatch>
                      KeepAlive Off
                      ServerName 148.60.15.217
                  
                  1. Save and exit your text editor
                  2. Restart apache service httpd restart
                  3. Return to the web browser and access the management page to update the database as normal.
                  4. Finish the FOG setup in the first window where you started the FOG installation.
                  5. Done.

                  I’m going to look into why this is happening. I just didn’t have as much extra time this weekend to understand why.

                  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!

                  L 1 Reply Last reply Reply Quote 0
                  • L
                    lebrun78
                    last edited by

                    Thank you George, it works.
                    I have just add the line “SetHandler application/x-httpd-php”

                    Fog Version: Fog 1.5.10
                    Server OS: AlmaLinux release 8.8

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

                      @lebrun78 Make sure you comment out the “proxy:fcgi://127.0.0.1:9000/” entire line or you may get unexpected results. The pound (hashtag) at the start of the line indicates it commented out.

                      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
                      • L
                        lebrun78 @george1421
                        last edited by lebrun78

                        @george1421
                        Hello,
                        This problem reapair updating to 1.5.3 on my test server running with centos 6.9.
                        The solution you proposed is always available.

                        Thank you for you work

                        Fog Version: Fog 1.5.10
                        Server OS: AlmaLinux release 8.8

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

                          @lebrun78 Just to let you know the developers added this function to what will be FOG 1.5.4 (when it is released) so you will not have to do this patch in the future.

                          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!

                          L 1 Reply Last reply Reply Quote 0
                          • L
                            lebrun78 @george1421
                            last edited by

                            @george1421
                            Ok great

                            Fog Version: Fog 1.5.10
                            Server OS: AlmaLinux release 8.8

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

                            154

                            Online

                            12.0k

                            Users

                            17.3k

                            Topics

                            155.2k

                            Posts
                            Copyright © 2012-2024 FOG Project