Menu

Issues with IPAM Module Upgrade and Data Model Consistency Errors

Holti
2025-05-19
2025-05-22
  • Holti

    Holti - 2025-05-19

    Hello,

    I am experiencing multiple issues related to the iTop/TeemIP environment.

    1. Environment Details
      iTop Version: 3.2.0-2-14758 (built on 2024-09-13)
      IPAM for iTop: 3.0.1
      TeemIP DHCP Management: 3.0.1
      IP Request Management: 3.0.1
      TeemIP MAC Address Lookup: 3.0.0
      Network Management Extended: 3.0.1
      TeemIP Zone Management: 3.0.1

    2. Error During IPAM Module Upgrade
      When attempting to upgrade the IPAM module (teemip-request-mgmt), I receive the following error:

    Error loading module "teemip-request-mgmt":
    /item[fieldset:Class:IPBlock:automation] at line 74 could not be added :
    already exists in /itop_design/classes/class[IPv4Block]/presentation/details/items/item[col:col1]/items/item[fieldset:Class:IPBlock:automation] created_in: [] at line 952
    Installed Modules Include:
    [...existing module list remains unchanged...]

    1. Data Model Consistency Errors (Toolkit Report)
      I also performed a Data Model Consistency Check, which revealed the following issues:
      Several classes have attributes with invalid default values:

    ActionNotification.language
    ThirdPartyNewsRoomMessageTranslation.language
    SynchroReplica.dest_class
    IPRequestAddressCreate.ciclass
    IPRequestAddressCreate.ci_ip_attribute
    Missing or renamed attributes in presentation (ZList) definitions for:
    PhysicalInterface (ipaddress)
    VirtualMachine (managementip)
    LogicalInterface (ipaddress)
    TemporaryObjectDescriptor (meta)
    lnkActionNotificationToContact (title in details and list views)
    Unknown transition function SetAssignedDate in the Incident class workflow.
    Conflicting presentation fieldsets related to Class:IPBlock:automation (likely related to the upgrade failure).

    Could you please advise how these issues can be resolved?
    Also, is there a known fix for the IPAM module upgrade failure?

    Thank you very much for your support.

    Best regards,
    Dirk

     
  • Holti

    Holti - 2025-05-22

    ✅ Solution (worked for me, use at your own risk)
    Here are the steps I took to resolve it:

    1. Backup your system
      • Create a backup of both the database and the file system.
    2. Remove all previous TeemIP module directories
      • I deleted all folders related to TeemIP from the following locations:
        • env-toolkit
        • env-production
        • env-production-build
        • data/production-modules
        • data/toolkit-modules
        • extensions
    3. Check for remaining references in the database
      • SELECT * FROM priv_module_install WHERE name LIKE "%teem%";
    4. Delete any matching entries
      • DELETE FROM priv_module_install WHERE name LIKE "%teem%";
    5. Launch iTop setup
    6. Download the latest TeemIP package
    7. Copy the extracted module
      • Place the folder teemip-core-ip-mgmt inside the extensions directory.
    8. Run the setup again
    9. Test your iTop instance

    It should now show the actually TeemIP extension under "My Extensions"
    Additional modules installed without any further issues

    No warranty, but this fixed the issue for me. Hope it helps others facing the same conflict!

    Best regards
    Dirk

     

    Last edit: Holti 2025-05-22

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.