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

Database Update/Install Failed!

Scheduled Pinned Locked Moved
FOG Problems
database error installation mysql installer
3
4
2.9k
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.
  • P
    Ph3noM
    last edited by Ph3noM Dec 22, 2015, 2:24 PM Dec 22, 2015, 8:23 PM

    Hello everybody!

    I’m trying to install Fog 1.2.0 on a Debian 8 Jessy,
    But when i upgrade (from a browser) the database, it fails and I get this message:
    http://image.noelshack.com/fichiers/2015/52/1450814349-fog-bdd-error.png

    I don’t know what to do, i tried to re-install debian ( 7 & 8 ), but always the same problem.

    I hope someone will help me, and pardon my english. 😅
    (I have not found solution on the web…)

    Thanks guys !

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Dec 22, 2015, 8:30 PM

      Please try looking at the /opt/fog/.fogsettings file and edit the snmysqlhost field to be either local host or the IP address of your fog server then 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! 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
      • P
        Ph3noM
        last edited by Dec 22, 2015, 8:45 PM

        I just install mysql-client and -server on a new vm before starting the fog installation aaaaand it works! 😁
        But when i look at the snmysqlhost field, it’s empty… Is it normal?

        Anyway thank you very much for your prompt response!

        W 1 Reply Last reply Dec 22, 2015, 10:30 PM Reply Quote 0
        • W
          Wayne Workman @Ph3noM
          last edited by Wayne Workman Dec 22, 2015, 4:31 PM Dec 22, 2015, 10:30 PM

          @Ph3noM Fog doesn’t set a DB password - if fog sets up the DB on a new server, it’s left blank. The installer (at least in FOG 1.3.0 beta) asks you for a DB password just in case you set one in the back end. And of course if that’s the case (and 99% of the time it is) then the field in /opt/fog/.fogsettings would be blank as well.

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

          164

          Online

          12.1k

          Users

          17.3k

          Topics

          155.3k

          Posts
          Copyright © 2012-2024 FOG Project