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

Importing Host Not Working

Scheduled Pinned Locked Moved Solved
FOG Problems
3
5
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.
  • L
    LJedi
    last edited by May 24, 2017, 9:02 PM

    SERVER
    • FOG Version: 1.4.0
    • OS: Ubuntu

    DESCRIPTION
    Importing fails when trying to import host under Host Management. The CSV file looks good with about 200 entries. But when importing that CSV file, the Import Host Results (Total Rows, Successful Host, Failed Host, and Errors) are 0.

    1 Reply Last reply Reply Quote 0
    • G
      george1421 Moderator
      last edited by May 24, 2017, 9:18 PM

      when you created the import file, you started with an export to get the file’s structure?

      Is this a new fog 1.4.0 server you are importing to (i.e. no records in the database already)?

      This is just a guess, but I would look at the apache error log to see if it threw an error on the import.

      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!

      1 Reply Last reply Reply Quote 0
      • T
        Tom Elliott
        last edited by May 25, 2017, 1:30 AM

        Also, do those hosts already exist in your database?

        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
        • T
          Tom Elliott
          last edited by May 25, 2017, 3:01 AM

          I just tested the import. All seems correct.

          Remember the host csv file MUST be in the format:

          <mac>,<hostname>, etc…

          at a minimum it must have the mac and hostname.

          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

          L 1 Reply Last reply May 25, 2017, 9:30 PM Reply Quote 0
          • L
            LJedi @Tom Elliott
            last edited by May 25, 2017, 9:30 PM

            @Tom-Elliott Thanks Tom. I went ahead and deleted all the columns and just left the <mac> and <hostname> and they imported successfully.

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

            143

            Online

            12.0k

            Users

            17.3k

            Topics

            155.2k

            Posts
            Copyright © 2012-2024 FOG Project