• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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
    last edited by lebrun78 Apr 13, 2018, 7:35 AM Apr 13, 2018, 1:35 PM

    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
    • W
      Wayne Workman @george1421
      last edited by Wayne Workman Apr 13, 2018, 12:51 PM Apr 13, 2018, 6:50 PM

      @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 Apr 13, 2018, 8:15 PM Reply Quote 0
      • L
        lebrun78 @Wayne Workman
        last edited by Apr 13, 2018, 8:15 PM

        @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

        W 1 Reply Last reply Apr 13, 2018, 8:22 PM Reply Quote 0
        • W
          Wayne Workman @lebrun78
          last edited by Apr 13, 2018, 8:22 PM

          @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
          • G
            george1421 Moderator
            last edited by Apr 16, 2018, 9:59 AM

            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 May 30, 2018, 7:45 AM Reply Quote 0
            • L
              lebrun78
              last edited by Apr 16, 2018, 11:56 AM

              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

              G 1 Reply Last reply Apr 16, 2018, 12:54 PM Reply Quote 0
              • G
                george1421 Moderator @lebrun78
                last edited by george1421 Apr 16, 2018, 6:54 AM Apr 16, 2018, 12:54 PM

                @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 May 30, 2018, 2:09 AM May 30, 2018, 7:45 AM

                  @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

                  G 1 Reply Last reply May 30, 2018, 9:49 AM Reply Quote 0
                  • G
                    george1421 Moderator @lebrun78
                    last edited by george1421 May 30, 2018, 3:50 AM May 30, 2018, 9:49 AM

                    @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 May 30, 2018, 9:51 AM Reply Quote 0
                    • L
                      lebrun78 @george1421
                      last edited by May 30, 2018, 9:51 AM

                      @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

                      162

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project