Community
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    • Register
    • Login

    Import Probleme

    Scheduled Pinned Locked Moved Betrieb
    13 Posts 4 Posters 3.8k Views 1 Watching
    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.
    • D Offline
      dbluemer
      last edited by

      Hallo,

      bitte mal folgende Statements ausführen:

      
      ALTER TABLE isys_catg_application_list DROP FOREIGN KEY isys_catg_application_list_ibfk_5;
      
      ALTER TABLE `isys_catg_application_list`
      ADD FOREIGN KEY ( `isys_catg_application_list__isys_obj__id` )
      REFERENCES `isys_obj` (`isys_obj__id`) ON DELETE CASCADE ON UPDATE CASCADE ;
      
      

      Danach sollte das Ganze wieder glatt sein.

      1 Reply Last reply Reply Quote 0
      • T Offline
        tlasrich
        last edited by

        Hallo,

        das ausführen der Statements ist leider beim zweiten Statement fehlgeschlagen. Die Fehlermeldung habe ich als Grafik angefügt.

        Gruß
        Thorsten

        Fehlermeldung Import.JPG

        1 Reply Last reply Reply Quote 0
        • D Offline
          dbluemer
          last edited by

          Dann bitte noch Folgendes Statement ausführen und danach nochmals das zweite:

          
          DELETE FROM isys_catg_application_list WHERE isys_catg_application_list__isys_obj__id NOT IN (SELECT isys_obj__id FROM isys_obj);
          
          
          1 Reply Last reply Reply Quote 0
          • T Offline
            tlasrich
            last edited by

            Hallo,

            das ausführen der Statements war erfolgreich, werde gleich mal einen erneuten Importversuch starten.

            Gruß
            Thorsten

            1 Reply Last reply Reply Quote 0
            • K Offline
              klaeuser
              last edited by

              So, ich hab jetzt mal auf dem System einen Importversuch gestartet.
              Es kommt keine Fehlermeldung und der Rechner erscheint in der gewählten Kategorie

              Allerdings importiert er nicht alle Daten, wie z.B Hersteller, CPU oder Seriennummer - obwohl alles im Inventory-File steht.
              Vor dem Update hat das noch geklappt

              Ich hab mal die Übersichtsseite als Bild angehängt

              Daten.JPG

              1 Reply Last reply Reply Quote 0
              • T Offline
                tlasrich
                last edited by

                Hallo,

                so habe parallel zu meinem Kollegen den gleichen Import von der Konsole aus getätigt:

                _* Loading module: import
                * Logging in

                *   Connected to mandator: 1 ()
                *   Logged in as: admin
                *   –----------------------------------------------
                *   i-doit import
                *   –----------------------------------------------
                *   Import-Handler initialized (2010-02-17 12:03:13)
                *   Loading Import: imports/ecpcnmars011-1072832.xml of type inventory
                *   Parsing imported data..
                *   Importing host: ecpcnmars011
                *   Scantime: 09.02.2010 13:56:14
                [+] Creating object..
                *   Created object-id: 1160
                *   Category mode
                [+] |- g_model.. done
                [+] |- g_cpu.. done
                [+] |- g_memory.. done
                [+] |- g_stor.. done
                [+] |- g_network_interface.. done
                [+] |- g_graphic.. done
                [+] |- g_ui.. done
                [+] |- g_controller.. done
                [+] |- g_application… done
                [+] |- s_client.. done
                *   Import done.
                *   Logging out
                
                Der Import wird erfolgreich abgeschlossen, dennoch fehlen die Informationen zu CPU, Modell, usw.
                
                Gruß
                Thorsten_
                
                1 Reply Last reply Reply Quote 0
                • dsD Offline
                  ds
                  last edited by

                  Die aktuelle Version des Import Handlers (idoit import 0.9.9) sollte einen Fix für dieses Problem beinhalten. (Die Dateien in src/classes/cmdb/dao/category/global/) Schaut mal bitte ob die Dateien mit denen aus dem Paket überschrieben wurden

                  1 Reply Last reply Reply Quote 0
                  • T Offline
                    tlasrich
                    last edited by

                    hallo,

                    wenn ich auf dem Downloadserver nachsehe, finde ich dort nur das import-Update-0.9.8-3, oder ist das gemeint?

                    Gruß
                    Thorsten

                    1 Reply Last reply Reply Quote 0
                    • dsD Offline
                      ds
                      last edited by

                      Nein 0.9.9 ist schon richtig - muss auch eigentlich da sein habe ich gerade verifiziert

                      1 Reply Last reply Reply Quote 0
                      • T Offline
                        tlasrich
                        last edited by

                        Guten Morgen,

                        nachdem ich gestern noch einmal die richtige Download-Url abgeglichen habe, konnte ich auch das neue Update-Paket finden.

                        Mein Import-Log sieht nun wie folgt aus:

                        _* Loading module: import
                        * –----------------------------------------------
                        * i-doit import
                        * –----------------------------------------------
                        * Import-Handler initialized (2010-02-18 05:17:23)
                        * Loading Import: imports/ecpcnmars011-1072832.xml of type inventory
                        * Parsing imported data..
                        * Importing host: ecpcnmars011
                        * Scantime: 09.02.2010 13:56:14
                        [+] Creating object..
                        * Created object-id: 1161
                        * Category mode
                        [+] |- g_model.. done
                        [+] |- g_cpu.. done
                        [+] |- g_memory.. done
                        [+] |- g_stor.. done
                        [+] |- g_network_interface.. done
                        [+] |- g_graphic.. done
                        [+] |- g_ui.. done
                        [+] |- g_controller.. done
                        [+] |- g_application… done
                        [+] |- s_client.. done
                        * Import done.

                        Ein erster Blick in den importierten Eintrag sieht vielversprechend aus, fehlende Informationen sind nun vorhanden. Werde noch ein paar abschließende Tests machen.
                        
                        Gruß
                        Thorsten_
                        
                        1 Reply Last reply Reply Quote 0
                        • First post
                          Last post