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

    Fog Upgrade Problems

    Scheduled Pinned Locked Moved
    FOG Problems
    3
    30
    6.6k
    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.
    • G
      garysaxon @george1421
      last edited by

      @george1421

      That did not Work. This is what I get.

      0_1493646690572_upload-0084eb2f-ee69-47ec-b37f-3ad155c8e97a

      Tom ElliottT 2 Replies Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott @garysaxon
        last edited by

        @garysaxon Can you move the /opt/fogproject to say /root/ and run the installer?

        This shouldn’t be a problem, but fog does move files in and out of /opt so I think it’s relatively safe to have this as a “safety net” just in case something does go awry.

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

          I will work on that portion of the installer too, just because I know most of the instructions in the WIKI still recommend working from /opt.

          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 george1421

            @Tom-Elliott That is a bogus message. I ALWAYS setup the fogproject folder under /opt and that message the OP posted has never been displayed. Granted I use RHEL, but still what is causing that error??

            The OP is logged in as root, I assume that sudo ./installfog.sh is being used to invoke the setup.

            … thinking a bit more, could there be something in the .fogsettings causing this message?

            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 @garysaxon
              last edited by

              @garysaxon How, exactly, are you running the installer?

              The only time that message get’s displayed is if the webdirdest is used (/var/www/fog) or tftpdirdest locations (usually /tftpboot), but the “Answer not recognized” might be not allowing the rest of the system to even make it that far (making webdirdest and tftpdirdest blank). Essentially making the check look at ‘|’)

              Please run as root, and ensure your installer is set with ./installfog.sh -y

              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

              G george1421G 2 Replies Last reply Reply Quote 0
              • G
                garysaxon @Tom Elliott
                last edited by

                @Tom-Elliott

                I get the same error message

                Tom ElliottT 1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott @garysaxon
                  last edited by

                  @garysaxon Then something is not right with your setup.

                  Can you show us exactly what you’re doing?

                  The “Answer not recognized” is likely a part of the problem.

                  How are you running the installer?

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

                    @Tom-Elliott would posting the .fogsettings file be of any help (of course with the passwords removed)? Maybe the sins of the OP’s past are coming back to haunt him.

                    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 G 2 Replies Last reply Reply Quote 0
                    • Tom ElliottT
                      Tom Elliott @george1421
                      last edited by

                      @george1421 It’d be worth while sure. But from what I can tell, it’s not even making it that far, currently.

                      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
                      • G
                        garysaxon @george1421
                        last edited by

                        @george1421

                        Where is that file located?

                        Tom ElliottT george1421G 2 Replies Last reply Reply Quote 0
                        • Tom ElliottT
                          Tom Elliott @garysaxon
                          last edited by

                          @garysaxon Can you PLEASE tell us exactly how you’re running the installer first?

                          The location of the file is /opt/fog/.fogsettings

                          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 @garysaxon
                            last edited by

                            @garysaxon I know its probably much, but can we get a screen shot or image of the command line you are using before you press the enter key? We have to rule out the obvious stuff before going to dig under the hood.

                            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!

                            G 1 Reply Last reply Reply Quote 0
                            • G
                              garysaxon @george1421
                              last edited by

                              @george1421

                              I have tried several diffent waysbut all come back with same error: Here are the commands I tried first

                              cd /opt
                              sudo wget http://downloads.sourceforge.net/freeghost/fog_1.3.5.tar.gz
                              sudo tar -xvzf fog_1.3.5.tar.gz
                              cd fog_1.3.5/
                              cd bin
                              sudo ./installfog.sh

                              G Tom ElliottT 2 Replies Last reply Reply Quote 0
                              • G
                                garysaxon @garysaxon
                                last edited by

                                @garysaxon

                                I also tried :

                                sudo -i
                                git clone https://github.com/FOGProject/fogproject.git /opt/fogproject
                                cd /opt/fogproject
                                git checkout dev-branch
                                cd bin
                                ./installfog.sh

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

                                  @garysaxon Please run the git form.

                                  sudo -i
                                  cd /opt/fogproject
                                  git pull
                                  git checkout dev-branch
                                  git pull
                                  cd bin
                                  ./installfog.sh -y
                                  

                                  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

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

                                    @garysaxon Taking this a slightly different direction: What operating system is the FOG server using?

                                    The commands you are using ARE the right ones. So the error message is not easy to understand. We need to look about for another reason.

                                    Once you try Tom’s commands the next step is seeing what is in the .fogsettings file.

                                    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!

                                    G 1 Reply Last reply Reply Quote 0
                                    • G
                                      garysaxon @Tom Elliott
                                      last edited by

                                      @Tom-Elliott

                                      Same error with those commands

                                      Tom ElliottT 1 Reply Last reply Reply Quote 0
                                      • Tom ElliottT
                                        Tom Elliott @garysaxon
                                        last edited by

                                        @garysaxon
                                        What’s output of:

                                        cat /opt/fog/.fogsettings | grep 'osid='
                                        

                                        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
                                        • G
                                          garysaxon @george1421
                                          last edited by

                                          @george1421

                                          I am using ubuntu 14.04

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

                                            @Tom-Elliott OK, I think we got it going now.

                                            We first tried to get it installed before lunch. The install was running super slow and the OP had to leave for a bit so we just let it run. When he came back the install failed and the fog installer failed to write the .fogsettings file.

                                            So I deleted the installer logs and reran the installer. This time the installer ran to completion and the db schema was updated. We were able to log into the web console and I confirmed that the storage node was configured with the same password as we gave the installer. At this time fog appears to be installed and running correctly with all of the expected services up and running.

                                            You may need to see if you can trap what was going on with the .fogsettings file. The file existed but was empty ( 0 ) bytes. That empty byte file is where I suspect the “Sorry, answer not recognized” message was coming from (nothing to parse).

                                            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!

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

                                            259

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project