Forum

Updating taoResultServer

I need to receive deliveries' results and REST API seems to be only way to get large size results.
I'm currently running 3.1.0-RC7 and I found that in order for REST API to work, I need to get newer taoResultServer extension. I currently have 2.8.3, while newest in Github is 3.2.3.

Sadly my attempts to update failed, since 2.11.0 version requires way newer TAO version (>7.2.0) and updating TAO will probably means that other parts will start to fail.

What and to which version should I update to be able to use REST API ?

Comments

  • The easiest solution for you would probably be to backup your existing system (database and filesystem) and try to upgrade to the latest version of Tao using composer(https://getcomposer.org/). These are the versions of our last sprint(on the 2017/06/28):

      "require": {
        "oat-sa/generis": "~3.35.2",
        "oat-sa/tao-core": "~10.25.3",
        "oat-sa/extension-tao-community": "~3.1.0",
        "oat-sa/extension-tao-funcacl": "~4.0.0",
        "oat-sa/extension-tao-dac-simple": "~2.0.1",
        "oat-sa/extension-tao-testtaker": "~3.0.1",
        "oat-sa/extension-tao-group": "~3.0.1",
        "oat-sa/extension-tao-item": "~4.2.4",
        "oat-sa/extension-tao-itemhtml": "~3.0.0",
        "oat-sa/extension-tao-itemqti": "~8.13.1",
        "oat-sa/extension-tao-itemqti-pci": "~2.2.0",
        "oat-sa/extension-tao-itemqti-pic": "~2.0.1",
        "oat-sa/extension-tao-test": "~6.3.0",
        "oat-sa/extension-tao-testlinear": "~3.0.0",
        "oat-sa/extension-tao-testqti": "~9.18.0",
        "oat-sa/extension-tao-outcome": "~3.2.3",
        "oat-sa/extension-tao-outcomeui": "~4.6.1",
        "oat-sa/extension-tao-outcomerds": "~2.2.0",
        "oat-sa/extension-tao-outcomekeyvalue": "~2.1.0",
        "oat-sa/extension-tao-outcomelti": "~3.0.0",
        "oat-sa/extension-tao-delivery": "~6.1.5",
        "oat-sa/extension-tao-lti": "~3.2.3",
        "oat-sa/extension-tao-ltideliveryprovider": "~3.1.0",
        "oat-sa/extension-tao-devtools": "~3.0.0",
        "oat-sa/extension-tao-ontobrowser": "~3.0.0",
        "oat-sa/extension-tao-revision": "~3.0.0",
        "oat-sa/extension-tao-mediamanager": "~2.0.0",
        "oat-sa/extension-pcisample": "~2.0.1",
        "oat-sa/extension-tao-backoffice": "~1.1.0",
        "oat-sa/extension-tao-clientdiag": "~2.5.0",
      }
    

    You will also need to run tao/scripts/taoUpdate.php after every code update.

    This should move you to the latest version and allow you to use the Rest Exports. Worst case you can do this on a separate dedicated environment.

  • edited June 2017

    Hi Joel,

    Thanks for reply. At the moment I ended up going straight to MYSQL database, because I needed results ASAP. For future, I most likely will try to update whole system to newer version.

    I have 2 more questions:

    • About updating process. Should I just update current composer.json file with your provided requirements, then just run Composer update from /htdocs/ folder? And after that run /tao/Scripts/TaoUpdate.php ?

    • Also when is new stable version planned to be released?

    Thanks

Sign In or Register to comment.

We use cookies on our website to support technical features that enhance your user experience. Cookie Policy Privacy Policy

×