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

[Rev 5082] Snapins deploying issues

Scheduled Pinned Locked Moved Solved
Bug Reports
4
13
3.9k
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.
  • S
    Sebastian Roth Moderator
    last edited by Sebastian Roth Oct 28, 2015, 3:42 AM Oct 28, 2015, 9:41 AM

    @robza What do you see accessing this URL from your Browser: http://fog-server/fog/service/snapins.checkin.php?mac=30:5A:3A:7A:66:03||00:00:00:00:00:00:00:E0|00:00:00:00:00:00:00:E0&newService=1

    The mysql error does not seam to be related (different time stamp!).

    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 Oct 28, 2015, 11:46 AM Reply Quote 0
    • R
      robza @Sebastian Roth
      last edited by Oct 28, 2015, 11:46 AM

      Hi @Uncle-Frank when accessing this URL I got this:
      #!ns
      Regards

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by Oct 28, 2015, 12:07 PM

        Unfortunatelly this answer is being thrown in two places within that code. Could you please do me a favour and edit this PHP file on your server /var/www/html/fog/service/snapins.checkin.php

        Should be line 13 and 27. You see something like throw new Exception('#!ns'); Please change ‘ns’ to ‘nz’ (for example), save the file and open the URL in your browser again. What do you see?? Don’t forget to change back straight after this test.

        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 Oct 28, 2015, 12:38 PM Reply Quote 0
        • R
          robza @Sebastian Roth
          last edited by Oct 28, 2015, 12:38 PM

          @Uncle-Frank when editing snapins.checkin.php i see this

          <?php
          require_once('../commons/base.inc.php');
          $FOGCore->getClass(SnapinClient);
          
          Regs
          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by Oct 28, 2015, 12:46 PM

            @robza I am really sorry. My fault. The file I meant is /var/www/html/fog/lib/client/SnapinClient.class.php (hope I got this right this time)

            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
            • D
              davido38
              last edited by Oct 28, 2015, 1:34 PM

              I change to nz and it’s still ns in the browser .

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by Oct 28, 2015, 2:06 PM

                @davido38 Which one did you change to ‘nz’?? As I said there are two places in that PHP file were ‘ns’ is used!

                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
                • T
                  Tom Elliott
                  last edited by Oct 28, 2015, 2:15 PM

                  Snapins not deploying appropriately is now fixed. Still looking for this load problem.

                  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
                  • D
                    davido38
                    last edited by Oct 28, 2015, 2:18 PM

                    I change this one :
                    /var/www/fog/lib/client/SnapinClient.class.php

                    1 Reply Last reply Reply Quote 0
                    • D
                      davido38
                      last edited by Oct 28, 2015, 4:13 PM

                      No more problems after update.

                      thanks !!!

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

                      150

                      Online

                      12.2k

                      Users

                      17.3k

                      Topics

                      155.5k

                      Posts
                      Copyright © 2012-2024 FOG Project