Menu

HTTP ERROR 500 after installing IPAM into ITOP v3 or upgrading itop2.7.1 with IPAM installed to ITOP v3

R Panton
2022-01-29
2022-02-04
  • R Panton

    R Panton - 2022-01-29

    Greetings,
    After successfully using Itop V2.X.X currently trying to upgrade to version 3 from 2.7 which has the IPAM module installed an HTTP ERROR 500 gets displayed after login.

    Installing a separate fresh itop v3 installation all went well and working until added the IPAM extension. Again HTTP ERROR 500 . this is a fresh virgin copy no addition no items etc, just added IPAM and then it broke.

    Display error was set to on and the following was noted on the fresh install.
    Specifically the fatal error listed at the end.

    Anyone experience this or know how to resolve?

    Warning: include(/var/www/htmltmp/env-production/teemip-newsroom-provider/vendor/composer/../composer/InstalledVersions.php): failed to open stream: No such file or directory in /var/www/htmltmp/lib/composer/ClassLoader.php on line 571

    Warning: include(): Failed opening '/var/www/htmltmp/env-production/teemip-newsroom-provider/vendor/composer/../composer/InstalledVersions.php' for inclusion (include_path='/var/www/htmltmp/lib/pear/archive_tar:/var/www/htmltmp/lib/pear/console_getopt:/var/www/htmltmp/lib/pear/pear-core-minimal/src:/var/www/htmltmp/lib/pear/pear_exception:.:/usr/share/php') in /var/www/htmltmp/lib/composer/ClassLoader.php on line 571

    Warning: include(/var/www/htmltmp/env-production/teemip-webservices/vendor/composer/../composer/InstalledVersions.php): failed to open stream: No such file or directory in /var/www/htmltmp/lib/composer/ClassLoader.php on line 571

    Warning: include(): Failed opening '/var/www/htmltmp/env-production/teemip-webservices/vendor/composer/../composer/InstalledVersions.php' for inclusion (include_path='/var/www/htmltmp/lib/pear/archive_tar:/var/www/htmltmp/lib/pear/console_getopt:/var/www/htmltmp/lib/pear/pear-core-minimal/src:/var/www/htmltmp/lib/pear/pear_exception:.:/usr/share/php') in /var/www/htmltmp/lib/composer/ClassLoader.php on line 571

    Warning: include(/var/www/htmltmp/env-production/teemip-ipv6-mgmt/vendor/composer/../composer/InstalledVersions.php): failed to open stream: No such file or directory in /var/www/htmltmp/lib/composer/ClassLoader.php on line 571

    Warning: include(): Failed opening '/var/www/htmltmp/env-production/teemip-ipv6-mgmt/vendor/composer/../composer/InstalledVersions.php' for inclusion (include_path='/var/www/htmltmp/lib/pear/archive_tar:/var/www/htmltmp/lib/pear/console_getopt:/var/www/htmltmp/lib/pear/pear-core-minimal/src:/var/www/htmltmp/lib/pear/pear_exception:.:/usr/share/php') in /var/www/htmltmp/lib/composer/ClassLoader.php on line 571

    Warning: include(/var/www/htmltmp/env-production/teemip-ip-mgmt/vendor/composer/../composer/InstalledVersions.php): failed to open stream: No such file or directory in /var/www/htmltmp/lib/composer/ClassLoader.php on line 571

    Warning: include(): Failed opening '/var/www/htmltmp/env-production/teemip-ip-mgmt/vendor/composer/../composer/InstalledVersions.php' for inclusion (include_path='/var/www/htmltmp/lib/pear/archive_tar:/var/www/htmltmp/lib/pear/console_getopt:/var/www/htmltmp/lib/pear/pear-core-minimal/src:/var/www/htmltmp/lib/pear/pear_exception:.:/usr/share/php') in /var/www/htmltmp/lib/composer/ClassLoader.php on line 571

    Warning: Could not check compatibility between TeemIp\TeemIp\Extension\IPManagement\Model\IPTriggerOnWaterMark::IsInScope(TeemIp\TeemIp\Extension\IPManagement\Model\DBObject $oObject) and Trigger::IsInScope(DBObject $oObject), because class TeemIp\TeemIp\Extension\IPManagement\Model\DBObject is not available in /var/www/htmltmp/env-production/teemip-ip-mgmt/src/Model/IPTriggerOnWaterMark.php on line 50

    Fatal error: Cannot declare class AttributeIPv6Address, because the name is already in use in /var/www/htmltmp/env-production/teemip-ipv6-mgmt/src/Model/AttributeIPv6Address.php on line 0

     

    Last edit: R Panton 2022-01-29
  • wamm

    wamm - 2022-02-03

    Hi,

    I created an account just to respond to you because I wasn't careful and I upgraded to 3.0 before checking if all my extensions were compatible so I ended up with the exact same error as you.

    I don't know how you installed it, but according to this post the IPAM extention is now compatible with iTop 3.0 but is not yet available on the iTopHub.
    Since we can't remove already installed extensions, I installed the new one manually.

    and it fixed the issue for me


    One small issue I encountered is that the documentation says :

    If IPAM for iTop does not appear in the list of extensions (or if the whole extensions step is skipped during the setup), make sure that the web server process has enough rights to read the extensions directory.

    I missed the "if" at the begining the first time, so I automatically changed the owner of the extracted folder to apache but I couldn't see it during the setup.
    After changing it back to root it worked.

     
    ❤️
    1

    Last edit: wamm 2022-02-03
    • R Panton

      R Panton - 2022-02-04

      WAMM, Much obliged. I appreciated this response. I will follow through on your advice. Thank you for sharing.

       
    • Guillaume Lajarige

      Thanks for taking the time to create an account and answering wamm! 🙏

      Indeed TeemIP / IPAM extensions compatible versions with iTp 3.0 are not available on the Hub yet. @xtophe38 might tell you if they are available directly on GitHub or such.

      Cheers,
      Guillaume

       
    • R Panton

      R Panton - 2022-02-04

      Wamm, Your advice is on target. I have been able to successfully migrate to version 3 with the updated Teemps ip package. Thank you very much for your advice once again.
      Cheers.

       
  • wamm

    wamm - 2022-02-04

    anytime 👍
    I'm glad I could help.

     

Log in to post a comment.