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

Fresh Debian 9 FOG server install no database?

Scheduled Pinned Locked Moved Solved
FOG Problems
4
8
1.2k
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 Jul 11, 2018, 9:58 PM

    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!

    W 1 Reply Last reply Jul 12, 2018, 12:45 AM Reply Quote 0
    • W
      Wayne Workman @fpuser
      last edited by Wayne Workman Jul 11, 2018, 6:46 PM Jul 12, 2018, 12:45 AM

      @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
      • F
        fpuser
        last edited by Jul 12, 2018, 3:43 PM

        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!

        W 1 Reply Last reply Jul 12, 2018, 9:07 PM Reply Quote 0
        • W
          Wayne Workman @fpuser
          last edited by Jul 12, 2018, 9:07 PM

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

          T 1 Reply Last reply Jul 12, 2018, 11:57 PM Reply Quote 0
          • T
            Tom Elliott @Wayne Workman
            last edited by Jul 12, 2018, 11:57 PM

            @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

            W 1 Reply Last reply Jul 13, 2018, 2:35 AM Reply Quote 1
            • W
              Wayne Workman @Tom Elliott
              last edited by Jul 13, 2018, 2:35 AM

              @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
              • R
                royassas
                last edited by Nov 18, 2018, 7:40 PM

                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
                • R
                  royassas
                  last edited by royassas Nov 18, 2018, 1:52 PM Nov 18, 2018, 7:51 PM

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

                  183

                  Online

                  12.2k

                  Users

                  17.3k

                  Topics

                  155.5k

                  Posts
                  Copyright © 2012-2024 FOG Project