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

    RC10 Broken Items on upgrade

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    6
    146
    97.3k
    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.
    • Tom ElliottT
      Tom Elliott
      last edited by

      Mind running:

      wget -O /var/www/fog/lib/client/snapinclient.class.php https://raw.githubusercontent.com/FOGProject/fogproject/working-RC-11/packages/web/lib/client/snapinclient.class.php

      Then redeploy a snapin again?

      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

      adukes40A 1 Reply Last reply Reply Quote 0
      • adukes40A
        adukes40 @Tom Elliott
        last edited by

        @Tom-Elliott

        ---------------------------------SnapinClient---------------------------------

        9/15/2016 8:42 PM Client-Info Client Version: 0.11.5
        9/15/2016 8:42 PM Client-Info Client OS: Windows
        9/15/2016 8:42 PM Client-Info Server Version: 1.3.0-RC-10
        9/15/2016 8:42 PM Middleware::Response Success
        9/15/2016 8:42 PM SnapinClient Snapin Found:
        9/15/2016 8:42 PM SnapinClient ID: 11116
        9/15/2016 8:42 PM SnapinClient Name: 1-TS-SHOP
        9/15/2016 8:42 PM SnapinClient Created: 2016-09-15 20:41:58
        9/15/2016 8:42 PM SnapinClient Action:
        9/15/2016 8:42 PM SnapinClient Pack: False
        9/15/2016 8:42 PM SnapinClient Hide: False
        9/15/2016 8:42 PM SnapinClient Server:
        9/15/2016 8:42 PM SnapinClient TimeOut: 0
        9/15/2016 8:42 PM SnapinClient RunWith: powershell.exe
        9/15/2016 8:42 PM SnapinClient RunWithArgs: -ExecutionPolicy Bypass -NoProfile -File
        9/15/2016 8:42 PM SnapinClient Args:
        9/15/2016 8:42 PM SnapinClient File: TSSHOP.ps1
        9/15/2016 8:42 PM SnapinClient ERROR: Snapin hash does not exist

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

          @adukes40 said in RC10 Broken Items on upgrade:

          (also weird it says created today at 7:29, this script has been made since May/June, unless this is by design)

          pretty sure that refers to the task’s creation date/time. Like when it was deployed.

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

            @adukes40 I notice in your screenshots you’re using the location plugin. Newer FOG RC enforces location settings for snapins if the location stuff is setup. If the snapin doesn’t exist at the location server assigned to the host, it will say snapin doesn’t exist and file not found and other similar stuff.

            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/

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

              I think this is why the client updating is broke:
              https://forums.fogproject.org/topic/8586/scheduling-snapins-always-says-date-is-in-the-past

              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/

              Tom ElliottT 1 Reply Last reply Reply Quote 0
              • Wayne WorkmanW
                Wayne Workman @adukes40
                last edited by

                @adukes40 Run this command on your server and let us know what it says:
                date and also provide the exact date and time there when you run it too.

                Pay attention to the day of the month in the output. If it’s off, correct it. Then re-run the fog installer, and again check the date command and see what it says. If it’s set inaccurately - we can disable this line of code in the installer so your manual corrections work.

                This may help you on the journey:
                http://www.cyberciti.biz/faq/howto-install-ntp-to-synchronize-server-clock/

                If we can get this correct for the installer, you won’t need to manually push out the client as you were asking in chat - the fog server would be able to do it.

                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/

                adukes40A 1 Reply Last reply Reply Quote 0
                • Tom ElliottT
                  Tom Elliott @Wayne Workman
                  last edited by

                  @Wayne-Workman no it’s not. Client updating is not a fog tasking.

                  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
                  • adukes40A
                    adukes40 @Wayne Workman
                    last edited by

                    @Wayne-Workman The snapins I am trying to use exist at all locations.

                    1 Reply Last reply Reply Quote 0
                    • adukes40A
                      adukes40 @Wayne Workman
                      last edited by

                      @Wayne-Workman running Date give me:

                      Fri Sep 16 07:44:34 EDT 2016

                      which is MAYBE 1-2 seconds off from my machine.

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

                        @adukes40 the wget command, can you run that on all your nodes and try again?

                        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

                        adukes40A 1 Reply Last reply Reply Quote 0
                        • adukes40A
                          adukes40 @Tom Elliott
                          last edited by

                          @Tom-Elliott Still just sit in Queued, and Snapin hash still remains blank. also running at the master site and a node site.

                          0_1474028478436_upload-853963db-f42a-4a27-8ad0-91aaf8bce51c

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

                            @adukes40 are you semi familiar with git?

                            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

                            adukes40A 1 Reply Last reply Reply Quote 0
                            • adukes40A
                              adukes40 @Tom Elliott
                              last edited by adukes40

                              @Tom-Elliott not really, but Wayne gave me some instructions way back in the thread.

                              But I will do what ever is needed.

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

                                @adukes40 Please run:

                                git clone https://github.com/fogproject/fogproject.git
                                cd fogproject
                                git checkout working-RC-11
                                cd bin
                                installfog.sh -y

                                I don’t want everybody doing this, just @adukes40 please.

                                Please do this for all your nodes? Replication is not the issue with the load and that was corrected for with disabling auto update which should remain as it currently is. I’m trying to see if something is corrected in the working branch which is making my debugging that much harder.

                                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

                                adukes40A 1 Reply Last reply Reply Quote 0
                                • adukes40A
                                  adukes40 @Tom Elliott
                                  last edited by

                                  @Tom-Elliott OK, all sites are updated, FOG GUI is showing

                                  0_1474032707824_upload-6b6b9a25-330f-4b09-b1cb-c35ec81f44f3

                                  Also see this, not sure if concerning or not:
                                  0_1474032866965_upload-47562514-4b3c-4ada-b27e-6958c076b0e7

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

                                    @adukes40 the version message is fine.

                                    What is concerning is the tasks, but you have setup all hosts to do all snapins, or all hosts do one snapin, or one host does all snapins?

                                    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

                                    adukes40A 1 Reply Last reply Reply Quote 0
                                    • adukes40A
                                      adukes40 @Tom Elliott
                                      last edited by

                                      @Tom-Elliott I have no tasks currently. I cant do all machine, but I can take a machine and push all snapins to it, or at least attempt to.

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

                                        @adukes40 to clean up bad tasks then just run mysql command like:

                                        update tasks set taskStateID=5 where taskStateID < 4;
                                        Truncate table snapinJobs;
                                        Truncate table snapinTasks;
                                        

                                        Then the dashboard should look better I hope.

                                        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

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

                                          @adukes40 yes one machine all snapins would be best.

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

                                            @Tom-Elliott mysql> update tasks set taskStateID=5 where taskStateID < 4;
                                            Query OK, 0 rows affected (0.00 sec)
                                            Rows matched: 0 Changed: 0 Warnings: 0

                                            mysql> Truncate table snapinJobs;
                                            Query OK, 0 rows affected (0.04 sec)

                                            mysql> Truncate table snapinTasks;
                                            Query OK, 0 rows affected (0.08 sec)

                                            But still shows 476 on dashboard 😞

                                            Tom ElliottT 1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 6
                                            • 7
                                            • 8
                                            • 7 / 8
                                            • First post
                                              Last post

                                            156

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project