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

Host ID was not set, or unable to be created

Scheduled Pinned Locked Moved Solved
FOG Problems
7
15
3.8k
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.
  • K
    klaron @Tom Elliott
    last edited by May 4, 2016, 8:25 PM

    @Tom-Elliott Ubuntu 14.04 LTS. Fog 1.2.0 svn 7484. It was working fine with 7274.

    1 Reply Last reply Reply Quote 0
    • S
      Sebastian Roth Moderator
      last edited by May 4, 2016, 8:46 PM

      I am unable to reproduce the issue on Ubuntu 14.04 (FOG 7484). Please enable mysql logging so we actually see the full mysql query and error you get. Edit the file /etc/mysql/my.cnf (14.04 - different file on 16.04 AFAIK) and uncomment the following two lines:

      general_log_file        = /var/log/mysql/mysql.log
      general_log             = 1
      

      Then restart the mysql daemon (sudo service mysql restart) and watch the mysql log via tail -f /var/log/mysql/mysql.log. You’ll see lot of queries and results. Try adding a host and post the query and error here in the forum. Don’t forget to disable (comment) the log settings later on.

      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
      • Z
        Zaarin
        last edited by May 6, 2016, 6:03 AM

        Hi,

        Problem fixed with the version 7492 but I dropped the database in order to update the schema. Is this normal?

        Is there a possibilities to force the update during the installation? Because no update when I see in the installation “You still need to update the database schema…” and go to /fog/management

        Thanks for your hard work,

        Zaza.

        1 Reply Last reply Reply Quote 0
        • Z
          Zaarin
          last edited by May 9, 2016, 5:49 AM

          Hi,

          The database upgrade is working now (version 7522).

          This topic can be closed.

          Thank you,

          Zaza.

          1 Reply Last reply Reply Quote 0
          • S
            Sebastian Roth Moderator
            last edited by May 9, 2016, 2:55 PM

            @Zaarin Thanks for letting us know! 🙂

            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
            • O
              oscar
              last edited by oscar May 12, 2016, 5:53 AM May 12, 2016, 11:50 AM

              I have the same problem with version 7593 and ubuntu 14.04.
              Attachment contents of files mysql.log and error.log:
              0_1463053791792_fog_mysql.log
              0_1463053977262_fog_mysql_error.log

              any idea how to fix it?
              THX.

              W 1 Reply Last reply May 12, 2016, 2:25 PM Reply Quote 0
              • W
                Wayne Workman @oscar
                last edited by May 12, 2016, 2:25 PM

                @oscar Is this a new fog build or existing?

                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/

                O 1 Reply Last reply Jun 7, 2016, 9:08 AM Reply Quote 0
                • S
                  Sebastian Roth Moderator
                  last edited by May 12, 2016, 4:23 PM

                  @oscar From the logs it doesn’t look like the SQL INSERT is failing… ?!?

                  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
                  • O
                    oscar @Wayne Workman
                    last edited by Jun 7, 2016, 9:08 AM

                    @Wayne-Workman this is a existing fog build. The first time I update trunk version had errors in the database. When upgrading a second time seems to fix. I think the problem is in the database update. Is there any way to leave it clean?

                    W 1 Reply Last reply Jun 7, 2016, 12:53 PM Reply Quote 0
                    • W
                      Wayne Workman @oscar
                      last edited by Jun 7, 2016, 12:53 PM

                      @oscar Seeing as your problem is a month old, my first suggestion is to update.

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

                      111

                      Online

                      12.2k

                      Users

                      17.4k

                      Topics

                      155.5k

                      Posts
                      Copyright © 2012-2024 FOG Project