Menu

Upgrade 2.7.1 to 3.0 beta failed

2021-05-18
2021-06-04
  • Laurent Krimm

    Laurent Krimm - 2021-05-18

    Hi all,

    I'm looking to test new version of iTop by upgrading our instance.

    Actually we are in 2.7.1

    I try to upgrade to 3.0 by following process.

    I'm block at the end of installation in compilation data model step (20%) with this message.

    Notice:  Trying to get property 'ownerDocument' of non-object in /var/www/html/onedesk-test3.0/setup/itopdesignformat.class.inc.php on line 790
    
    Fatal error:  Uncaught Error: Call to a member function createElement() on null in /var/www/html/onedesk-test3.0/setup/itopdesignformat.class.inc.php:790
    Stack trace:
    #0 /var/www/html/onedesk-test3.0/setup/itopdesignformat.class.inc.php(320): iTopDesignFormat->From17To30(NULL)
    #1 /var/www/html/onedesk-test3.0/setup/itopdesignformat.class.inc.php(262): iTopDesignFormat->DoConvert('1.7', '3.0', NULL)
    #2 /var/www/html/onedesk-test3.0/setup/modelfactory.class.inc.php(865): iTopDesignFormat->Convert()
    #3 /var/www/html/onedesk-test3.0/setup/applicationinstaller.class.inc.php(609): ModelFactory->LoadModule(Object(MFModule))
    #4 /var/www/html/onedesk-test3.0/setup/applicationinstaller.class.inc.php(293): ApplicationInstaller::DoCompile(Array, 'datamodels/2.x/', 'extensions', 'env-production', 'production', false)
    #5 /var/www/html/onedesk-test3.0/setup/wizardsteps.class.inc.php(2436): ApplicationInstaller->ExecuteStep('compile')
    #6 /var/www/html/onedesk-test3.0/setup/ajax.dataloader.php(176): WizStepSummary->AsyncAction(Object(ajax_ in /var/www/html/onedesk-test3.0/setup/itopdesignformat.class.inc.php on line 790
    PHP error occured : msg=Uncaught Error: Call to a member function createElement() on null in /var/www/html/onedesk-test3.0/setup/itopdesignformat.class.inc.php:790
    Stack trace:
    #0 /var/www/html/onedesk-test3.0/setup/itopdesignformat.class.inc.php(320): iTopDesignFormat->From17To30(NULL)
    #1 /var/www/html/onedesk-test3.0/setup/itopdesignformat.class.inc.php(262): iTopDesignFormat->DoConvert('1.7', '3.0', NULL)
    #2 /var/www/html/onedesk-test3.0/setup/modelfactory.class.inc.php(865): iTopDesignFormat->Convert()
    #3 /var/www/html/onedesk-test3.0/setup/applicationinstaller.class.inc.php(609): ModelFactory->LoadModule(Object(MFModule))
    #4 /var/www/html/onedesk-test3.0/setup/applicationinstaller.class.inc.php(293): ApplicationInstaller::DoCompile(Array, 'datamodels/2.x/', 'extensions', 'env-production', 'production', false)
    #5 /var/www/html/onedesk-test3.0/setup/wizardsteps.class.inc.php(2436): ApplicationInstaller->ExecuteStep('compile')
    #6 /var/www/html/onedesk-test3.0/setup/ajax.dataloader.php(176): WizStepSummary->AsyncAction(Object(ajax_, no=1, file=/var/www/html/onedesk-test3.0/setup/itopdesignformat.class.inc.php, line=790
    

    Extensions deployed :

    Database Maintenance Tools Version: 1.0.7
    Database maintenance tools

    Autoclose Ticket Version: 1.0.1
    Automatically close resolved User Request and Incident tickets

    Dispatch User Request to a team Version: 1.1.7
    Dispatch a user request to a team without assigning an agent

    Configurator for automatic object creation Version: 1.1.2
    Templating based on existing objects.

    Auto dispatch ticket to a team Version: 1.0.8
    Automatically dispatch tickets based on the configurable OQL rules.

    Communications to the Customers Version: 1.1.0
    Communications to the Customers via the portal

    Send updates by email Version: 1.2.0
    Send an email to pre-configured contacts when a ticket log is updated

    SLA considering business hours Version: 2.1.12
    Compute SLAs taking into account service coverage window and holidays

    Portal: Service catalog mosaic view Version: 1.0.0
    Look professional: Display your service catalog as icons in the user portal.

    Mail to ticket automation Version: 3.0.17
    Scan several mailboxes to create or update tickets.

    Approval process automation Version: 2.0.1
    Control your approval process with predefined rules based on service catalog

    Data synchronization dashboard Version: 1.1.0
    Get an overview of all your data synchronizations at a glance

    iTop Stock Management Version: 1.0.0
    Manage stock elements through tickets

    Admin Tools Delegation Version: 0.1.0
    This extension create new profiles to delegate admin tools menus, so you can give any of those responsibility - user management, - audit management, - query phrases management, - Data synchro management, To any user without giving them full iTop administration rights.

    Customized request forms Version: 2.0.14
    Define personalized request forms based on the service catalog. Add extra fields for a given type of request.

    User actions configurator Version: 1.3.2
    Configure user actions to simplify and automate processes. Eg create an incident from a CI.

    Predefined response models Version: 1.1.4

    More some custom extensions installed

    Thank in advance

     
  • Guillaume Lajarige

    Hello Laurent,

    Did you download the beta package on sourceforge or did you get it directly from a GitHub clone?

    Guillaume

     
  • Laurent Krimm

    Laurent Krimm - 2021-05-18

    Hello, I download beta package on sourceforge. Filename is iTop-3.0.0-beta-7312.zip

     
    • Guillaume Lajarige

      Thanks, since the beta we fixed a bug that could be related to yours. Are you confortable using GitHub to retrieve a newer package? It would be a way to test it and see if the problem still occurs.

      Otherwise, we can tell you which file to download and copy/paste on your server.

      Could you also tell us your PHP version?

      Thanks,
      Guillaume

       
  • Vincent @ Combodo

    Hi Laurent,
    A lot of the extensions that you have are NOT compatible with iTop 3.0. There is another thread somewhere in the forum which list the extensions which are, are not and in an unclear status versus 3.0 compatibility...

     
  • Laurent Krimm

    Laurent Krimm - 2021-05-18

    Hi Vincent,
    I check list and only saw 1 indicated not compatible, the others are indicated compatible or not indicated.
    If I well understand we can't remove extension we installed ? Because some of them are not used.

     
  • Pierre Goiffon

    Pierre Goiffon - 2021-05-18

    Indeed there are no automated process for now to uninstall extensions :/
    But to a certain extend you can do it manually...
    Did you install those extensions using iTop Hub or manually ?

     
  • Laurent Krimm

    Laurent Krimm - 2021-05-25

    I installed it all manually.

     
  • Pierre Goiffon

    Pierre Goiffon - 2021-06-04

    Ok, so you can just remove the extension directories and re-run the setup... But mind that by doing this all the configuration, DDL modifications and data will stay... So depending on the extensions this might cause some side effects...

     

    Last edit: Pierre Goiffon 2021-06-04
    • Laurent Krimm

      Laurent Krimm - 2021-06-04

      Hi, I try this yesterday but I received this error.
      [image: image.png]

      Is UserMultipleLDAP enable for 3.0 ?

      Le ven. 4 juin 2021 à 13:57, Pierre Goiffon pgoiffon@users.sourceforge.net
      a écrit :

      Ok, so you can just remove the extension directories... But mind that by
      doing this all the configuration, DDL modifications and data will stay...
      So depending on the extensions this might cause some side effects...


      Upgrade 2.7.1 to 3.0 beta failed
      https://sourceforge.net/p/itop/discussion/itop-beta/thread/e69746455c/?limit=25#b3db


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/itop/discussion/itop-beta/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       
      • Pierre Goiffon

        Pierre Goiffon - 2021-06-04

        Hello,
        UserMultipleLDAP doesn't seem to be contained in a Combodo extension.
        I imagine this error is caused by some User object having this class as the finalclass field value ?

         

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.