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

database update failed after capture

Scheduled Pinned Locked Moved Solved
FOG Problems
6
37
9.9k
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.
  • G
    george1421 Moderator @alansopro
    last edited by Aug 1, 2016, 3:02 PM

    @alansopro ?? Was the target computer ??, Um ok.

    As for the nfs service, have you rebooted your FOG server since the upgrade.

    You can check the status of nfs with the following command: showmount -e 127.0.0.1 That should list the exported shares from /etc/exports.

    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!

    A 1 Reply Last reply Aug 1, 2016, 5:26 PM Reply Quote 0
    • P
      phishphan
      last edited by Aug 1, 2016, 4:04 PM

      I received the same error message on 1.3.0 RC5. Right when the image was just about to finish it said Update Database Failed and then rebooted. This thread is somewhat confusing. Was there a fix posted for this?

      G W 2 Replies Last reply Aug 1, 2016, 4:13 PM Reply Quote 0
      • G
        george1421 Moderator @phishphan
        last edited by Aug 1, 2016, 4:13 PM

        @phishphan You are correct the OP seems to have several issues, but in your case please follow the suggestion by @Quazz https://forums.fogproject.org/topic/8236/database-update-failed-after-capture/5 and see if your issue is the FTP user account

        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!

        W 1 Reply Last reply Aug 1, 2016, 4:21 PM Reply Quote 1
        • W
          Wayne Workman @george1421
          last edited by Aug 1, 2016, 4:21 PM

          @george1421 it is an ftp issue. the storage management pass was changed, and a gui user wasn’t defined in .fogsettings, and the wrong pass defined in there too.

          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/

          G 1 Reply Last reply Aug 1, 2016, 4:44 PM Reply Quote 0
          • G
            george1421 Moderator @Wayne Workman
            last edited by Aug 1, 2016, 4:44 PM

            @Wayne-Workman said in database update failed after capture:

            @george1421 it is an ftp issue. the storage management pass was changed, and a gui user wasn’t defined in .fogsettings, and the wrong pass defined in there too.

            Is this a systemic issue with the 1.3.0-rcX upgrade script? We’ve seen quite a few of these exact issues in the last few days??

            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!

            W 1 Reply Last reply Aug 1, 2016, 4:49 PM Reply Quote 0
            • W
              Wayne Workman @george1421
              last edited by Aug 1, 2016, 4:49 PM

              @george1421 said in database update failed after capture:

              Is this a systemic issue with the 1.3.0-rcX upgrade script? We’ve seen quite a few of these exact issues in the last few days??

              It’s systemic only because people don’t know that they really should define fog web ui user and pass inside of /opt/fog/.fogsettings exactly like the installer says. Additionally, people are changing the Storage Management DefaultMember password without realizing that they must too change the password setting in .fogsettings, and re-run the installer, or do it all manually.

              You know what I think?
              @Tom-Elliott I think if people change the Storage Management password, that the new password should be tried against that node before being stored in the DB. If an FTP connection fails with the new credentials, show a big fat message saying the credentials are bad and won’t be stored, and to first update .fogsettings and re-run the installer, and that they ought to have web ui credentials defined too so the installer can auto-update the node’s password FOR them.

              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 1
              • W
                Wayne Workman
                last edited by Aug 1, 2016, 4:52 PM

                IMHO, even requiring ui credentials inside .fogsettings creates an unnecessary complexity for fog. When I setup this initially using just BASH, it didn’t require any such ui credentials, but only access to the DB, which the main already has, and a remote node has because the user has to enter the fogstorage credentials. The new way Tom has it setup is php based, and requires valid web interface credentials.

                I’ve discussed this with Tom at great length several times, he feels differently.

                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
                • A
                  alansopro @george1421
                  last edited by Aug 1, 2016, 5:26 PM

                  @george1421 When running the showmount -e 127.0.0.1 in SSH it gives me a Port mapper failure - timed out error.

                  I did reboot the system but I mounted the external drive back using mount --bind /media/EXT /images/EXT

                  T 1 Reply Last reply Aug 1, 2016, 5:27 PM Reply Quote 0
                  • T
                    Tom Elliott @alansopro
                    last edited by Aug 1, 2016, 5:27 PM

                    @alansopro Try:

                    service rpcbind restart; service nfsd restart

                    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

                    A 1 Reply Last reply Aug 1, 2016, 5:28 PM Reply Quote 1
                    • A
                      alansopro @Tom Elliott
                      last edited by Aug 1, 2016, 5:28 PM

                      @Tom-Elliott NFSD is an unrecognized service.

                      1 Reply Last reply Reply Quote 0
                      • T
                        Tom Elliott
                        last edited by Aug 1, 2016, 5:29 PM

                        again, what information do we have?

                        What’s the OS you’re running?

                        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

                        A 1 Reply Last reply Aug 1, 2016, 5:35 PM Reply Quote 0
                        • A
                          alansopro @Tom Elliott
                          last edited by Aug 1, 2016, 5:35 PM

                          @Tom-Elliott Sorry I’m running CentOS 6.8 Final /w FOG 1.3.0 RC4 (Trying to upgrade to RC5 but fails on the NFS setting up/starting step.

                          T 1 Reply Last reply Aug 1, 2016, 5:36 PM Reply Quote 0
                          • T
                            Tom Elliott @alansopro
                            last edited by Aug 1, 2016, 5:36 PM

                            @alansopro If you replace nfsd with just nfs does it work?

                            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

                            A 1 Reply Last reply Aug 2, 2016, 10:20 AM Reply Quote 0
                            • W
                              Wayne Workman @phishphan
                              last edited by Aug 1, 2016, 11:28 PM

                              @phishphan 's issue was FTP credentials. I helped him get it sorted.

                              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
                              • A
                                alansopro @Tom Elliott
                                last edited by Aug 2, 2016, 10:20 AM

                                @Tom-Elliott

                                This is what I get when trying to restart it.

                                service nfs restart
                                Shutting down NFS daemon: [ OK ]
                                Shutting down NFS mountd: [ OK ]
                                Shutting down NFS quotas: [FAILED]
                                Shutting down NFS services: [ OK ]
                                Shutting down RPC idmapd: [ OK ]
                                Starting NFS services: [ OK ]
                                Starting NFS quotas: kCannot register service: RPC: Timed out
                                rpc.rquotad: unable to register (RQUOTAPROG, RQUOTAVERS, udp).

                                A 1 Reply Last reply Aug 2, 2016, 10:33 AM Reply Quote 0
                                • A
                                  alansopro @alansopro
                                  last edited by alansopro Aug 2, 2016, 5:43 AM Aug 2, 2016, 10:33 AM

                                  Yet this morning I restarted it and everything is fine. So I’m really confused. Let me try capturing an image again…

                                  EDIT:

                                  I was able to get it working and I searched the apache logs and found an error on on a fogmanagement file which someone else had a topic on and had to remove a & symbol. Everything seems to be good and the image was captured. Thank you.

                                  W 1 Reply Last reply Aug 3, 2016, 12:02 AM Reply Quote 2
                                  • W
                                    Wayne Workman @alansopro
                                    last edited by Wayne Workman Aug 2, 2016, 6:03 PM Aug 3, 2016, 12:02 AM

                                    @alansopro Why not use CentOS 7? It is free, and newer. We even have this spiffy tutorial for it: https://wiki.fogproject.org/wiki/index.php?title=CentOS_7

                                    Clearly the build you have has issues. These would likely be resolved in 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!
                                    Daily Clean Installation Results:
                                    https://fogtesting.fogproject.us/
                                    FOG Reporting:
                                    https://fog-external-reporting-results.fogproject.us/

                                    1 Reply Last reply Reply Quote 0
                                    • 1
                                    • 2
                                    • 2 / 2
                                    2 / 2
                                    • First post
                                      21/37
                                      Last post

                                    169

                                    Online

                                    12.0k

                                    Users

                                    17.3k

                                    Topics

                                    155.2k

                                    Posts
                                    Copyright © 2012-2024 FOG Project