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

    Backing up database... Failed!

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    15
    3.0k
    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.
    • W
      WourN
      last edited by

      as I said, this is before I update SVN. Will run svn upgrade now

      1 Reply Last reply Reply Quote 0
      • W
        WourN @Tom Elliott
        last edited by

        @Tom-Elliott all right, I ran svn up
        Now I need to run ./installfog.sh again right?

        Q 1 Reply Last reply Reply Quote 0
        • Q
          Quazz Moderator @WourN
          last edited by

          @WourN That’s correct.

          1 Reply Last reply Reply Quote 1
          • W
            WourN @Tom Elliott
            last edited by

            @Tom-Elliott @quazz All right so now I ran installfog.
            I got the php… Failed!! as expected because I have the 5.6 version.
            so I uninstalled it, and now it’s installing the 5.3.3 version again.
            So, running ./installfog.sh right now, and Backing up database… Failed!!
            Also, the webGUI is now blank.

            What now?

            Q Tom ElliottT 2 Replies Last reply Reply Quote 0
            • Q
              Quazz Moderator @WourN
              last edited by

              @WourN I believe this is an issue due to Centos 6 officially only supporting PHP5.3 so that’s what’s in the default repo. However, FOG should be able to install the correct version.

              Only thing I can think off is that you have to remove the packages= line from /opt/fog/.fogsettings

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

                @WourN What do you mean?

                “Failed!! as expected because I have the 5.6 version.”?

                That is supposed to be the case.

                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

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

                  Try this:

                  wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
                  sudo rpm -Uvh epel-release-6*.rpm
                  wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
                  sudo rpm -Uvh remi-release-6*.rpm
                  

                  Then retry installing FOG.

                  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
                  • W
                    WourN @Tom Elliott
                    last edited by

                    @Tom-Elliott @Quazz
                    Running yum update or yum install php will install the 5.3.3 version. If I let fog install php, it will still be the 5.3.3 version.
                    I found a way to install 5.6, so that the webgui could work. But running ./installfog with the 5.6 installed, results in Php… Failed!
                    Anyway, I’ve remove the packages line from fogsettings, but I’m still getting failed on backing up database

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

                      I know I need to be patient, but did you try the commands I just posted?

                      wget https://dl.fedoraproject.org/pub/epel/epel-release-latest-6.noarch.rpm
                      sudo rpm -Uvh epel-release-6*.rpm
                      wget http://rpms.famillecollet.com/enterprise/remi-release-6.rpm
                      sudo rpm -Uvh remi-release-6*.rpm

                      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

                      W 1 Reply Last reply Reply Quote 0
                      • W
                        WourN @Tom Elliott
                        last edited by

                        @Tom-Elliott Sorry I was at lunch.
                        But Elliot, you are a legend. It works now. No errors, and the webgui works. Gonna make a new image and try upload/download and all that.
                        I’m not good with linux in general, what did those commands do exactly?

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

                          @WourN The installer should have taken care of it for you (but most people installing fog tend toward fresh which means they’re likely installing CentOS 7). Basically, those commands downloaded and installed the repositories FOG is supposed to be installing for you.

                          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 1
                          • 1 / 1
                          • First post
                            Last post

                          162

                          Online

                          12.0k

                          Users

                          17.3k

                          Topics

                          155.2k

                          Posts
                          Copyright © 2012-2024 FOG Project