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

    upgrading fog on a standalone network

    Scheduled Pinned Locked Moved
    General
    7
    32
    9.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.
    • F
      fredlwal @george1421
      last edited by

      @george1421 fredlwal less than a minute from now
      How would I go about saving my standalone network settings and then changing it back after the upgrade? For example turn off dhcp and static ip and just pull from the internal network.

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

        @fredlwal What OS is your fog server running?

        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/

        F 1 Reply Last reply Reply Quote 0
        • F
          fredlwal @Wayne Workman
          last edited by

          @Wayne-Workman ubuntu server 14

          george1421G Wayne WorkmanW F 3 Replies Last reply Reply Quote 0
          • george1421G
            george1421 Moderator @fredlwal
            last edited by george1421

            @fredlwal Do you have the capabilities to add a second network card for the duration of the upgrade?

            I just remembered, there is a chance of a negative impact if you change IP addresses after fog is (re)installed. You may also need to download Wayne’s script for updating the FOG IP settings while you are connected to the internet.

            https://help.ubuntu.com/stable/ubuntu-help/net-manual.html

            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
            • Wayne WorkmanW
              Wayne Workman @fredlwal
              last edited by Wayne Workman

              @fredlwal If you don’t have a gui installed, the configuration you would change is in /etc/network/interfaces here are a few good links on it:
              https://www.cyberciti.biz/faq/setting-up-an-network-interfaces-file/
              https://wiki.debian.org/NetworkConfiguration
              http://manpages.ubuntu.com/manpages/precise/man5/interfaces.5.html
              http://askubuntu.com/questions/431682/how-do-i-use-etc-network-interfaces-instead-of-network-manager

              If you can manage to successfully change your OS’s IP and get it on the network with internet, you would then run the newer fog installer, then bring it back to the standalone network. You can either follow this article to change the IP settings in FOG back to the stand-alone stuff, or you can use the updateIP tool to do it for you which would also correct dhcp on the box too.

              Changing FOG Server IP addresses isn’t light work for someone who’s not done it before, hence the tool.

              For ease, like George said it’d be easier to just put in a second NIC so this is solved in the future more easily.

              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/

              F 1 Reply Last reply Reply Quote 0
              • F
                fredlwal @Wayne Workman
                last edited by

                @Wayne-Workman I was able to turn on the second network card and now i’m on. what’s the article for upgrading the fog?

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

                  @fredlwal said in upgrading fog on a standalone network:

                  what’s the article for upgrading the fog?

                  It’s always been this: https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_trunk

                  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
                  • F
                    fredlwal @fredlwal
                    last edited by

                    @Wayne-Workman link text

                    How do I get certs to push down to the server so I can get this to work?

                    Q 1 Reply Last reply Reply Quote 0
                    • Q
                      Quazz Moderator @fredlwal
                      last edited by

                      @fredlwal What certs are you talking about? No certs are needed to clone the git repository.

                      F 1 Reply Last reply Reply Quote 0
                      • F
                        fredlwal @Quazz
                        last edited by

                        @Quazz CA certs

                        Q 1 Reply Last reply Reply Quote 0
                        • Q
                          Quazz Moderator @fredlwal
                          last edited by

                          @fredlwal I’m guessing git is complaining?

                          Try doing

                          git config --global http.sslVerify false
                          

                          Then try cloning the repository again.

                          F 1 Reply Last reply Reply Quote 1
                          • F
                            fredlwal @Quazz
                            last edited by fredlwal

                            @Quazz @Wayne-Workman that part worked but now the repository failed during installation , here is a screen shot.
                            https://goo.gl/photos/Pi32rSCFdQstQcPw8

                            Q Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                            • Q
                              Quazz Moderator @fredlwal
                              last edited by

                              @fredlwal Please run

                              apt-get install software-properties-common
                              

                              And try again.

                              If it still doesn’t work, please post the error-log in the your git folder/bin/error_logs/ here

                              F 1 Reply Last reply Reply Quote 1
                              • Wayne WorkmanW
                                Wayne Workman @fredlwal
                                last edited by

                                @fredlwal Sounds like you have a proxy or web filter that is doing some sort of wild DNS redirecting or web caching. others have had this issue in the past with the same two errors you just described.

                                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/

                                Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                • F
                                  fredlwal @Quazz
                                  last edited by

                                  @Quazz for some reason I don’t see error_logs folder, where else could I look?

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Sebastian Roth Moderator
                                    last edited by

                                    @fredlwal Within your ~/project/bin directory you should have error_logs dir containing log files: ~/project/bin/error_logs/...

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

                                      @Sebastian-Roth Assuming the OP used git to replicate the fogproject repository as well as followed the instructions from the wiki page. Would the proper path be /opt/fogproject/bin/error_logs to find the log files?

                                      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 1
                                      • S
                                        Sebastian Roth Moderator
                                        last edited by

                                        According to the screenshot the OP posted…

                                        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 F 2 Replies Last reply Reply Quote 0
                                        • george1421G
                                          george1421 Moderator @Sebastian Roth
                                          last edited by

                                          @Sebastian-Roth said in upgrading fog on a standalone network:

                                          According to the screenshot the OP posted…

                                          mea culpa

                                          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
                                          • F
                                            fredlwal @Sebastian Roth
                                            last edited by

                                            /usr/bin/lsb_release
                                            Reading package lists…
                                            Building dependency tree…
                                            Reading state information…
                                            software-properties-common is already the newest version.
                                            python-software-properties is already the newest version.
                                            The following packages were automatically installed and are no longer required:
                                            libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
                                            Use ‘apt-get autoremove’ to remove them.
                                            0 upgraded, 0 newly installed, 0 to remove and 541 not upgraded.
                                            3 Feb 13:08:31 ntpdate[5150]: adjust time server 108.61.73.244 offset 0.188048 sec
                                            Cannot add PPA: ‘ppa:ondrej/php’.
                                            Please check that the PPA name or format is correct.
                                            Cannot add PPA: ‘ppa:ondrej/apache2’.
                                            Please check that the PPA name or format is correct.
                                            Ign http://us.archive.ubuntu.com trusty InRelease
                                            Get:1 http://us.archive.ubuntu.com trusty-updates InRelease [65.9 kB]
                                            Ign http://extras.ubuntu.com trusty InRelease
                                            Get:2 http://security.ubuntu.com trusty-security InRelease [65.9 kB]
                                            Hit http://extras.ubuntu.com trusty Release.gpg
                                            Hit http://us.archive.ubuntu.com trusty-backports InRelease
                                            Hit http://us.archive.ubuntu.com trusty Release.gpg
                                            Hit http://extras.ubuntu.com trusty Release
                                            Get:3 http://us.archive.ubuntu.com trusty-updates/main Sources [390 kB]
                                            Hit http://extras.ubuntu.com trusty/main Sources
                                            Hit http://extras.ubuntu.com trusty/main i386 Packages
                                            Get:4 http://us.archive.ubuntu.com trusty-updates/restricted Sources [5,911 B]
                                            Get:5 http://us.archive.ubuntu.com trusty-updates/universe Sources [173 kB]
                                            Get:6 http://security.ubuntu.com trusty-security/main Sources [124 kB]
                                            Get:7 http://us.archive.ubuntu.com trusty-updates/multiverse Sources [7,535 B]
                                            Get:8 http://us.archive.ubuntu.com trusty-updates/main i386 Packages [904 kB]
                                            Ign http://extras.ubuntu.com trusty/main Translation-en_US
                                            Ign http://extras.ubuntu.com trusty/main Translation-en
                                            Get:9 http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages [16.2 kB]
                                            Get:10 http://us.archive.ubuntu.com trusty-updates/universe i386 Packages [398 kB]
                                            Get:11 http://security.ubuntu.com trusty-security/restricted Sources [4,637 B]
                                            Get:12 http://security.ubuntu.com trusty-security/universe Sources [48.6 kB]
                                            Get:13 http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages [14.4 kB]
                                            Get:14 http://us.archive.ubuntu.com trusty-updates/main Translation-en [465 kB]
                                            Get:15 http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en [7,340 B]
                                            Get:16 http://security.ubuntu.com trusty-security/multiverse Sources [3,208 B]
                                            Get:17 http://us.archive.ubuntu.com trusty-updates/restricted Translation-en [3,847 B]
                                            Get:18 http://us.archive.ubuntu.com trusty-updates/universe Translation-en [210 kB]
                                            Get:19 http://security.ubuntu.com trusty-security/main i386 Packages [539 kB]
                                            Hit http://us.archive.ubuntu.com trusty-backports/main Sources
                                            Hit http://us.archive.ubuntu.com trusty-backports/restricted Sources
                                            Hit http://us.archive.ubuntu.com trusty-backports/universe Sources
                                            Hit http://us.archive.ubuntu.com trusty-backports/multiverse Sources
                                            Hit http://us.archive.ubuntu.com trusty-backports/main i386 Packages
                                            Hit http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages
                                            Hit http://us.archive.ubuntu.com trusty-backports/universe i386 Packages
                                            Hit http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages
                                            Hit http://us.archive.ubuntu.com trusty-backports/main Translation-en
                                            Hit http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en
                                            Hit http://us.archive.ubuntu.com trusty-backports/restricted Translation-en
                                            Hit http://us.archive.ubuntu.com trusty-backports/universe Translation-en
                                            Hit http://us.archive.ubuntu.com trusty Release
                                            Hit http://us.archive.ubuntu.com trusty/main Sources
                                            Hit http://us.archive.ubuntu.com trusty/restricted Sources
                                            Hit http://us.archive.ubuntu.com trusty/universe Sources
                                            Hit http://us.archive.ubuntu.com trusty/multiverse Sources
                                            Hit http://us.archive.ubuntu.com trusty/main i386 Packages
                                            Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages
                                            Hit http://us.archive.ubuntu.com trusty/universe i386 Packages
                                            Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages
                                            Hit http://us.archive.ubuntu.com trusty/main Translation-en
                                            Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en
                                            Hit http://us.archive.ubuntu.com trusty/restricted Translation-en
                                            Hit http://us.archive.ubuntu.com trusty/universe Translation-en
                                            Get:20 http://security.ubuntu.com trusty-security/restricted i386 Packages [13.1 kB]
                                            Get:21 http://security.ubuntu.com trusty-security/universe i386 Packages [151 kB]
                                            Ign http://us.archive.ubuntu.com trusty/main Translation-en_US
                                            Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US
                                            Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US
                                            Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US
                                            Get:22 http://security.ubuntu.com trusty-security/multiverse i386 Packages [4,284 B]
                                            Hit http://security.ubuntu.com trusty-security/main Translation-en
                                            Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
                                            Hit http://security.ubuntu.com trusty-security/restricted Translation-en
                                            Hit http://security.ubuntu.com trusty-security/universe Translation-en
                                            Fetched 3,615 kB in 12s (286 kB/s)
                                            Reading package lists…
                                            Reading package lists…
                                            Building dependency tree…
                                            Reading state information…
                                            ntpdate is already the newest version.
                                            python-software-properties is already the newest version.
                                            The following packages were automatically installed and are no longer required:
                                            libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
                                            Use ‘apt-get autoremove’ to remove them.
                                            0 upgraded, 0 newly installed, 0 to remove and 541 not upgraded.
                                            3 Feb 13:09:00 ntpdate[5190]: adjust time server 171.66.97.126 offset 0.175315 sec
                                            Generating locales…
                                            en_US.UTF-8… up-to-date
                                            Generation complete.
                                            Cannot add PPA: ‘ppa:ondrej/php’.
                                            Please check that the PPA name or format is correct.
                                            Hit http://security.ubuntu.com trusty-security InRelease
                                            Hit http://security.ubuntu.com trusty-security/main Sources
                                            Hit http://security.ubuntu.com trusty-security/restricted Sources
                                            Ign http://us.archive.ubuntu.com trusty InRelease
                                            Hit http://security.ubuntu.com trusty-security/universe Sources
                                            Hit http://security.ubuntu.com trusty-security/multiverse Sources
                                            Hit http://us.archive.ubuntu.com trusty-updates InRelease
                                            Hit http://security.ubuntu.com trusty-security/main i386 Packages
                                            Hit http://security.ubuntu.com trusty-security/restricted i386 Packages
                                            Hit http://security.ubuntu.com trusty-security/universe i386 Packages
                                            Hit http://security.ubuntu.com trusty-security/multiverse i386 Packages
                                            Hit http://us.archive.ubuntu.com trusty-backports InRelease
                                            Hit http://us.archive.ubuntu.com trusty Release.gpg
                                            Hit http://us.archive.ubuntu.com trusty-updates/main Sources
                                            Hit http://us.archive.ubuntu.com trusty-updates/restricted Sources
                                            Ign http://extras.ubuntu.com trusty InRelease
                                            Hit http://us.archive.ubuntu.com trusty-updates/universe Sources
                                            Hit http://us.archive.ubuntu.com trusty-updates/multiverse Sources
                                            Hit http://us.archive.ubuntu.com trusty-updates/main i386 Packages
                                            Hit http://us.archive.ubuntu.com trusty-updates/restricted i386 Packages
                                            Hit http://us.archive.ubuntu.com trusty-updates/universe i386 Packages
                                            Hit http://us.archive.ubuntu.com trusty-updates/multiverse i386 Packages
                                            Hit http://us.archive.ubuntu.com trusty-updates/main Translation-en
                                            Hit http://us.archive.ubuntu.com trusty-updates/multiverse Translation-en
                                            Hit http://us.archive.ubuntu.com trusty-updates/restricted Translation-en
                                            Hit http://us.archive.ubuntu.com trusty-updates/universe Translation-en
                                            Hit http://extras.ubuntu.com trusty Release.gpg
                                            Hit http://security.ubuntu.com trusty-security/main Translation-en
                                            Hit http://us.archive.ubuntu.com trusty Release
                                            Hit http://us.archive.ubuntu.com trusty-backports/main Sources
                                            Hit http://extras.ubuntu.com trusty Release
                                            Hit http://us.archive.ubuntu.com trusty-backports/restricted Sources
                                            Hit http://security.ubuntu.com trusty-security/multiverse Translation-en
                                            Hit http://us.archive.ubuntu.com trusty-backports/universe Sources
                                            Hit http://us.archive.ubuntu.com trusty-backports/multiverse Sources
                                            Hit http://extras.ubuntu.com trusty/main Sources
                                            Hit http://us.archive.ubuntu.com trusty-backports/main i386 Packages
                                            Hit http://security.ubuntu.com trusty-security/restricted Translation-en
                                            Hit http://us.archive.ubuntu.com trusty-backports/restricted i386 Packages
                                            Hit http://extras.ubuntu.com trusty/main i386 Packages
                                            Hit http://us.archive.ubuntu.com trusty-backports/universe i386 Packages
                                            Hit http://security.ubuntu.com trusty-security/universe Translation-en
                                            Hit http://us.archive.ubuntu.com trusty-backports/multiverse i386 Packages
                                            Hit http://us.archive.ubuntu.com trusty-backports/main Translation-en
                                            Hit http://us.archive.ubuntu.com trusty-backports/multiverse Translation-en
                                            Hit http://us.archive.ubuntu.com trusty-backports/restricted Translation-en
                                            Hit http://us.archive.ubuntu.com trusty-backports/universe Translation-en
                                            Hit http://us.archive.ubuntu.com trusty/main Sources
                                            Hit http://us.archive.ubuntu.com trusty/restricted Sources
                                            Hit http://us.archive.ubuntu.com trusty/universe Sources
                                            Hit http://us.archive.ubuntu.com trusty/multiverse Sources
                                            Hit http://us.archive.ubuntu.com trusty/main i386 Packages
                                            Hit http://us.archive.ubuntu.com trusty/restricted i386 Packages
                                            Hit http://us.archive.ubuntu.com trusty/universe i386 Packages
                                            Hit http://us.archive.ubuntu.com trusty/multiverse i386 Packages
                                            Hit http://us.archive.ubuntu.com trusty/main Translation-en
                                            Hit http://us.archive.ubuntu.com trusty/multiverse Translation-en
                                            Hit http://us.archive.ubuntu.com trusty/restricted Translation-en
                                            Hit http://us.archive.ubuntu.com trusty/universe Translation-en
                                            Ign http://extras.ubuntu.com trusty/main Translation-en_US
                                            Ign http://extras.ubuntu.com trusty/main Translation-en
                                            Ign http://us.archive.ubuntu.com trusty/main Translation-en_US
                                            Ign http://us.archive.ubuntu.com trusty/multiverse Translation-en_US
                                            Ign http://us.archive.ubuntu.com trusty/restricted Translation-en_US
                                            Ign http://us.archive.ubuntu.com trusty/universe Translation-en_US
                                            Reading package lists…
                                            Reading package lists…
                                            Building dependency tree…
                                            Reading state information…
                                            ntpdate is already the newest version.
                                            software-properties-common is already the newest version.
                                            python-software-properties is already the newest version.
                                            The following packages were automatically installed and are no longer required:
                                            libapr1 libaprutil1 libaprutil1-dbd-sqlite3 libaprutil1-ldap
                                            Use ‘apt-get autoremove’ to remove them.
                                            0 upgraded, 0 newly installed, 0 to remove and 541 not upgraded.
                                            3 Feb 13:09:30 ntpdate[5324]: adjust time server 171.66.97.126 offset 0.161436 sec
                                            Generating locales…
                                            en_US.UTF-8… up-to-date
                                            Generation complete.
                                            Cannot add PPA: ‘ppa:ondrej/php’.
                                            Please check that the PPA name or format is correct.
                                            root@fogsrv1:~/fogproject/bin/error_logs#

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

                                            186

                                            Online

                                            12.1k

                                            Users

                                            17.3k

                                            Topics

                                            155.3k

                                            Posts
                                            Copyright © 2012-2024 FOG Project