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

    Backing up database Failed on install

    Scheduled Pinned Locked Moved Solved
    FOG Problems
    3
    6
    315
    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.
    • R
      Rogsninja
      last edited by Rogsninja

      Everything thing else seems to be working fine during the install however it always fails at the step of backing up the database. Is there anyway to skip this step?Fog install.png

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

        Did you disable selinux and firewall?

        What version of FOG are you installing?

        What version of CentOS are you running off of?

        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
        • R
          Rogsninja
          last edited by

          This time I didn’t disable the firewall however I have before and got this same error. I’m running CentOS 8.0 and I’m using the most recent version of fog I downloaded it using git so i’m not sure of the exact version. If you want I can run the install again with the firewall off.

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

            @Rogsninja What is the “latest version of fog”?

            Did you pull from master? If so then you’re running a version that isn’t going to install properly on CentOS 8 as it was released before CentOS 8 was released, and some things changed between CentOS 7 and 8 that required changes.

            As you are installing from git, you can change the branch to dev-branch by running:

            cd /your/path/to/git/fogproject
            git checkout dev-branch
            git pull
            cd bin
            ./installfog.sh -y
            

            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

            R 1 Reply Last reply Reply Quote 0
            • R
              Rogsninja @Tom Elliott
              last edited by

              @Tom-Elliott this is what I have been using.
              sudo -i
              cd /root
              git clone https://github.com/FOGProject/fogproject.git
              cd /root/fogproject/bin
              ./installfog.sh
              however I just checked and it says the firewall is off but it when I just installed it was still detected as on. Can you tell me how to disable selinux because I think I missed that one.
              fog intall firewall.png

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

                @Tom-Elliott said in Backing up database Failed on install:

                git checkout dev-branch

                @Rogsninja As Tom said, you need to use the latest dev-branch version as there were issues due to the CentOS 8 release that came out after we had published 1.5.7 (latest official FOG version).

                About install errors in general: The installer creates logs. Please take a look at /root/fogproject/bin/error_logs/fog_error_1.5.7.log and post the full content or a least the last 10 lines of that file here in the forums.

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

                161

                Online

                12.1k

                Users

                17.3k

                Topics

                155.3k

                Posts
                Copyright © 2012-2024 FOG Project