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

    Multiple FOG installations on one server, which is which?

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    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.
    • G
      gwhitfield
      last edited by

      I installed FOG 1.2 to an Ubuntu 14.0.4 server a while back. Worked fine forever. A team mate then installed fog to /root/fogproject and had no problems but when I tried to update to the latest, the version didn’t change on the console. I evidently have two installations and the newest one isn’t the active one? How can I get the trunk install to move to the “front”? Or do I have to rebuild from scratch?

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

        This one has me a bit baffled. FOG is typically installed IN the apache root path (i.e. /var/www/html/fog/… Unless your team mate did something really creative with the apache configs having a web root path in /root/fogproject is not typical.

        Now if you upgrade to the trunk or 1.3.0-rc1/rc2 you would typically use git or svn to download the installer files and then in the ./bin folder run the installer script. If you check that /root/fogproject directory is there a bin folder just under the fogproject directory? If so that is probably the upgrade files not applied to the FOG environment.

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

          Lemme guess, Ubuntu for server OS?

          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

            Simplest fix:

            rm -rf /var/www/fog /var/www/html/fog
            cd /opt/fogproject/bin
            ./installfog.sh -y
            

            Don’t go blindly erasing stuff if you have data you really need to save out of the webdirectories, but this should get things back up and running for you.

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

              @george1421 I do have a bin folder under /root/fogproject

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

                @Tom-Elliott Not sure what info under the web folders is critical that I can’t touch it?

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

                  @gwhitfield I don’t know what you might have, but what I’m referring to would be stuff like ISO’s or something you put in the root of the web directory for FOG or something.

                  Otherwise, go ahead and wipe both those locations and rerun 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

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

                    @Tom-Elliott I didn’t intentionally put anything in there, the only additions I made were in the /images folder. I’ll try the wipe you suggested and re-install. Thanks, I’ll let you know.

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

                      @Tom-Elliott Oooops, before I do that, the trunk install was done under /root/fogproject. Am I still re-installing from /opt/fogproject or from /root/fogproject?

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

                        @gwhitfield Whatever location you want. I have no idea where you placed the folder, so mine is just a generic here’s what you can do. If you used /root/fogproject cd to bin in there and run the installfog script.

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

                          @Tom-Elliott Seems to have worked, thank you! Maybe I messed up the trunk upgrade last time somehow. Anyway, I’m showing 1.3RC now so that’s all I’m worried about

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

                          134

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project