• 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
31.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.
  • T
    Tom Elliott @Scott Adams
    last edited by May 11, 2016, 11:43 AM

    @Scott-Adams Can you get the output of mysql command:

    show create table fog.globalSettings

    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 11, 2016, 12:11 PM Reply Quote 0
    • S
      Scott Adams @Tom Elliott
      last edited by May 11, 2016, 12:11 PM

      @Tom-Elliott 0_1462968660516_fogmysql.jpg

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

        @Tom-Elliott I have also checked .fogsettings, config.class.php and sql username/passwords match. I also tested the storage node mysql username/password (following the troubleshooting mysql wiki) and credentials worked. It is just something with the WebUI itself or how the WebUI communicates to the mysql database.

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

          @Scott-Adams Can you check the schema out? It appears, from what I can see, you’re missing a few global settings from the table, though I have no idea what.

          Would you be able to set the schemaVersion to say 200?

          UPDATE fog.schemaVersion SET vValue=200;

          Go to the gui and approve it to update.

          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 11, 2016, 12:42 PM Reply Quote 0
          • S
            Scott Adams @Tom Elliott
            last edited by May 11, 2016, 12:42 PM

            @Tom-Elliott I did. I then received the attached errors when I approved.
            0_1462970352456_fogschemaupdate.jpg
            I have since logged in and am able to navigate the webui. However, I am still unable to save any changes within FOGSettings.

            When I re-run the show create table fog.globalSettings, all settings look the same, only the AUTO_INCREMENT has changed to 188
            0_1462970567740_fogmysql2.jpg

            1 Reply Last reply Reply Quote 0
            • S
              Scott Adams @Tom Elliott
              last edited by May 11, 2016, 7:22 PM

              @Tom-Elliott This is the same issue I reported on a few weeks ago.
              https://forums.fogproject.org/topic/7276/after-upgrade-to-trunk-7324-no-settings-available-under-fog-configuration-fog-settings

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

                Any thoughts or ideas yet? I am completely at a loss. Once again, I updated versions to see if that would fix. No go.

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

                  @Scott-Adams Anything under apache error logs?

                  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:28 PM Reply Quote 0
                  • S
                    Scott Adams @Tom Elliott
                    last edited by May 12, 2016, 5:28 PM

                    @Tom-Elliott It says “unable to open file for reading”. It does this for all the apache logs under log viewer…

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

                      @Scott-Adams So you can get to the GUI?

                      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:31 PM Reply Quote 0
                      • S
                        Scott Adams @Tom Elliott
                        last edited by May 12, 2016, 5:31 PM

                        @Tom-Elliott Yes sir! I can created hosts, create images (capture and deploy). From within FOG Configuration, I can change settings in the iPXE Menu Cusomtization. I can download new kernels.

                        The only restriction so far is for any changes I make to the FOG Settings under FOG Configuration. I know this is not the original topic of this thread, but the troubleshooting for this topic led us down this path.

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

                          @Scott-Adams The unable to read files is probably because ubuntu is extremely a PITA lately.

                          When they run logrotates, the change the permissions of the file to what they think should be set, rather than just move the file and continue on.

                          So you probably need to re-run the installer and have it try to see the files 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 12, 2016, 5:40 PM Reply Quote 0
                          • 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
                                          • 1
                                          • 2
                                          • 3
                                          • 2 / 3
                                          2 / 3
                                          • First post
                                            35/59
                                            Last post

                                          158

                                          Online

                                          12.0k

                                          Users

                                          17.3k

                                          Topics

                                          155.2k

                                          Posts
                                          Copyright © 2012-2024 FOG Project