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

    Backing up database - Failed - Rev 5952

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    23
    5.1k
    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
      GFm
      last edited by

      I tried updating to the latest svn, but it gives me the backing up database… Failed error.

      I tried doing it with the command no_proxy=“localhost” ./installfog.sh -y and it still does the same thing.

      Any ideas?

      Thanks!

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

        @GFm inside of /opt/fog/.fogsettings change snmysqlhost= to localhost and try again. If that fails, change it to 127.0.0.1 and try 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!
        Daily Clean Installation Results:
        https://fogtesting.fogproject.us/
        FOG Reporting:
        https://fog-external-reporting-results.fogproject.us/

        G 1 Reply Last reply Reply Quote 0
        • Wayne WorkmanW
          Wayne Workman
          last edited by

          What OS & version is this on?

          Are you running as root? If so, what command do you use to become root?

          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 G 2 Replies Last reply Reply Quote 0
          • Tom ElliottT
            Tom Elliott @Wayne Workman
            last edited by

            @Wayne-Workman I think it’s the line concat issue as described elsewhere which is corrected for in RC 10

            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

            G 1 Reply Last reply Reply Quote 0
            • G
              GFm @Wayne Workman
              last edited by

              @Wayne-Workman sorry! Ubuntu 13.10, fog rev5952 - Yes, running sudo no_proxy=“localhost” ./installfog.sh -y

              1 Reply Last reply Reply Quote 0
              • G
                GFm @Tom Elliott
                last edited by

                @Tom-Elliott Anything you suggest I try?

                Thanks guys!!

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

                  @GFm Just please wait for RC-10, or go back to RC-8 or 9.

                  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 2 Replies Last reply Reply Quote 0
                  • G
                    GFm @Wayne Workman
                    last edited by

                    @Wayne-Workman Gotcha… thank you!

                    1 Reply Last reply Reply Quote 0
                    • G
                      GFm @Wayne Workman
                      last edited by

                      @Wayne-Workman Sorry… how to I go about downgrading back to RC-9? I’ve used svn up on my trunk folder over and over, so I don’t have the last version downloaded.

                      Thanks again!

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

                        @GFm Go to Sourceforge and find the commit number you want. Look at the commit messages to figure this out. Then follow the bottom of this, where it says “Update to revision”.
                        https://wiki.fogproject.org/wiki/index.php?title=Upgrade_to_Revision

                        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 2 Replies Last reply Reply Quote 0
                        • G
                          GFm @Wayne Workman
                          last edited by

                          @Wayne-Workman Great, thank you!

                          1 Reply Last reply Reply Quote 0
                          • G
                            GFm @Wayne Workman
                            last edited by GFm

                            @Wayne-Workman @Tom-Elliott
                            I tried going backwards (rc-8 and 5934 as well), but now I get the attached pic.0_1473348698188_Capture.PNG

                            I checked out that config.class.php and it shows the correct settings to my DB, and I also restarted the mysql service, but no luck.

                            I can open a new post if you want since this is kind of separate, just let me know.

                            Thanks!

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

                              @GFm So you attempted updating… a day ago, and it failed? You should find a db backup inside of /home with a date and time in it’s name. Just import that, and then try to move to RC-9.

                              The way you import them (without mysql pass) is:
                              mysql < file

                              with a password:
                              mysql -u root -p < file

                              This is covered in more detail here:
                              https://wiki.fogproject.org/wiki/index.php?title=Troubleshoot_MySQL#Manually_export_.2F_import_Fog_database

                              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 Reply Quote 0
                              • G
                                GFm @Wayne Workman
                                last edited by

                                @Wayne-Workman When I look at this, all the backups from recent show 0. The last backup with data is April, but I know I updated in July and see no backups.
                                0_1473351964708_upload-fd94d00a-b115-44a6-9b09-67a1f79c2d9b

                                I went into my fog database in mysql… Inside it had data, so it is there. Any other ideas to try and get this working since I can’t restore one of those mysql backups?

                                Thanks a lot!

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

                                  @GFm well… I guess this makes sense. Your installation fails at “backing up db” and the backups are 0 size.

                                  @Tom-Elliott do you have thoughts on what is best to do?

                                  I guess you could move to working-RC-10. This requires some special commands, message me for details.

                                  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 Reply Quote 0
                                  • G
                                    GFm @Wayne Workman
                                    last edited by

                                    @Wayne-Workman Tried updating to RC-10 and it gave me the same error as before about invalid database. Here is my config.class.php fil that it said to check out… Are my settings OK?

                                    0_1473355933285_upload-62bbd8b1-5e47-4a6a-adf4-be7a97ee958f

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

                                      @GFm from terminal what happens if you run mysql -u root

                                      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

                                      G 1 Reply Last reply Reply Quote 0
                                      • Wayne WorkmanW
                                        Wayne Workman @GFm
                                        last edited by

                                        @GFm inside of /opt/fog/.fogsettings change snmysqlhost= to localhost and try again. If that fails, change it to 127.0.0.1 and try 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!
                                        Daily Clean Installation Results:
                                        https://fogtesting.fogproject.us/
                                        FOG Reporting:
                                        https://fog-external-reporting-results.fogproject.us/

                                        G 1 Reply Last reply Reply Quote 0
                                        • G
                                          GFm @Tom Elliott
                                          last edited by

                                          @Tom-Elliott 0_1473356604761_upload-43da5188-7371-4419-84d4-5d0e4779179f

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

                                            @GFm and same command but with -h 127.0.0.1

                                            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
                                            • G
                                              GFm @Wayne Workman
                                              last edited by

                                              @Wayne-Workman same as before… tried both and restarted mysql service each time

                                              0_1473356737831_upload-2773b8b6-5476-4bb4-a0a0-c7660a5b9fd7

                                              Wayne WorkmanW 1 Reply Last reply Reply Quote 0
                                              • 1
                                              • 2
                                              • 1 / 2
                                              • First post
                                                Last post

                                              198

                                              Online

                                              12.0k

                                              Users

                                              17.3k

                                              Topics

                                              155.2k

                                              Posts
                                              Copyright © 2012-2024 FOG Project