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

    Active Snapins

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    9
    3.8k
    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.
    • B
      Budgester
      last edited by

      I have recently upgraded to 1.1.2

      Not quite as painless as I’d hoped but most of it works well now.

      1. Task Management - Active Snapins show a massive list, probably a list of all Snapins for all computers. I was expecting it to only show the Actively being deployed snapins.

      Apache Error

      Mon Jul 07 12:04:38 2014] [error] [client 10.72.93.228] File does not exist: /var/www/favicon.ico
      [Mon Jul 07 12:07:24 2014] [error] [client 10.72.93.228] File does not exist: /var/www/fog/management/css/…, referer: [url]http://10.72.92.19/fog/management/index.php?node=tasks&sub=active-snapins[/url]

      1. After the initial upgrade
        default on the line
        chain [url]http://ip-address/fog/service/ipxe/boot.php##params[/url]
        The ip address was incorrect
      1 Reply Last reply Reply Quote 0
      • Tom ElliottT
        Tom Elliott
        last edited by

        Are these actually running properly?

        The chain [url]http://ip-address/fog/service/ipxe/boot.php##params[/url] should be correct. It should be the ipaddress you specified during the install process. If this isn’t correct, then somebody else made an error or this is a new ip address.

        Logs are logs, they’re there to help, not necessarily everything is a problem. Those particular messages are safe to ignore.

        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
        • B
          Budgester
          last edited by

          Ok it looks like it picked up some old config from

          /var/www/fog/lib/fog/Config.class.php old IP address was 10.72.92.7 current is 10.72.92.19

          I am using the latest 1.1.2

          The fog log from the workstation, where I have now managed to get everything working except the plugins…

          11/07/2014 14:21 FOG::SnapinClient Attempting to connect to fog server…
          11/07/2014 14:21 FOG::SnapinClient Module is active…
          11/07/2014 14:21 FOG::SnapinClient Snapin Found:
          11/07/2014 14:21 FOG::SnapinClient ID: 2091
          11/07/2014 14:21 FOG::SnapinClient RunWith:
          11/07/2014 14:21 FOG::SnapinClient RunWithArgs:
          11/07/2014 14:21 FOG::SnapinClient Name: Office 2010 plus Patch
          11/07/2014 14:21 FOG::SnapinClient Created: 2014-07-11 11:42:47
          11/07/2014 14:21 FOG::SnapinClient Args:
          11/07/2014 14:21 FOG::SnapinClient Reboot: No
          11/07/2014 14:21 FOG::SnapinClient Starting FOG Snapin Download
          11/07/2014 14:21 FOG::SnapinClient Download Failed; Zero size file.

          1 Reply Last reply Reply Quote 0
          • B
            Budgester
            last edited by

            Investigations so far…

            When trying to run a snapin

            The FOG Client calls
            [url]http://ip-address/fog/service/snapins.checkin.php?mac=mac-address[/url]

            This then returns a list of waiting snapin jobs for the client in the format below

            #!ok
            JOBTASKID=2091
            JOBCREATION=2014-07-11 11:42:47
            SNAPINNAME=Office 2010 plus Patch
            SNAPINARGS=
            SNAPINBOUNCE=0
            SNAPINFILENAME=Office2010_withpatch.exe
            SNAPINRUNWITH=
            SNAPINRUNWITHARGS=
            The client then calls

            [url]http://ip-address/fog/service/snapins.file.php?mac=mac-address&taskid=****[/url]

            Where the task ID was reported from the checkin.php result

            1 Reply Last reply Reply Quote 0
            • B
              Budgester
              last edited by

              In

              /var/www/fog/service/snapins.file.php

              Line 31 I changed

              $SnapinFile = rtrim($FOGCore->getSetting(‘FOG_SNAPINDIR’),‘/’).‘/’.$Snapin->get(‘file’);

              To…

              $SnapinFile = $Snapin->get(‘file’);

              As the path to the file was being included twice.

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

                In your snapin, where specify the file on the GUI, does it show the same path, or just the filename itself. This should only be the filename which is the reason you see the get of the setting.

                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
                • B
                  Budgester
                  last edited by

                  The snapin has the full path.

                  [IMG]https://lh5.googleusercontent.com/-lYDHx7_8VaQ/U8O36-CCaZI/AAAAAAAADUQ/A5iWhxYCekU/w1231-h743-no/Snapin.png[/IMG]

                  This was a plain upgrade from 0.32 where everything was working fine. So something has broken this in the 1.* series.
                  The path has the full location in the SQL record.

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

                    SVN 2052 released in an attempt to “scan” which method and where the file exists.

                    This should help your particular problem 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! 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
                    • B
                      Budgester
                      last edited by

                      Thanks I’ll get all my current requests for Snapins using my work around deployed then I’ll try out the latest SVN version.

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

                      148

                      Online

                      12.0k

                      Users

                      17.3k

                      Topics

                      155.2k

                      Posts
                      Copyright © 2012-2024 FOG Project