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

Surface Pro 4 unable to image

Scheduled Pinned Locked Moved Solved
FOG Problems
7
59
30.6k
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
    Scott Adams @Tom Elliott
    last edited by May 12, 2016, 5:40 PM

    @Tom-Elliott What installer do I need to rerun? I just re-updated SVN yesterday.

    T 1 Reply Last reply May 12, 2016, 5:40 PM Reply Quote 0
    • T
      Tom Elliott @Scott Adams
      last edited by May 12, 2016, 5:40 PM

      @Scott-Adams SVN installer.

      Logrotate usually happens daily on Ubuntu systems.

      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

      S 1 Reply Last reply May 12, 2016, 5:41 PM Reply Quote 0
      • S
        Scott Adams @Tom Elliott
        last edited by May 12, 2016, 5:41 PM

        @Tom-Elliott So, rerun the SVN to go up to the next version of FOG?

        T 1 Reply Last reply May 12, 2016, 5:41 PM Reply Quote 0
        • T
          Tom Elliott @Scott Adams
          last edited by May 12, 2016, 5:41 PM

          @Scott-Adams Yes.

          Remember I commit MANY MANY MANY times in a day (sometimes more than that even).

          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

          S 1 Reply Last reply May 12, 2016, 5:51 PM Reply Quote 1
          • S
            Scott Adams @Tom Elliott
            last edited by May 12, 2016, 5:51 PM

            @Tom-Elliott Updated to SVN 7597. Did not ask to upgrade schema after install. Am now able to get Apache log errors.

            [Thu May 12 13:48:29.351592 2016] [:error] [pid 4826] [client 10.10.101.4:61421] PHP Warning: Error while sending QUERY packet. PID=4826 in /var/www/html/fog/lib/db/mysql.class.php on line 47, referer: http://fog/fog/management/index.php?node=about&sub=settings
            [Thu May 12 13:48:13.616051 2016] [:error] [pid 2303] [client 10.10.101.4:61410] PHP Fatal error: Function name must be a string in /var/www/html/fog/lib/client/printerclient.class.php on line 7

            S 1 Reply Last reply May 12, 2016, 6:04 PM Reply Quote 0
            • S
              Scott Adams @Scott Adams
              last edited by May 12, 2016, 6:04 PM

              @Scott-Adams If I’m reading this right, line 47 is:

              self::$link->query(“SET SESSION sql_mode=‘’”);

              T 1 Reply Last reply May 13, 2016, 10:27 AM Reply Quote 1
              • T
                Tom Elliott @Scott Adams
                last edited by May 13, 2016, 10:27 AM

                @Scott-Adams That line is unlikely causing the issue you’re seeing. The function as a string is probably a partial point of the issue. I’ve added code to set the query packet size a little more implicitly and give a timeout value in hopes to help correct this. Please update and let us know if this is or isn’t working for you.

                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

                S 2 Replies Last reply May 13, 2016, 11:49 AM Reply Quote 0
                • S
                  Scott Adams @Tom Elliott
                  last edited by May 13, 2016, 11:49 AM

                  @Tom-Elliott Updated to SVN 7603. Still unable to make changes in FOG Settings, and now Apache error logs show:

                  [Fri May 13 07:47:41.982694 2016] [:error] [pid 600] [client 10.10.101.4:49903] PHP Warning: mysqli::mysqli(): MySQL server has gone away in /var/www/html/fog/lib/db/mysql.class.php on line 25, referer: http://fog/fog/management/index.php?node=about&sub=logviewer
                  [Fri May 13 07:47:41.459485 2016] [:error] [pid 64683] [client 10.10.101.4:49914] PHP Warning: mysqli::mysqli(): MySQL server has gone away in /var/www/html/fog/lib/db/mysql.class.php on line 25, referer: http://fog/fog/management/index.php?node=about&sub=logviewer

                  1 Reply Last reply Reply Quote 0
                  • S
                    Scott Adams @Tom Elliott
                    last edited by May 13, 2016, 11:59 AM

                    @Tom-Elliott Line 25 is:

                    self::$link = new mysqli (DATABASE_HOST,DATABASE_USERNAME,DATABASE_PASSWORD);

                    T 1 Reply Last reply May 13, 2016, 12:19 PM Reply Quote 0
                    • T
                      Tom Elliott @Scott Adams
                      last edited by May 13, 2016, 12:19 PM

                      @Scott-Adams Mind updating again?

                      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

                      S 1 Reply Last reply May 13, 2016, 12:32 PM Reply Quote 0
                      • S
                        Scott Adams @Tom Elliott
                        last edited by May 13, 2016, 12:32 PM

                        @Tom-Elliott Updated to SVN 7609, no go on the FOG Settings. Get the following apache error:

                        [Fri May 13 08:28:52.033468 2016] [:error] [pid 25337] [client 10.10.101.4:51573] PHP Warning: Error while sending QUERY packet. PID=25337 in /var/www/html/fog/lib/db/mysql.class.php on line 50, referer: http://fog/fog/management/index.php?node=about&sub=settings

                        Line 50 is:
                        else if (!self::queryResult = self;;$link->query(self::$query)) throw new Exception (sprintf(‘%s: %s’,_(‘Error’),$this->sqlerror()));

                        S 1 Reply Last reply May 17, 2016, 2:54 PM Reply Quote 0
                        • S
                          Scott Adams @Scott Adams
                          last edited by May 17, 2016, 2:54 PM

                          @Scott-Adams Thanks @Tom-Elliott for your help getting my FOG Settings saving again.

                          I have now tried to image/inventory another Surface Pro 4, and I get nothing. I get to the FOG Menu. When I do a Full Host Registration (or a quick inventory - it doesn’t matter) the screen just goes to a black screen and just sits there.

                          I have obviously made sure Secure Boot is off, DCHP scope options are configured for snponly.efi, and I changed FOG_KERNEL_ARGS to has_usb_nic=1.

                          1 Reply Last reply Reply Quote 0
                          • S
                            Sebastian Roth Moderator
                            last edited by May 17, 2016, 3:42 PM

                            @Scott-Adams Did you try my suggestion yet? Crank up the log level and enable kernel debug messages (FOG Configuration -> FOG Settings -> expand all and search for ‘DEBUG’ or ‘LOG’)?

                            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

                            T 1 Reply Last reply May 17, 2016, 3:51 PM Reply Quote 0
                            • T
                              Tom Elliott @Sebastian Roth
                              last edited by May 17, 2016, 3:51 PM

                              @Sebastian-Roth I, once again, reverted the ipxe files to those from 7490. Updating indeed works. This is definitely something in the ipxe code that changed/broke this.

                              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

                              S 1 Reply Last reply May 17, 2016, 3:57 PM Reply Quote 1
                              • S
                                Scott Adams @Tom Elliott
                                last edited by May 17, 2016, 3:57 PM

                                @Tom-Elliott Ok. Once again, thanks for the help @Tom-Elliott.

                                What I have found we need to do now is do a Quick Inventory. This inputs the basics into FOG. We rename it using the Web UI and apply the image and active directory settings. Once this is done, I create a deploy task. When I boot the Surface at this point, it images no problem.

                                A little convoluted, but it works!

                                S 1 Reply Last reply May 19, 2016, 3:30 PM Reply Quote 1
                                • S
                                  Scott Adams @Scott Adams
                                  last edited by May 19, 2016, 3:30 PM

                                  @Tom-Elliott After update to SVN 7717, unable to image Surfaces again.

                                  0_1463671854740_fog.jpg

                                  T 2 Replies Last reply May 19, 2016, 3:32 PM Reply Quote 0
                                  • T
                                    Tom Elliott @Scott Adams
                                    last edited by May 19, 2016, 3:32 PM

                                    @Scott-Adams I haven’t changed the iPXE binaries since you last updated and it was working. I also haven’t changed the init.s
                                    THe only thing that would’ve changed (here) is your environment now.

                                    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

                                    S 1 Reply Last reply May 19, 2016, 3:37 PM Reply Quote 0
                                    • S
                                      Scott Adams @Tom Elliott
                                      last edited by May 19, 2016, 3:37 PM

                                      @Tom-Elliott Not sure. The only thing I did was update to 7717. Have not changed any DHCP, switch configs, nothing.

                                      T 1 Reply Last reply May 19, 2016, 3:38 PM Reply Quote 0
                                      • T
                                        Tom Elliott @Scott Adams
                                        last edited by May 19, 2016, 3:38 PM

                                        @Scott-Adams Are there available leases?

                                        Why do you have [Enter] start? Did you type that, or did you press the enter key?

                                        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

                                        S 1 Reply Last reply May 19, 2016, 3:41 PM Reply Quote 0
                                        • S
                                          Scott Adams @Tom Elliott
                                          last edited by May 19, 2016, 3:41 PM

                                          @Tom-Elliott That was the original posting picture. I’ve added another picture. Different error. It is getting past the initial connection, I can get to the FOG Menu. After I make a selection, it gives me the "Failed to get an IP via DHCP! Tried on interfaces(s): Please check your network setup and try again!

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 3 / 3
                                          3 / 3
                                          • First post
                                            47/59
                                            Last post

                                          176

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project