• 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

      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
      • THEMCVT
        THEMCV
        last edited by

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

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

            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/

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

              @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

                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

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

                  @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
                  • First post
                    Last post

                  147

                  Online

                  12.0k

                  Users

                  17.3k

                  Topics

                  155.2k

                  Posts
                  Copyright © 2012-2024 FOG Project