• Recent
  • Unsolved
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Register
  • Login
  • 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 Sep 7, 2016, 1:44 PM

    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
    • W
      Wayne Workman @GFm
      last edited by Sep 8, 2016, 5:42 PM

      @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 Sep 8, 2016, 5:46 PM Reply Quote 0
      • W
        Wayne Workman
        last edited by Sep 7, 2016, 3:00 PM

        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/

        T G 2 Replies Last reply Sep 7, 2016, 3:27 PM Reply Quote 0
        • T
          Tom Elliott @Wayne Workman
          last edited by Sep 7, 2016, 3:27 PM

          @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 Sep 8, 2016, 11:43 AM Reply Quote 0
          • G
            GFm @Wayne Workman
            last edited by Sep 7, 2016, 4:02 PM

            @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 Sep 8, 2016, 11:43 AM

              @Tom-Elliott Anything you suggest I try?

              Thanks guys!!

              W 1 Reply Last reply Sep 8, 2016, 12:30 PM Reply Quote 0
              • W
                Wayne Workman @GFm
                last edited by Wayne Workman Sep 8, 2016, 6:30 AM Sep 8, 2016, 12:30 PM

                @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 Sep 8, 2016, 12:34 PM Reply Quote 0
                • G
                  GFm @Wayne Workman
                  last edited by Sep 8, 2016, 12:34 PM

                  @Wayne-Workman Gotcha… thank you!

                  1 Reply Last reply Reply Quote 0
                  • G
                    GFm @Wayne Workman
                    last edited by Sep 8, 2016, 1:30 PM

                    @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!

                    W 1 Reply Last reply Sep 8, 2016, 1:46 PM Reply Quote 0
                    • W
                      Wayne Workman @GFm
                      last edited by Sep 8, 2016, 1:46 PM

                      @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 Sep 8, 2016, 1:51 PM Reply Quote 0
                      • G
                        GFm @Wayne Workman
                        last edited by Sep 8, 2016, 1:51 PM

                        @Wayne-Workman Great, thank you!

                        1 Reply Last reply Reply Quote 0
                        • G
                          GFm @Wayne Workman
                          last edited by GFm Sep 8, 2016, 9:34 AM Sep 8, 2016, 3:33 PM

                          @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!

                          W 1 Reply Last reply Sep 8, 2016, 4:02 PM Reply Quote 0
                          • W
                            Wayne Workman @GFm
                            last edited by Sep 8, 2016, 4:02 PM

                            @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 Sep 8, 2016, 4:28 PM Reply Quote 0
                            • G
                              GFm @Wayne Workman
                              last edited by Sep 8, 2016, 4:28 PM

                              @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!

                              W 1 Reply Last reply Sep 8, 2016, 4:31 PM Reply Quote 0
                              • W
                                Wayne Workman @GFm
                                last edited by Wayne Workman Sep 8, 2016, 10:33 AM Sep 8, 2016, 4:31 PM

                                @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 Sep 8, 2016, 5:32 PM Reply Quote 0
                                • G
                                  GFm @Wayne Workman
                                  last edited by Sep 8, 2016, 5:32 PM

                                  @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

                                  T W 2 Replies Last reply Sep 8, 2016, 5:42 PM Reply Quote 0
                                  • T
                                    Tom Elliott @GFm
                                    last edited by Sep 8, 2016, 5:42 PM

                                    @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 Sep 8, 2016, 5:43 PM Reply Quote 0
                                    • W
                                      Wayne Workman @GFm
                                      last edited by Sep 8, 2016, 5:42 PM

                                      @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 Sep 8, 2016, 5:46 PM Reply Quote 0
                                      • G
                                        GFm @Tom Elliott
                                        last edited by Sep 8, 2016, 5:43 PM

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

                                        T 1 Reply Last reply Sep 8, 2016, 5:44 PM Reply Quote 0
                                        • T
                                          Tom Elliott @GFm
                                          last edited by Tom Elliott Sep 8, 2016, 11:44 AM Sep 8, 2016, 5:44 PM

                                          @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 Sep 8, 2016, 5:46 PM

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

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

                                            W 1 Reply Last reply Sep 8, 2016, 5:48 PM Reply Quote 0
                                            • 1
                                            • 2
                                            • 1 / 2
                                            1 / 2
                                            • First post
                                              3/23
                                              Last post

                                            232

                                            Online

                                            12.0k

                                            Users

                                            17.3k

                                            Topics

                                            155.2k

                                            Posts
                                            Copyright © 2012-2024 FOG Project