• 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.4k
    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.
    • S
      Sebastian Roth Moderator
      last edited by

      @Zaarin AFAIK this should be fixed in version 7430 already. Kind of strange. Is this Ubuntu 16.04? Fresh install?

      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 1
      • K
        klaron
        last edited by

        I am running 7484 and am having the same problem.

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

          @klaron os and version of fog server?

          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

          K 1 Reply Last reply Reply Quote 0
          • K
            klaron @Tom Elliott
            last edited by

            @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

              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
              • ZaarinZ
                Zaarin
                last edited by

                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
                • ZaarinZ
                  Zaarin
                  last edited by

                  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

                    @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

                      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.

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

                        @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 Reply Quote 0
                        • S
                          Sebastian Roth Moderator
                          last edited by

                          @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

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

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

                              @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

                              210

                              Online

                              12.0k

                              Users

                              17.3k

                              Topics

                              155.2k

                              Posts
                              Copyright © 2012-2024 FOG Project