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

Snapins not working properly

Scheduled Pinned Locked Moved Solved
FOG Problems
5
12
4.2k
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.
  • W
    Wayne Workman @msaglioc99
    last edited by Wayne Workman Jul 12, 2017, 5:58 PM Jul 12, 2017, 11:58 PM

    @msaglioc99 This is most likely an issue with how you’re configuring the snapin. Have you looked over the examples here: https://wiki.fogproject.org/wiki/index.php?title=Snapin_Examples

    For us to really help you get started with Snapins, we need to know what it is your trying to do with snapins, the files you’re working with, where they are, etc.

    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/

    M 1 Reply Last reply Jul 13, 2017, 1:14 PM Reply Quote 0
    • M
      msaglioc99 @Wayne Workman
      last edited by Jul 13, 2017, 1:14 PM

      @Wayne-Workman I am configuring the snapin correctly and followed the example. It works properly, i see the file placed in the TMP folder and FOG gives a message stating that the program was installed or the file was ran but any type of file (exe, msi, bat or any kind of script) is always placed in the folder but never ran/executed. This is why I believe it is a permissions issue.

      T Q 2 Replies Last reply Jul 13, 2017, 3:09 PM Reply Quote 0
      • T
        Tom Elliott @msaglioc99
        last edited by Jul 13, 2017, 3:09 PM

        @msaglioc99 I have to ask how you know it’s not being executed.

        I ask because to know absolutely if it’s being run or not (and it’s running with an expectation the snapin system doesn’t have access to from the client). Can you make your script write to a log file somewhere on the machine. If the log is generated, then you know the script IS or isn’t running absolutely. What the executable being called does is a whole different thing.

        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
        • M
          msaglioc99
          last edited by Jul 13, 2017, 3:55 PM

          @Tom-Elliott said in Snapins not working properly:

          e to ask how you know it’s not being executed.
          I ask because to know absolutely if it’s being run or not (and it’s running with an expectation the snapin system doesn’t have access to from the client). Can you make your script write to a log file somewhere on the machine. If the log is generated, then you know the script IS or isn’t running abso

          The script is not being ran. The log was not generated.

          T 1 Reply Last reply Jul 13, 2017, 4:00 PM Reply Quote 0
          • T
            Tom Elliott @msaglioc99
            last edited by Jul 13, 2017, 4:00 PM

            @msaglioc99 So your scripts are creating a log already?

            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

            M 1 Reply Last reply Jul 13, 2017, 4:02 PM Reply Quote 0
            • M
              msaglioc99 @Tom Elliott
              last edited by Jul 13, 2017, 4:02 PM

              @Tom-Elliott
              If I manually execute it creates a log file, if I deploy using FOG’s snapin feature a log is generated. Do you have a script that you can send me for a test? Or something you suggest? Something simple ? Just so we can pin point the problem.

              1 Reply Last reply Reply Quote 0
              • T
                Tom Elliott
                last edited by Jul 13, 2017, 4:10 PM

                Let’s go the simplest method.

                Edit one of your batch scripts.

                At the start have it do something like:

                echo "Snapin BLAH BLAH beginning installation" > %systemdrive%\fog_snapin_install_snapinname.log
                

                At the end, also have it run:

                echo "Snapin BLAH BLAH ending installation" > %systemdrive%\fog_snapin_install_snapinname.log
                

                Try deploying the snapin that fails. When it shows as complete, look on that system to see if the log file was generated and has what you expect.

                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 1
                • Q
                  Quazz Moderator @msaglioc99
                  last edited by Quazz Jul 14, 2017, 4:18 AM Jul 14, 2017, 10:17 AM

                  @msaglioc99 Permission issues would show up in the FOG client log.

                  That said, not all software can be installed by the SYSTEM user I believe, some require user interaction.

                  What we really need is to see what you’re actually trying to do.

                  1 Reply Last reply Reply Quote 0
                  • M
                    msaglioc99
                    last edited by Jul 14, 2017, 1:57 PM

                    I want to install MS Project 2016 @Quazz

                    B 1 Reply Last reply Jul 14, 2017, 3:11 PM Reply Quote 0
                    • B
                      BedCruncher @msaglioc99
                      last edited by Jul 14, 2017, 3:11 PM

                      @msaglioc99
                      I would suggest using the following. It works also with Office 2k16.

                      Microsoft Office Silent Install

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

                      225

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.4k

                      Posts
                      Copyright © 2012-2024 FOG Project