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

    Solved Fresh Debian 9 FOG server install no database?

    FOG Problems
    4
    8
    664
    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.
    • F
      fpuser last edited by

      Installed a fresh copy of Debian 9, GIT, PHP 7.0, and MariaDB. I configured a MySQL root password (mysql -u root -p) and then ran through the FOG project setup. Answered all questions (most default values) and entered the MySQL root password when requested. No errors were generated but, when the installer reached the pause for schema update I find that connection to the management interface fails.

      Pointing a local browser to http://localhost/fog/management displays the message “Database connection unavailable”.

      I checked for a list of MySQL databases and don’t see one named FOG.

      What should I do next to figure out what’s gone wrong?

      Thanks!

      Wayne Workman 1 Reply Last reply Reply Quote 0
      • R
        royassas last edited by royassas

        I got it sorted out by mistake (i hit enter to early while trying to enter MariaDBs shell - without a password). I entered a mysql password during installation, but it seems like this didn’t get set in MariaDB. I started MariaDB as root with no password entered and could then change the root passwort to what it was supposed to be.

        1 Reply Last reply Reply Quote 0
        • R
          royassas last edited by

          Although this thread is quite old. I have the same problem. The installation ran without hiccups. The mentioned logs don’t show any problems. my MariaDB only contains the root user. @fpuser: Have you found a solution?

          1 Reply Last reply Reply Quote 0
          • Wayne Workman
            Wayne Workman @Tom Elliott last edited by

            @tom-elliott for the installer?

            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
            • Tom Elliott
              Tom Elliott @Wayne Workman last edited by

              @wayne-workman I believe it’s literally, error_logs

              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

              Wayne Workman 1 Reply Last reply Reply Quote 1
              • Wayne Workman
                Wayne Workman @fpuser last edited by

                @fpuser Check both the installation logs and the apache error logs - the installer does do some PHP stuff and errors from that are in the apache error log. On Debian9 that should be in /var/log/apache2/error.log Also the installer logs would be in your cloned repo of fogproject, inside the bin directory. the installer makes a new directory in there - and for the life of me I can never remember the name of it.

                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 Elliott 1 Reply Last reply Reply Quote 0
                • F
                  fpuser last edited by

                  Verified password and repeated install on clean OS build a couple times with the same result.

                  How do I check the FOGP version?
                  I ran the command > git clone https://github.com/FOGProject/fogproject.git

                  I’m a complete noob and fully expect that I’ve missed something that would be obvious to others. Sorry about that.

                  Thanks for pointing me in the direction of the logs, I’ll check them out and get back to the thread with more specific info.

                  Thanks!

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

                    @fpuser Maybe you fat-fingered the password entry? Try again. Also, what version of FOG?
                    Also, there would be errors in the installation log. This is in a new directory the installer makes inside the bin directory.

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

                    185
                    Online

                    10.4k
                    Users

                    16.4k
                    Topics

                    150.5k
                    Posts

                    Copyright © 2012-2023 FOG Project