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

Cannot create host from webui

Scheduled Pinned Locked Moved
FOG Problems
2
4
1.6k
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
    Foglalt
    last edited by Sep 23, 2014, 3:51 PM

    Hi!

    I am making tests of 1.2 version as soon I will do an upgrade of working 0.32 version. Up to now some of my problems are solved, but a “funny” one I cannot figure out. On the web management page i cannot create hosts! Isnt it strange? I add details of host, select image, etc. click add, then page says up there host is added. But I cannot see no host in list. Even more, i can redo again and again, getting no error messages, so seems database is intact (same mac and host all time) and registers no actual hosts.

    Any suggestion where I can find solution?

    system: ubuntu 14.04 lts (stock install), and fog 1.2. Btw on ubutu 12.04 lts it works, that is not an option for understanding the problem to skip OS update. Once I will have to, so better be prepared.

    1 Reply Last reply Reply Quote 0
    • T
      Tom Elliott
      last edited by Sep 23, 2014, 4:19 PM

      Um, what?

      Do the hosts that you “register” exist in the DB? Yes you may have to actually peer into the real database to find out. Do you have ID Entries of 0?

      Maybe you could verify that the database for the hosts table is in working order running a repair on 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! 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
      • F
        Foglalt
        last edited by Sep 24, 2014, 6:44 AM

        hi!

        Sorry for not properly detailed question, I try to fill in some holes, and do more test. I did the approximate following to produce the issue: installed a stock, unmodified ubuntu 14.04 (I know about supported OS versions, but foregoing tests are needed for future), downloaded latest fog (1.2.0). Installation went ok on both sides. For my tests I needeed 1 host and 1 image, so I did preparation. Created the image (webui, put in file and os type details), was ok I could see it after page refresh, too. Created the host item (mac, os, image selection, etc). It said in the hovering info, host is added normally.

        I did some other preparation with the host itself, then I checked the host list. There came the surprise, no host is list. I checked the image, there it was. From that on I made test of creating hosts. Import csv, import from .sql files, all were ok, but manual host creation was still missing. I know that most of my hosts are registered from host itself or mass import as csv, but was completly shocked that i cannot create host from webui.

        As I have spare hw shortage now for test, I go back to virtual machines and do more test, get more information, too. As I am finished, i will fill in maybe more holes in informations. And ofc I did digging on forum for mentioning this before, but all I could find was not totally same issues, this is why I posted mine (basically no error in any logs and host is not craeated, with no warnings or so)

        more on it: I had no entry in host db at all. i can only see the image entry. Like i created host to /dev/nul 🙂

        [quote=“Tom Elliott, post: 36921, member: 7271”]Um, what?

        Do the hosts that you “register” exist in the DB? Yes you may have to actually peer into the real database to find out. Do you have ID Entries of 0?

        Maybe you could verify that the database for the hosts table is in working order running a repair on it?[/quote]

        1 Reply Last reply Reply Quote 0
        • F
          Foglalt
          last edited by Oct 21, 2014, 8:06 AM

          I know that I disappeared a bit with this issue, but as I wanted to make a reproducable version of this problem I created many virtual box instances to make a closer look on the problem. And now, for reason unknown, I cannot reproduce the issue. Hosts are created as I want them to be, etc. Really, really dont get the problem, what happened. If I again can reproduce the issue maybe I will be aware of the reasons.

          1 Reply Last reply Reply Quote 0
          • 1 / 1
          • First post
            Last post

          162

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project