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

    [gelöst] MySQL Fehler bei update isys_exception_database : isys_property_2_cat

    Scheduled Pinned Locked Moved Betrieb
    5 Posts 2 Posters 1.6k 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.
    • N Offline
      nerbas
      last edited by

      Beim update auf 0.9.6-1 (und auch beim Ignorieren auf 0.9.7) erhalte ich folgende Fehlermeldung, wenn ich die Module LDAP und NAGIOS als zu installieren auswähle:

      isys_exception_database : Query error: ' SELECT isys_property_2_cat__id FROM isys_property_2_cat WHERE isys_property_2_cat__property1_title = 'LC_WORKFLOW__ACTIVE'; ': Table 'idoit_kunde1.isys_property_2_cat' doesn't exist (Extended Information: array ( 'server' => '5.0.51a-24+lenny3', 'host' => 'Localhost via UNIX socket', 'client' => '5.0.51a', 'proto' => 10, ))

      Ich kann gerne (wie?) die Modulinstallation wiederholen (dort sind noch keine Daten hinterlegt) - was tun? Danke für alle Antworten!

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

        http://www.i-doit.org/forum/index.php/topic,1463.0.html

        1 Reply Last reply Reply Quote 0
        • N Offline
          nerbas
          last edited by

          Danke für die schnelle Hilfe! Ich habe die im verlinkten thread angegebenen sql-Anweisungen ausgeführt und jetzt existiert table "isys_property_2_cat" auch, allerdings erhalte ich beim update (von 0.9.5 auf 0.9.7-1 (rev 4155)) nun die Fehlermeldung, dass die Spalte "isys_property_2_cat__cat_id" nicht existiert (und das tut sie auch nicht).

          
          isys_exception_database : Query error: 'INSERT INTO `isys_property_2_cat` (`isys_property_2_cat__cat_id`, `isys_property_2_cat__cat_type`, `isys_property_2_cat__property1_title`, `isys_property_2_cat__property1_columnname`, `isys_property_2_cat__property1_reference`, `isys_property_2_cat__property2_title`, `isys_property_2_cat__property2_columnname`, `isys_property_2_cat__property2_reference`) VALUES (@CAT_ID, 'g', 'LC_WORKFLOW__ACTIVE', 'isys_catg_nagios_list__is_active', NULL, NULL, NULL, NULL)': Unknown column 'isys_property_2_cat__cat_id' in 'field list' (Extended Information: array ( 'server' => '5.0.51a-24+lenny3', 'host' => 'Localhost via UNIX socket', 'client' => '5.0.51a', 'proto' => 10, ))
          

          Wenn ich nur das Nagios-Modul zum update wähle erhalte ich den Fehler:

          isys_exception_database : Query error: 'INSERT INTO `isys_property_2_cat` (`isys_property_2_cat__cat_id`, `isys_property_2_cat__cat_type`, `isys_property_2_cat__property1_title`, `isys_property_2_cat__property1_columnname`, `isys_property_2_cat__property1_reference`, `isys_property_2_cat__property2_title`, `isys_property_2_cat__property2_columnname`, `isys_property_2_cat__property2_reference`) VALUES (@CAT_ID, 'g', 'LC_WORKFLOW__ACTIVE', 'isys_catg_nagios_list__is_active', NULL, NULL, NULL, NULL)': Unknown column 'isys_property_2_cat__cat_id' in 'field list' (Extended Information: array ( 'server' => '5.0.51a-24+lenny3', 'host' => 'Localhost via UNIX socket', 'client' => '5.0.51a', 'proto' => 10, ))
          

          Es sieht also so aus, als wäre meine isys_property_2_cat noch nicht in Ordnung. Was kann ich nun tun? Gibt es irgendwo eine passende isys_property_2_cat -Version für mich?

          Achja -  SHOW CREATE TABLE isys_property_2_cat zeigt:

          
          CREATE TABLE `isys_property_2_cat` (
           `isys_property_2_cat__id` int(10) unsigned NOT NULL auto_increment,
           `isys_property_2_cat__isysgui_catg__id` int(10) unsigned default NULL,
           `isys_property_2_cat__isysgui_cats__id` int(10) unsigned default NULL,
           `isys_property_2_cat__cat_type` char(1) collate utf8_unicode_ci NOT NULL,
           `isys_property_2_cat__property1_title` varchar(255) collate utf8_unicode_ci NOT NULL,
           `isys_property_2_cat__property1_columnname` varchar(255) collate utf8_unicode_ci NOT NULL,
           `isys_property_2_cat__property1_reference` varchar(255) collate utf8_unicode_ci default NULL,
           `isys_property_2_cat__property2_title` varchar(255) collate utf8_unicode_ci default NULL,
           `isys_property_2_cat__property2_columnname` varchar(255) collate utf8_unicode_ci default NULL,
           `isys_property_2_cat__property2_reference` varchar(255) collate utf8_unicode_ci default NULL,
           PRIMARY KEY  (`isys_property_2_cat__id`),
           KEY `isys_property_2_cat__isysgui_catg__id` (`isys_property_2_cat__isysgui_catg__id`),
           KEY `isys_property_2_cat__isysgui_cats__id` (`isys_property_2_cat__isysgui_cats__id`),
           CONSTRAINT `isys_property_2_cat_ibfk_2` FOREIGN KEY (`isys_property_2_cat__isysgui_cats__id`) REFERENCES `isysgui_cats` (`isysgui_cats__id`) ON DELETE CASCADE ON UPDATE CASCADE,
           CONSTRAINT `isys_property_2_cat_ibfk_1` FOREIGN KEY (`isys_property_2_cat__isysgui_catg__id`) REFERENCES `isysgui_catg` (`isysgui_catg__id`) ON DELETE CASCADE ON UPDATE CASCADE
          ) ENGINE=InnoDB AUTO_INCREMENT=193 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci
          
          
          1 Reply Last reply Reply Quote 0
          • D Offline
            dbluemer
            last edited by

            Oh ja,

            ich sehe erst jetzt, dass Du eine alte Version im Einsatz hast. Versuch' doch mal die angehängte Version.

            p2cat096.sql.zip

            1 Reply Last reply Reply Quote 0
            • N Offline
              nerbas
              last edited by

              Super, funktioniert, Danke!

              …und dann kam direkt der nächste Fehler (update von 0.9.9 auf 0.9.9-1):

              isys_exception_database : Query error: 'ALTER TABLE `isys_cats_access_point_list` DROP `isys_cats_access_point_list__isys_cats_distributor__id`': Error on rename of './idoit_kunde1/#sql-4ee_9de3' to './idoit_kunde1/isys_cats_access_point_list' (errno: 150) 
              

              Edit: Lösung hier im Forum gefunden http://www.i-doit.org/forum/index.php/topic,1472.msg6542.html#msg6542

              …man muss nur lange genug suchen 🙂

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