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

    Fog Snap-In Permissions Issue?

    Scheduled Pinned Locked Moved Unsolved
    FOG Problems
    3
    8
    649
    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

      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 Reply Quote 0
      • R
        Richarizard504 @Richarizard504
        last edited by

        @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.

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

          @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 Reply Quote 0
          • R
            Richarizard504 @Tom Elliott
            last edited by

            @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.

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

              @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

                @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 Reply Quote 1
                • R
                  Richarizard504 @Sebastian Roth
                  last edited by

                  @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

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

                    165

                    Online

                    12.0k

                    Users

                    17.3k

                    Topics

                    155.2k

                    Posts
                    Copyright © 2012-2024 FOG Project