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

    Failed to add snapin, unable to locate snapin directory.

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    4
    10
    2.7k
    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.
    • N
      nivbehar
      last edited by

      Hey,
      First of all, thank you very much for this project!
      finally a cloning solution that works, and really easy to manage. YOU ROCK!

      Well, Im trying to add snap-in (just a test snap-in for now) of a batch file.
      This snap-in will just open google chrome on the target workstations and nothing else.
      When Im trying to add the snap-in i get an error “Failed to add snapin, unable to locate snapin directory.”
      I searched to that online, and saw some comments says to update fog.
      I just updated fog to 1.3-RC10 - didnt fixed it.

      I saw about checking all the ftp credentials - did that, and still the same. (According to this link - https://wiki.fogproject.org/wiki/index.php/Troubleshoot_FTP#Credentials_.2F_Passwords).

      I havent seen anything else online, so Im asking here for help.

      tnx again,
      Niv.

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

        I would assume if you didn’t have the correct permissions on the snapin directory, it would tell you so, but it is telling you it cannot locate it. However, IIRC, you have to update the snapins directory permissions. At least I remember having to manually change perms back when I set my server/nodes up.

        Someone want to correct me? (I don’t know if this has changed since before RC releases)

        1 Reply Last reply Reply Quote 0
        • N
          nivbehar
          last edited by

          do u mean setting permission in /opt/fog/snapins to 777 ?
          i did that too…didnt work 😞

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

            @nivbehar What about ownership? and my Perms are set to 775, but technically 777 would work. It might have been ownership

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

              Snapin paths are set per node now. Can you check on each node and validate the snapin paths?

              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

              N 1 Reply Last reply Reply Quote 0
              • N
                nivbehar
                last edited by

                do you mean “who” is the owner of the folder?
                this is how it looks like through winscp:

                0_1473947246924_opt-fog-snapins-permissions.JPG

                1 Reply Last reply Reply Quote 0
                • N
                  nivbehar @Tom Elliott
                  last edited by

                  @Tom-Elliott
                  Hey Tom!

                  do u mean the Storage node?
                  i have only the default, and it look ok:

                  0_1474361441423_storage-node-fog.JPG

                  regards
                  Niv.

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

                    @nivbehar the path looks fine one my side, the other way it may return it cannot locate might indicate the FTP user and password are incorrect. I doubt that’s the issue though as if the credentials are wrong it will present an error stating as suck. Can you add a trailing / in the path?

                    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 @nivbehar
                      last edited by

                      @nivbehar said in Failed to add snapin, unable to locate snapin directory.:

                      This snap-in will just open google chrome on the target workstations and nothing else.

                      While the error you get needs solved, the new fog client will never be able to “open” something for users to interact with, all snapins run as the SYSTEM user, and the system user is not allowed to interact with users nor have any display or output at all, by design of Windows itself.

                      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/

                      N 1 Reply Last reply Reply Quote 0
                      • N
                        nivbehar @Wayne Workman
                        last edited by

                        @Wayne-Workman
                        Thank you Wayne and Tom for your replies.
                        I guess i didnt understand the idea of snapins, anyway, now I do.
                        Eventually, I solved the problem with creating a new path to the sanpins.

                        Regardless of this problem, I have another one now.
                        I just noticed that since updating to 1.3.0-RC-10, I cant capture any machine.
                        The progress is stuck on the client, like this:
                        0_1474521399902_fog-stuck-on-mountingfilesystem.JPG

                        im trying to capture an image i already captured, just for testing, I left it all night and it didnt continued…
                        Im sure about the settings i set for the new image, since its the same as the image settings that already deployed to the machine.

                        Should I post a new topic about this or wait here for help?

                        Niv.

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

                        210

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project