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

    Database Schema Updater/Installer Not Being Displayed

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    4
    13
    2.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.
    • RobTitian16R
      RobTitian16 @george1421
      last edited by

      @george1421 Here is the log result:

      [Fri Dec 30 06:44:08.080615 2016] [mpm_prefork:notice] [pid 1451] AH00163: Apache/2.4.23 (Ubuntu) OpenSSL/1.0.2j configured -- resuming normal operations
      [Fri Dec 30 06:44:08.080647 2016] [core:notice] [pid 1451] AH00094: Command line: '/usr/sbin/apache2'
      [Fri Dec 30 13:03:05.052894 2016] [core:warn] [pid 1451] AH00045: child process 51905 still did not exit, sending a SIGTERM
      [Fri Dec 30 13:03:07.053599 2016] [core:warn] [pid 1451] AH00045: child process 51905 still did not exit, sending a SIGTERM
      [Fri Dec 30 13:03:09.054656 2016] [core:warn] [pid 1451] AH00045: child process 51905 still did not exit, sending a SIGTERM
      [Fri Dec 30 13:03:11.055334 2016] [core:error] [pid 1451] AH00046: child process 51905 still did not exit, sending a SIGKILL
      [Fri Dec 30 13:03:12.055927 2016] [mpm_prefork:notice] [pid 1451] AH00169: caught SIGTERM, shutting down
      [Fri Dec 30 13:03:38.963672 2016] [mpm_prefork:notice] [pid 62960] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2j configured -- resuming normal operations
      [Fri Dec 30 13:03:38.963740 2016] [core:notice] [pid 62960] AH00094: Command line: '/usr/sbin/apache2'
      [Fri Dec 30 13:16:02.326855 2016] [mpm_prefork:notice] [pid 62960] AH00169: caught SIGTERM, shutting down
      [Fri Dec 30 13:16:03.860704 2016] [mpm_prefork:notice] [pid 8504] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2j configured -- resuming normal operations
      [Fri Dec 30 13:16:03.860767 2016] [core:notice] [pid 8504] AH00094: Command line: '/usr/sbin/apache2'
      [Fri Dec 30 13:29:21.914129 2016] [mpm_prefork:notice] [pid 1093] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2j configured -- resuming normal operations
      [Fri Dec 30 13:29:21.921437 2016] [core:notice] [pid 1093] AH00094: Command line: '/usr/sbin/apache2'
      [Fri Dec 30 13:55:26.301303 2016] [mpm_prefork:notice] [pid 1093] AH00169: caught SIGTERM, shutting down
      [Fri Dec 30 13:55:48.781576 2016] [mpm_prefork:notice] [pid 12171] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2j configured -- resuming normal operations
      [Fri Dec 30 13:55:48.781634 2016] [core:notice] [pid 12171] AH00094: Command line: '/usr/sbin/apache2'
      [Fri Dec 30 13:56:47.437312 2016] [mpm_prefork:notice] [pid 12171] AH00169: caught SIGTERM, shutting down
      [Fri Dec 30 13:57:35.348797 2016] [mpm_prefork:notice] [pid 24506] AH00163: Apache/2.4.25 (Ubuntu) OpenSSL/1.0.2j configured -- resuming normal operations
      [Fri Dec 30 13:57:35.348861 2016] [core:notice] [pid 24506] AH00094: Command line: '/usr/sbin/apache2'
      

      @Tom-Elliott Here’s what I see under the console tab, which looks like the cause of the issue:

      0_1483106680249_Capture2.PNG

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

        @Tom-Elliott

        var runInterval;
        $(function() {
            runDBCheck();
            $('form').submit(function(e) {
                clearInterval(runInterval);
            });
        });
        function runDBCheck() {
            $.ajax({
                url: '../status/dbrunning.php',
                dataType: 'json',
                success: function(data) {
                    if (data.running === false) {
                        $('#dbNotRunning').show();
                        $('#dbRunning').hide();
                    } else {
                        $('#dbNotRunning').hide();
                        $('#dbRunning').show();
                    }
                },
                complete: function() {
                    setTimeout(runDBCheck, 1000 - ((new Date().getTime() - startTime) % 1000));
            });
        }
        

        It says line 23 is wrong - seems like there are one too many brackets, or not enough.

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

          @RobTitian16 Repull and install. All should work 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

          RobTitian16R 2 Replies Last reply Reply Quote 0
          • RobTitian16R
            RobTitian16 @Tom Elliott
            last edited by

            @Tom-Elliott Resolved - thanks a lot! 😄

            1 Reply Last reply Reply Quote 0
            • RobTitian16R
              RobTitian16 @Tom Elliott
              last edited by

              @Tom-Elliott Same problem again, I’m afraid. I just tried upgrading to trunk and it’s not displaying the schema Installer/Updater button.

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

                @RobTitian16 I don’t understand.

                You’re at the Database Schema Installer page and there’s nothing being displayed?

                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

                RobTitian16R 1 Reply Last reply Reply Quote 0
                • RobTitian16R
                  RobTitian16 @Tom Elliott
                  last edited by

                  @Tom-Elliott Yep, it’s the same as the screenshot above again.

                  Tom ElliottT Wayne WorkmanW 2 Replies Last reply Reply Quote 0
                  • Tom ElliottT
                    Tom Elliott @RobTitian16
                    last edited by

                    @RobTitian16 I’m unable to replicate the problem on 1.3.1-RC-3, are you sure you’re on the right branch and trying to install the correct “trunk” if you will?

                    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

                    RobTitian16R 1 Reply Last reply Reply Quote 0
                    • Wayne WorkmanW
                      Wayne Workman @RobTitian16
                      last edited by

                      @RobTitian16 if you go to your fog repository location and run the below command it should output the hash your on. You can post that or compare it yourself to what is in git.
                      git rev-parse HEAD

                      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!
                      Daily Clean Installation Results:
                      https://fogtesting.fogproject.us/
                      FOG Reporting:
                      https://fog-external-reporting-results.fogproject.us/

                      1 Reply Last reply Reply Quote 0
                      • RobTitian16R
                        RobTitian16 @Tom Elliott
                        last edited by

                        @Tom-Elliott Updated correctly now - not sure why it wasn’t working the other day. Thanks for the help once again!

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

                        194

                        Online

                        12.0k

                        Users

                        17.3k

                        Topics

                        155.2k

                        Posts
                        Copyright © 2012-2024 FOG Project