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

    Updating Database ... Failed!

    Scheduled Pinned Locked Moved Solved
    Bug Reports
    7
    16
    5.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.
    • Wayne WorkmanW
      Wayne Workman
      last edited by Wayne Workman

      r7687 on Fedora 23, the installer is failing at this point.

      The error log ends at a really weird spot, I can’t make heads or tails out of it. Here it is:
      0_1463536983539_fog_error_7687.log

      This is my home FOG setup, which is in a VM so I’m not all that concerned about it honestly. I can revert to a prior snapshot and try again, but thought I’d make the report and offer the opportunity to see what’s going 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!
      Daily Clean Installation Results:
      https://fogtesting.fogproject.us/
      FOG Reporting:
      https://fog-external-reporting-results.fogproject.us/

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @Wayne-Workman Anything in the apache error and access logs??

        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
        • Q
          Quazz Moderator
          last edited by Quazz

          Same thing here on Centos 7.

          Potentially relevant logs:

          [Wed May 18 12:20:45.179128 2016] [core:notice] [pid 5209] AH00094: Command line  : '/usr/sbin/httpd -D FOREGROUND'
          [Wed May 18 12:20:47.336126 2016] [:error] [pid 5216] [client 192.168.1.154:56426] PHP Warning:  date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/html/fog/lib/db/mysqldump.class.php on line 383
          [Wed May 18 12:20:47.999785 2016] [:error] [pid 5216] [client 192.168.1.154:56426] PHP Warning:  date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timez one_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected the timezone 'UTC' for now, but please set date.timezone to select your timezone. in /var/www/html/fog/lib/db/mysqldump.class.php on line 400
          [Wed May 18 12:20:48.081173 2016] [:error] [pid 5221] [client 127.0.0.1:49006] PHP Fatal error:  Call to a member function index() on null in /var/www/html/fog/lib/fog/fogpagemanager.class.php on line 72
          [Wed May 18 12:20:48.157157 2016] [:error] [pid 5219] [client 192.168.1.154:56432] PHP Fatal error:  Call to a member function index() on null in /var/www/html/fog/lib/fog/fogpagemanager.class.php on line 72
          
          1 Reply Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott
            last edited by

            Should all be fixed.

            After making a change from schemaupdater to schema, apparently the class caller was changed accidentally. This is fixed in the current now and even tested an update/install and appears to have worked properly.

            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

            Q 1 Reply Last reply Reply Quote 1
            • Q
              Quazz Moderator @Tom Elliott
              last edited by

              @Tom-Elliott Works on my end as well.

              1 Reply Last reply Reply Quote 0
              • S
                Sebastian Roth Moderator
                last edited by

                Marking this unsolved again until we hear from @Wayne-Workman. As well moving it to bug reports…

                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
                • Wayne WorkmanW
                  Wayne Workman
                  last edited by

                  I won’t be able to try until I get home, this issue cropped up on my home fog server.

                  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/

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

                    @Wayne-Workman et al,

                    I’m marking this as solved as the issue is directly because the SchemaUpdaterPage wasn’t being loaded as during one of my edits, it changed the "class " identifier:

                    <?php
                    class SchemaUpdaterPage {
                    

                    To

                    <?php
                    class schemaPage {
                    

                    Because the page was loaded, but the class as called could not be found, it was failing. This is now fixed, with a margin of error of 0.0000000000000000000000000001%

                    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
                    • P
                      pcayphas
                      last edited by

                      Hello,

                      Same problem for me sinds a few day. I’m now using fog 7821 and at the end of the upload task ,“updating database” freeze.

                      Unix is Centos 7.0

                      Any help or idea would be welcome !

                      Thanks,

                      Philippe

                      Q H 2 Replies Last reply Reply Quote 0
                      • Q
                        Quazz Moderator @pcayphas
                        last edited by

                        @pcayphas That is a different issue (error during upload task vs error during updating FOG), I recommend you create a new thread for it so we can help you better.

                        P 1 Reply Last reply Reply Quote 0
                        • P
                          pcayphas
                          last edited by

                          Hello,

                          Same problem for me sinds a few day. I’m now using fog 7821 and at the end of the upload task ,“updating database” freeze.

                          Unix is Centos 7.0

                          Any help or idea would be welcome !

                          Thanks,

                          Philippe

                          1 Reply Last reply Reply Quote 0
                          • P
                            pcayphas @Quazz
                            last edited by

                            @Quazz said in Updating Database ... Failed!:

                            @pcayphas That is a different issue (error during upload task vs error during updating FOG), I recommend you create a new thread for it so we can help you better.

                            OK Sorry.

                            Philippe

                            1 Reply Last reply Reply Quote 0
                            • H
                              hernani @pcayphas
                              last edited by

                              same problem for me with 7695
                              “updating database … failed”
                              after many minutes
                              “Error returned: reattempting to update database”.

                              thx

                              george1421G 1 Reply Last reply Reply Quote 0
                              • george1421G
                                george1421 Moderator @hernani
                                last edited by

                                @hernani First of all I would suggest that you open a new thread since your situation may be unique with a similar end results.

                                While this may not be “the” solution that fixes your immediate problem, but please update to the latest release which is about 7850. You didn’t mention the FOG server OS in your post (i.e. unique ??).

                                There should be an install error log. Its moved around a bit during the different trunk releases. It could be in /var/log or /opt/fog/log or in /home or /home/fog. I just ran the svn update again and my install completed without error on Centos 7.

                                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!

                                H 1 Reply Last reply Reply Quote 1
                                • H
                                  hernani @george1421
                                  last edited by

                                  @george1421 It’s not an install issue in fact but as the others users in the post, it freezes at the end of an upload task. 😉

                                  1 Reply Last reply Reply Quote 0
                                  • S
                                    Sebastian Roth Moderator
                                    last edited by

                                    @hernani Please check if your database is working properly: https://wiki.fogproject.org/wiki/index.php/Troubleshoot_MySQL

                                    George is absolutely right. Please open your own post so we can specifically help with your issue. Might be the same, might be not - but that does not really matter. As two or more people post their information in the same post things are getting mixed up and we just don’t like to read through the posts for 10 minutes just to know who is at what stage. We are more than happy to help you but I will delete all your following posts in this thread!

                                    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

                                    155

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project