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

Fog Snap-In Permissions Issue?

Scheduled Pinned Locked Moved Unsolved
FOG Problems
3
8
713
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.
  • R
    Richarizard504
    last edited by Jun 1, 2023, 4:19 PM

    Running into some issues with Fog Snap-Ins. Wondering if anyone can help

    Through troubleshooting, it seems like Fog can run the snap-in on the client machine, but the snap-in cannot access the powershell script that needs to be run. Seems like a permissions issue, but would like some help.

    Thanks All,

    R 1 Reply Last reply Jun 1, 2023, 4:33 PM Reply Quote 0
    • R
      Richarizard504 @Richarizard504
      last edited by Jun 1, 2023, 4:33 PM

      @Richarizard504

      6/1/2023 11:05:15 AM Middleware::Communication ERROR: Could not download file

      6/1/2023 11:05:15 AM Middleware::Communication ERROR: The remote server returned an error: (404) Not Found.

      T 1 Reply Last reply Jun 1, 2023, 8:18 PM Reply Quote 0
      • T
        Tom Elliott @Richarizard504
        last edited by Jun 1, 2023, 8:18 PM

        @Richarizard504 404 means the file does not exist on the server it’s requesting it from.

        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

        R 1 Reply Last reply Jun 2, 2023, 2:12 PM Reply Quote 0
        • R
          Richarizard504 @Tom Elliott
          last edited by Jun 2, 2023, 2:12 PM

          @Tom-Elliott Okay, that is what I thought, but I looked on the server itself in the /opt/snapins folder and the snap-in is in the folder like it should be. Which is why I was thinking a permissions issue.

          I am not sure what else it could be. I think I am just going to rebuild the server and migrate our data over to the new server. Our old server was running on CentOS anyways. I tried as much troubleshooting as I could.

          T 1 Reply Last reply Jun 2, 2023, 2:25 PM Reply Quote 0
          • T
            Tom Elliott @Richarizard504
            last edited by Jun 2, 2023, 2:25 PM

            @Richarizard504 Is it possible it’s requesting the resource from a different server than the one you know the files are on?

            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
            • S
              Sebastian Roth Moderator
              last edited by Sebastian Roth Jun 2, 2023, 10:46 AM Jun 2, 2023, 4:42 PM

              @Tom-Elliott said in Fog Snap-In Permissions Issue?:

              Is it possible it’s requesting the resource from a different server than the one you know the files are on?

              Just along these lines… do you have more than one FOG node in your network?

              The remote server returned an error: (404) Not Found.

              The snapin files are not requested via HTTP URL directly but through a helper script. See if you have /var/www/fog/service/snapins.file.php on your FOG server(s).

              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

              R 1 Reply Last reply Jun 2, 2023, 10:44 PM Reply Quote 1
              • R
                Richarizard504 @Sebastian Roth
                last edited by Jun 2, 2023, 10:44 PM

                @Sebastian-Roth I do not have more than 1 fog server. There is only one, and yes that file does exits.

                Looks like this

                <?php
                /**

                • Snapin client file download
                • PHP version 5
                • @category Snapin_File
                • @package FOGProject
                • @author Tom Elliott tommygunsster@gmail.com
                • @license http://opensource.org/licenses/gpl-3.0 GPLv3
                • @link https://fogproject.org
                  /
                  /
                  *
                • Snapin client file download
                • @category Snapin_File
                • @package FOGProject
                • @author Tom Elliott tommygunsster@gmail.com
                • @license http://opensource.org/licenses/gpl-3.0 GPLv3
                • @link https://fogproject.org
                  */
                  require ‘…/commons/base.inc.php’;
                  new SnapinClient(
                  true,
                  false,
                  false,
                  false,
                  isset($_REQUEST[‘newService’])
                  );
                  ~
                  ~
                1 Reply Last reply Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by Jun 4, 2023, 8:33 AM

                  @Richarizard504 Then I may suggest you provide the full fog.log file from that client having the issue. We might find out what’s wrong with some more context.

                  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
                    5/8
                    Last post

                  152

                  Online

                  12.1k

                  Users

                  17.3k

                  Topics

                  155.3k

                  Posts
                  Copyright © 2012-2024 FOG Project