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

    Backing up database failed!

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    8
    918
    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.
    • Raymond BellR
      Raymond Bell Testers
      last edited by

      Server

      FOG Version: 1.4
      OS: Ubuntu 16.04
      

      Trying to update to latest rev 6078 and server failing on Backing up database
      Storage nodes updated fine.

      Raymond Bell
      WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

      1 Reply Last reply Reply Quote 0
      • Raymond BellR
        Raymond Bell Testers @george1421
        last edited by

        @george1421 I had downloaded the 6077 again and not 6078 🙂
        END USER ERROR 🙂

        Raymond Bell
        WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

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

          @Raymond-Bell What do you get in the apache error log when this happens?

          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

          Raymond BellR 1 Reply Last reply Reply Quote 0
          • Raymond BellR
            Raymond Bell Testers @Sebastian Roth
            last edited by Raymond Bell

            @sebastian-roth

            [Tue May 08 09:01:36.276732 2018] [php7:error] [pid 13487] [client 10.*.*.*:24644] PHP Fatal error:  Uncaught Error: Call to a member function lastInsertId() on boolean in /var/www/fog/lib/db/pdodb.class.php:443\nStack trace:\n#0 /var/www/fog/lib/fog/fogcontroller.class.php(527): PDODB->insertId()\n#1 /var/www/fog/lib/fog/hookmanager.class.php(59): FOGController->save()\n#2 /var/www/fog/lib/fog/bootmenu.class.php(1157): HookManager->processEvent('IPXE_EDIT', Array)\n#3 /var/www/fog/lib/fog/bootmenu.class.php(197): BootMenu->_parseMe(Array)\n#4 /var/www/fog/service/ipxe/boot.php(35): BootMenu->__construct(Object(Host))\n#5 {main}\n  thrown in /var/www/fog/lib/db/pdodb.class.php on line 443
            [Tue May 08 09:01:39.199505 2018] [php7:error] [pid 13438] [client 10.*.*.*:57575] PHP Fatal error:  Uncaught Error: Call to a member function lastInsertId() on boolean in /var/www/fog/lib/db/pdodb.class.php:443\nStack trace:\n#0 /var/www/fog/lib/fog/fogcontroller.class.php(527): PDODB->insertId()\n#1 /var/www/fog/lib/fog/hookmanager.class.php(59): FOGController->save()\n#2 /var/www/fog/lib/fog/bootmenu.class.php(1157): HookManager->processEvent('IPXE_EDIT', Array)\n#3 /var/www/fog/lib/fog/bootmenu.class.php(197): BootMenu->_parseMe(Array)\n#4 /var/www/fog/service/ipxe/boot.php(35): BootMenu->__construct(Object(Host))\n#5 {main}\n  thrown in /var/www/fog/lib/db/pdodb.class.php on line 443
            
            

            Raymond Bell
            WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

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

              @raymond-bell Hmm, I see BootMenu mentioned in the logs. Sure this is exactly right when the installer fails on backing up the database?

              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

              Raymond BellR 2 Replies Last reply Reply Quote 0
              • Raymond BellR
                Raymond Bell Testers @Sebastian Roth
                last edited by

                @sebastian-roth Going to give it another try today and will send log

                Raymond Bell
                WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

                1 Reply Last reply Reply Quote 0
                • Raymond BellR
                  Raymond Bell Testers @Sebastian Roth
                  last edited by

                  @sebastian-roth Please close the ticket. I got it going.

                  Raymond Bell
                  WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

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

                    @raymond-bell said in Backing up database failed!:

                    @sebastian-roth Please close the ticket. I got it going.

                    Please explain what you did for others sake.

                    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!

                    Raymond BellR 1 Reply Last reply Reply Quote 1
                    • Raymond BellR
                      Raymond Bell Testers @george1421
                      last edited by

                      @george1421 I had downloaded the 6077 again and not 6078 🙂
                      END USER ERROR 🙂

                      Raymond Bell
                      WiKi: https://wiki.fogproject.org/wiki/index.php/Main_Page

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

                      206

                      Online

                      12.1k

                      Users

                      17.3k

                      Topics

                      155.3k

                      Posts
                      Copyright © 2012-2024 FOG Project