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

    FOG 1.2.0 to FOG 1.5.9 import host csv error

    Scheduled Pinned Locked Moved
    FOG Problems
    2
    3
    346
    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.
    • P
      pascald73
      last edited by

      hello everyone,
      I am French, sorry for my English which must be a little poor.
      I have for many years a FOG 1.2.0 on Ubuntu 14.04.1 (on small pc desktop). with the new pc’s that come out I decided to migrate and make a new fog on a debian 10 (on virtual server).
      until I imported the images, make an export of the sql database from the interface. everything is imported except the csv hosts.
      when I import the csv host, the operation goes well but it shows me already existing host (no import).
      but when I look on all host I have no host.
      I see the groups with the hosts that are part of the group and as soon as I click on a host I get an empty page.
      Do I have a basic sql concern? where is the fact that I go from ubuntu to debian 10?
      did anyone have this problem? or do you have any ideas on how to fix it?
      Thank you in advance.
      very cordially
      pascal

      1 Reply Last reply Reply Quote 0
      • S
        Sebastian Roth Moderator
        last edited by

        @pascald73 Let me try to look at this from a different angle. Sounds like you did a SQL dump and CSV ex/import. That should not be needed. Simple SQL dump/import should add all the information to your database.

        • Clean install of Debian 10
        • Install mariadb-server and mariadb-client packages
        • SQL import of the dump you took from the 1.2.0 server
        • Run FOG 1.5.9 installer

        Not that I have recently tested this but I reckon this should work.

        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
        • P
          pascald73
          last edited by

          hello,
          I found the solution.
          looking at the databases, there are 5 fields on the fog 1.2.0 base and there are 9 fields for version 1.5.9.
          so the hots don’t appear.
          by importing the database on the new server and importing the csv host everything is ok.
          the export of the csv on the 1.2.0 server was with the separator ,
          I reworked the file with free office to put it in ;
          it works.
          I leave the solution here for old fogs who want to migrate to a new machine 🙂

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

          281

          Online

          12.0k

          Users

          17.3k

          Topics

          155.2k

          Posts
          Copyright © 2012-2024 FOG Project