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

Snap in issue

Scheduled Pinned Locked Moved Unsolved
FOG Problems
4
7
1.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.
  • O
    Olduser
    last edited by Dec 12, 2016, 9:03 PM

    Hello Tom,

    I have fog 1.3.0 (R26) running on Ubuntu 14.04. Everything works fine and I am trying to do snap. I created a batch file, this batch will copy 2 files from network drive and place them in windows/temp folder. Batch script work running manually.
    I created a snap in (Normal),Select Snap in Template = ’ batch script," Snap in runwth(defaulted to “cmd.exe”), uploaded the batch script, snapin Argument is blank(Like to see for the testing purpose).

    I attached to Host and from Basic Task–>Advance Task–>Single Snapin.

    It take logn to load but I get an error message ‘Hash not found’. I like through forum and followed it but no luck. I am not sure why it would not work. Any help is greatly appreciated.

    Thank you,

    Olduser

    1 Reply Last reply Reply Quote 0
    • T
      THEMCV
      last edited by Dec 12, 2016, 10:02 PM

      Reupload your file in the snap-in. Make sure your settings are right (and that the script runs silently, FOG Client doesn’t like it when snap-ins don’t) and re-upload the batch file.

      I’m guessing your file size is 0ib on the left. Try that and let me know.

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by Dec 12, 2016, 11:04 PM

        FOG Snapins are hashed automatically every 30 minutes automatically. They should also get hashed when you upload the file though. Changing out the filename though (using the Snapin Exists) mode should reset the hash to blank as the snapin contents have changed. If you wait for the 30 minutes the snapin hash should be generated.

        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
        • W
          Wayne Workman
          last edited by Dec 13, 2016, 12:42 AM

          Also it wouldn’t hurt anything to move to the latest RC as well. I don’t remember which RC the 30-minute hashing thing was added, but it wasn’t too long ago.

          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/

          T 1 Reply Last reply Dec 13, 2016, 12:45 AM Reply Quote 0
          • T
            Tom Elliott @Wayne Workman
            last edited by Dec 13, 2016, 12:45 AM

            @Wayne-Workman Just for clarity, RC-26 is when this new service was added.

            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
            • O
              Olduser
              last edited by Dec 13, 2016, 7:52 PM

              Tom,Wayne&THEMCV,

              All of you, Thank you for quick reply. I resubmitted snap in to host. Snapin showed hash file at bottom. Advanced Task showed snap queued in and Checked in but file does not displayed in [FOG_SNAPIN_PATH]. I will try to upgrade and let you know.

              Thanks,

              Olduser

              T 1 Reply Last reply Dec 13, 2016, 7:56 PM Reply Quote 0
              • T
                Tom Elliott @Olduser
                last edited by Dec 13, 2016, 7:56 PM

                @Olduser are you creating a pack or a normal 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

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

                201

                Online

                12.1k

                Users

                17.3k

                Topics

                155.3k

                Posts
                Copyright © 2012-2024 FOG Project