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

Snapin not listed after upload and add

Scheduled Pinned Locked Moved
FOG Problems
4
9
3.0k
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.
  • C
    Corey kelly
    last edited by Apr 12, 2013, 3:13 PM

    I have created a snap-in, uploaded the file and clicked add. When I click “list all snap-ins” none are listed.

    Has anyone ever experienced this problem before?

    CK

    1 Reply Last reply Reply Quote 0
    • C
      chad-bisd Moderator
      last edited by Apr 16, 2013, 2:46 PM

      On my FOG Server (FOG 0.32, Ubuntu 10.04), the list page shows up blank. If I do a search for *, I get a list of snap-ins, and then clicking the link to list all snap-ins shows the list like it should. Not sure where the problem is, but I have to search before it will list them.


      If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

      1 Reply Last reply Reply Quote 0
      • C
        Corey kelly
        last edited by Apr 16, 2013, 5:27 PM

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • C
          Corey kelly
          last edited by Apr 16, 2013, 5:31 PM

          Searching for * showed 0 results found.

          Any other suggestions?

          Fog 0.32
          Ubuntu ver ##.## (Will edit soon)

          1 Reply Last reply Reply Quote 0
          • C
            chad-bisd Moderator
            last edited by Apr 17, 2013, 1:40 AM

            Go to a host record and see if you can assign a snap in there. Lets see if its a display bug or a data error.


            If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

            1 Reply Last reply Reply Quote 0
            • C
              Corey kelly
              last edited by Apr 23, 2013, 6:09 PM

              Can’t do it from the host record either.

              CK

              1 Reply Last reply Reply Quote 0
              • C
                chad-bisd Moderator
                last edited by Apr 24, 2013, 2:53 PM

                I would tail the apache log and try to upload a snap-in and see if I could figure out what’s happening. Also, you might look in the database to see if the snap-in declarations are getting created, even if the file is not being uploaded.


                If you would like to make a donation to the Fog project, please do so [U][COLOR=#0000ff][URL='http://sourceforge.net/dona…

                1 Reply Last reply Reply Quote 0
                • K
                  Kiweegie
                  last edited by Jul 31, 2013, 10:25 AM

                  This is old so may have been sorted already but I’'ve seen similar issue when trying to upload a snapin with same executable file name as already exists on another snapin.

                  In my use case I created a snapin for screenpresso.exe. This application does not auto update so each time they bring a new version out we need to add a new snapin. The first time I did this I had same issue you did - called the snapin screenpresso_versionX and uploaded but didn’t show up. This was because the actual installer was called screenpresso.exe and was already in use on the server on the origiinal snapin.

                  You need to ensure the exe file you upload is a unique file name - same for when you are going an installer and uninstaller using same .exe

                  Hope this helps someone…

                  1 Reply Last reply Reply Quote 0
                  • A
                    afmrick
                    last edited by Jul 29, 2014, 6:18 PM

                    I know this is an old post but, I finally got annoyed by the “List All Snap-ins” requires a search first bug on our FOG 0.32 install, was looking to fix it and found this thread.

                    The search page assigns a variable, [COLOR=#339966]$_SESSION[“allow_ajax_snapin”][/COLOR], to [B]true[/B] but the list page does not. Until that variable is defined as true the List All Snap-Ins page won’t work. There’s a couple of ways to fix it but, I just assigned it to true in [COLOR=#0000ff]/var/www/html/fog/management/includes/snapin.list.include.php[/COLOR] on line 37 so, that the search page will work the first time:
                    [code] <tbody>
                    <?php
                    $crit = ‘%’;
                    $_SESSION[“allow_ajax_snapin”] = true;
                    require(‘ajax/snapin.search.php’);
                    ?>
                    </tbody>[/code]

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

                    163

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project