Community

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Users
    • Search
    1. Home
    2. frisbee23
    F
    • Profile
    • Following 0
    • Followers 0
    • Topics 9
    • Posts 23
    • Best 0
    • Controversial 0
    • Groups 0

    frisbee23

    @frisbee23

    0
    Reputation
    261
    Profile views
    23
    Posts
    0
    Followers
    0
    Following
    Joined Last Online
    Age 22

    frisbee23 Unfollow Follow

    Latest posts made by frisbee23

    • RE: Fatal error bei update der categorie CATG__IP

      leider in der neuen version 1.10.1 anscheinend NICHT behoben:

      hallo, ich habs gerade wieder mit version 1.10.1 probiert, aber es kommt noch der selbe fehler:

      [Thu Mar 01 18:50:05.809998 2018] [:error] [pid 24363] [client 91.233.191.26:30802] PHP Fatal error: Uncaught TypeError: Argument 2 passed to isys_cmdb_dao_category_g_ip::set_hostname_pairs() must be of the type array, string given, called in /var/www/i-doit/src/classes/modules/cmdb/dao/category/global/isys_cmdb_dao_category_g_ip.class.php on line 682 and defined in /var/www/i-doit/src/classes/modules/cmdb/dao/category/global/isys_cmdb_dao_category_g_ip.class.php:2607\nStack trace:\n#0 /var/www/i-doit/src/classes/modules/cmdb/dao/category/global/isys_cmdb_dao_category_g_ip.class.php(682): isys_cmdb_dao_category_g_ip->set_hostname_pairs('426', '426')\n#1 /var/www/i-doit/src/classes/modules/cmdb/dao/category/global/isys_cmdb_dao_category_g_ip.class.php(3930): isys_cmdb_dao_category_g_ip->save('426', 'XXXXX', 2, '192.168.47.78', '0', '426', '426', NULL, true, 1, 4879, '', 2, NULL, NULL, '1', '1', NULL, 'XXXXX', '426')\n#2 /var/www/i-doit/src/classes/modules/api/model/cmdb/isys_api_model_cmdb_category.class.php(810): isys_cmdb_dao_category_g_ip->sync(Array, 4903, 2)\n#3 /var/www/i-doit/src/classes/modules/api in /var/www/i-doit/src/classes/modules/cmdb/dao/category/global/isys_cmdb_dao_category_g_ip.class.php on line 2607

      (kunden daten ausgeblendet mit XXXXX)

      posted in Entwicklung
      F
      frisbee23
    • RE: Fatal error bei update der categorie CATG__IP

      is ein known bug, wird in version 10.1 gefixed. die kommt am26.2 raus

      posted in Entwicklung
      F
      frisbee23
    • Fatal error bei update der categorie CATG__IP

      hi,
      ich verwende https://github.com/bheisig/i-doit-api-client-php um die categorie CATG__IP eines virtuellen server upzudaten.
      anlegen des categorie-eintrags funktioniert, updaten dann nichtmehr 😞
      anlegen und updaten ANDERER kategorien (zb. CPU,RAM) funktioniert.

      relevanter codeteil:
      $entryID = $category->update( $oid, $cate, $data);
      //data ist zu dem zeitpunkt:
                              'id'=> 652,
                              'net' => $fa->mynet,
                              'net_type' => 1,
                              'ipv4_assignment' => 2,
                              'hostname' => myservername,
                              'domain' => my.domain,
                              'active' => true,
                              "ipv4_address" =>  $fa->ansible_default_ipv4->address

      auch wenn ich weniger versuche upzudaten zb. nur net_type=1 geht es schief.

      und zwar der webserver hat fehler 500 mit:
      PHP Fatal error:  Uncaught TypeError: Argument 2 passed to isys_cmdb_dao_category_g_ip::set_hostname_pairs() must be of the type array, string given, called in /var/www/i-doit/src/classes/modules/cmdb/dao/category/global/isys_cmdb_dao_category_g_ip.class.php on line 721 and defined in /var/www/i-doit/src/classes/modules/cmdb/dao/category/global/isys_cmdb_dao_category_g_ip.class.php:4840\nStack trace:\n#0 /var/www/i-doit/src/classes/modules/cmdb/dao/category/global/isys_cmdb_dao_category_g_ip.class.php(721): isys_cmdb_dao_category_g_ip->set_hostname_pairs('652', '652')\n#1 /var/www/i-doit/src/classes/modules/cmdb/dao/category/global/isys_cmdb_dao_category_g_ip.class.php(4628): isys_cmdb_dao_category_g_ip->save('652', 'myservername', 2, '192.168.49.15', '0', '652', '652', NULL, '1', '1', '4877', NULL, 2, NULL, NULL, '1', '1', NULL, 'my.domain', '652')\n#2 /var/www/i-doit/src/classes/modules/api/model/cmdb/isys_api_model_cmdb_category.class.php(810): isys_cmdb_dao_category_g_ip->sync(Array, 21841, 2)\n#3 /var/www/i-doit/src/classes/modules/api in /var/www/i-doit/src/classes/modules/cmdb/dao/category/global/isys_cmdb_dao_category_g_ip.class.php on line 4840

      ====> ich hab myservername und my.domain sowohl oben als auch in der fehlermeldung editiert, um unseren kunden zu schuetzen!
      die waren identisch.

      vielleicht hatte jemand schon mal aehnlicheprobleme beim updaten der wohl haeufig genutzten hostaddress categorie ?
      vielleicht ahnt ein entwickler nach kurzem blick was da schief geht ?
      vielleicht kann jemand ein codeschnipsel posten von einem funktionierendem update dieser categorie ?

      bin fuer jede hilfe dankbar.

      gruesse,
      fil

      ps: habt ihr schonmal ueberlegt, idoit, wenn es open-source ist, auf github oder selbstegehostetes gitlab zu stellen? is ein so schoener de-facto standard… ich hab vorhin versucht die source von i-doit online zu browsen. geht wohl nicht 😞

      posted in Entwicklung
      F
      frisbee23
    • RE: Report manager - liste aller server plus eine custom kategorie - sql error

      also muss ich auf php 7 downgraden. ok.. kein problem.

      ich hab ueberhaupt von php5 auf 7.1 hochgezogen weil die idoit-php-api das benoetigt hat, vom bheisig…

      posted in Betrieb
      F
      frisbee23
    • RE: Report manager - liste aller server plus eine custom kategorie - sql error

      hmm.. koennen wir mal vergleichen bitte:

      i-doit version ?? ich hab 1.9.4

      php version ?? ich hab 7.1.12

      ich glaub ich mach einen bug report auf..

      posted in Betrieb
      F
      frisbee23
    • RE: Mittels API HTML-text in description schreiben

      ja, wenn man die data sanitation abdreht, gehts!

      danke super tipp!

      posted in Betrieb
      F
      frisbee23
    • RE: Abbildung von identischen umgebungen: produktion, test

      ich hab einen weg gefunden (object type configuration)
      wie man die overview anzeigen kann als standardansicht, und kontrollieren, welche kategorieen dort angezeigt werden.
      leider darf ich dort nicht auswaehlen, das die kategorie group-membership angezeigt wird.
      (scheinbar nur 'spezielle' kategorien )

      posted in Betrieb
      F
      frisbee23
    • RE: Abbildung von identischen umgebungen: produktion, test

      danke!

      posted in Betrieb
      F
      frisbee23
    • RE: Report manager - liste aller server plus eine custom kategorie - sql error

      hier screenshots.
      habs nochmal mit einer einfacheren custom kat probiert.
      kommt selber fehler mit dem R..

      i-doit-report.PNG
      i-doit-report2.PNG

      posted in Betrieb
      F
      frisbee23
    • RE: Mittels API HTML-text in description schreiben

      wird dringelassen,
      das style attribut vom span wird gefiltert.

      gibts da eine moeglichkeit ?

      posted in Betrieb
      F
      frisbee23