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

    Import aus Jdisc läuft auf Fehler

    Scheduled Pinned Locked Moved Betrieb
    4 Posts 2 Posters 249 Views
    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.
    • M Offline
      m-thomas
      last edited by m-thomas

      ich bekommen wenn ich den Import starte nach ein paar Sekunden diesen Fehler angezeigt. Der import lief aber schon mal.

      was kann das sein ?

      Version 1.19

      [Thu Oct 20 14:49:35.342340 2022] [mpm_prefork:notice] [pid 1025] AH00163: Apache/2.4.41 (Ubuntu) configured -- resuming normal operations
      [Thu Oct 20 14:49:35.342423 2022] [core:notice] [pid 1025] AH00094: Command line: '/usr/sbin/apache2'
      [Thu Oct 20 14:50:50.249336 2022] [php:error] [pid 1287] [client 130.50.101.27:65388] PHP Fatal error:  Uncaught TypeError: Cannot access offset of type string on string in /var/www/html/src/classes/export/isys_export_helper.class.php:5296\nStack trace:\n#0 /var/www/html/src/classes/import/handler/isys_import_handler_cmdb.class.php(4559): isys_export_helper->log_port_assigned_ips_import()\n#1 /var/www/html/src/classes/import/handler/isys_import_handler_cmdb.class.php(3380): isys_import_handler_cmdb->merge_missing_data()\n#2 /var/www/html/src/classes/import/handler/isys_import_handler_cmdb.class.php(1515): isys_import_handler_cmdb->import_categories()\n#3 /var/www/html/src/classes/modules/jdisc/handler/ajax/isys_ajax_handler_jdisc.class.php(440): isys_import_handler_cmdb->import()\n#4 /var/www/html/src/classes/modules/jdisc/handler/ajax/isys_ajax_handler_jdisc.class.php(55): isys_ajax_handler_jdisc->process_import()\n#5 /var/www/html/src/classes/ajax/isys_ajax.class.php(135): isys_ajax_handler_jdisc->init()\n#6 /var/www/html/src/classes/ajax/isys_ajax.class.php(99): isys_ajax->call()\n#7 /var/www/html/src/ajax.inc.php(115): isys_ajax->init()\n#8 /var/www/html/index.php(154): require_once('...')\n#9 {main}\n  thrown in /var/www/html/src/classes/export/isys_export_helper.class.php on line 5296, referer: http://130.50.100.174/?moduleID=50&param=6&treeNode=506&mNavID=2
      
      
      LFischerL 1 Reply Last reply Reply Quote 0
      • LFischerL Offline
        LFischer @m-thomas
        last edited by

        Hey @m-thomas

        dieser Fehler dürfte in moderneren Versionen von i-doit nicht auftreten - es handelt sich bei der Code-Zeile (in /src/classes/export/isys_export_helper.class.php, Zeile 5296) um eine Überprüfung auf eine alte Kategorie-Konstante.

        Könntest du mal folgende SQL Queries auf deinem System ausführen und mir das Ergebnis mitteilen:

        Diese Query dürfte kein Ergebnis liefern:

        SELECT * FROM `isysgui_catg` WHERE `isysgui_catg__const` LIKE 'C__CMDB__SUBCAT__NETWORK_INTERFACE_L' 
        

        Diese Query sollte eine Zeile liefern

        SELECT * FROM `isysgui_catg` WHERE `isysgui_catg__const` LIKE 'C__CATG__NETWORK_LOG_PORT'
        

        Möglicherweise gab es bei einem vergangenen i-doit Update mal ein Problem? Das könnte dann dazu führen das die Kategorie noch unter der alten Konstante zu finden ist.

        Viele Grüße
        Leo

        M 1 Reply Last reply Reply Quote 0
        • M Offline
          m-thomas @LFischer
          last edited by

          @LFischer
          beides korrekt d.h. die eine Abfrage liefert kein Ergebnis die andere schon

          Die Installation ist eine frische i-doit 1.19 Installation d.h. kein Upgrade

          1 Reply Last reply Reply Quote 0
          • M Offline
            m-thomas
            last edited by

            weitere Ideen?

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