Importing Host Not Working



  • 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.



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


  • Senior Developer

    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.


  • Senior Developer

    Also, do those hosts already exist in your database?


  • Moderator

    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.


Log in to reply
 

443
Online

39003
Users

10717
Topics

101764
Posts

Looks like your connection to FOG Project was lost, please wait while we try to reconnect.