Uploaded image for project: 'IGB'
  1. IGB
  2. IGBF-2017

Installation of apps from AppStore and IGB App Manager Tool failing

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Done
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:

      Description

      The installation of Apps from Appstore and from IGB App Manager GUI is failing. Steps to reproduce the defect:
      1) Click on the first app available on the AppStore
      2) The blue "Install" button will be visible.
      3) Clicked "Install"
      4) Button changed to "Installing..." and also changed color (lighter shade of blue) but did not change after that
      5) Open IGB App Manager GUI and note that the App failed to install

        Attachments

          Activity

          rpatil14 Riddhi Jagdish Patil (Inactive) created issue -
          rpatil14 Riddhi Jagdish Patil (Inactive) made changes -
          Field Original Value New Value
          Epic Link IGBF-1388 [ 17463 ]
          rpatil14 Riddhi Jagdish Patil (Inactive) made changes -
          Status Open [ 1 ] To-Do [ 10305 ]
          rpatil14 Riddhi Jagdish Patil (Inactive) made changes -
          Description The installation of Apps from Appstore and from IGB App Manager GUI is failing. Steps to reproduce the defect:
          1) Click on the first app available on the AppStore
          2) The blue "Install" button will be visible.
          3) Clicked "Install"
          4) Button changed to "Installing..." and also changed color (lighter shade of blue) but did not change after that
          5) Open IGB App Manager GUI and note that the App failed to install

          rpatil14 Riddhi Jagdish Patil (Inactive) made changes -
          Status To-Do [ 10305 ] In Progress [ 3 ]
          rpatil14 Riddhi Jagdish Patil (Inactive) made changes -
          Summary Installation of apps from AppStore failed Installation of apps from AppStore and IGB App Manager Tool failed
          Hide
          rpatil14 Riddhi Jagdish Patil (Inactive) added a comment - - edited

          Issue:
          Installation of apps failing from AppStore and IGB App Manager Tool

          Solution:
          The uri of the media path in repository.xml for the first app pending / submitted was malformed. Due to this the media path was not available for the AppStore to install the app.
          For eg. the old uri created in repository.xml was uri="super-simple-igb-app-0.0.3.jar" only which was just the jar name without file path.
          With this code changes new uri created will have the folder structure path to the jar.For eg. /media/super-simple-igb-app/releases/0.0.3/super-simple-igb-app-0.0.3.jar
          Fixed repository.xml uri for both pending and submitted apps.

          Files changed:
          obr/repogen.py
          https://bitbucket.org/rpatil14/appstore_riddhi/branch/IGBF-2017#diff

          Testing steps:
          Use test environment for this feature - https://dev-appstore-6.bioviz.org/
          1) Start IGB on local machine
          2) Click Tools -> Open App Manager -> Manage Repositories -> Add URL https://dev-appstore-6.bioviz.org/obr/releases
          3) Click Install button on any app from the App Store and check IGB App Manager Tool to see if the app is installed
          or
          4) Click on Install button on any App from IGB App Manager Tool to see if the app is installed

          Check uri formation in repository.xml :
          https://dev-appstore-6.bioviz.org/obr/releases/repository.xml

          [~aloraine]

          Show
          rpatil14 Riddhi Jagdish Patil (Inactive) added a comment - - edited Issue: Installation of apps failing from AppStore and IGB App Manager Tool Solution: The uri of the media path in repository.xml for the first app pending / submitted was malformed. Due to this the media path was not available for the AppStore to install the app. For eg. the old uri created in repository.xml was uri="super-simple-igb-app-0.0.3.jar" only which was just the jar name without file path. With this code changes new uri created will have the folder structure path to the jar.For eg. /media/super-simple-igb-app/releases/0.0.3/super-simple-igb-app-0.0.3.jar Fixed repository.xml uri for both pending and submitted apps. Files changed: obr/repogen.py https://bitbucket.org/rpatil14/appstore_riddhi/branch/IGBF-2017#diff Testing steps: Use test environment for this feature - https://dev-appstore-6.bioviz.org/ 1) Start IGB on local machine 2) Click Tools -> Open App Manager -> Manage Repositories -> Add URL https://dev-appstore-6.bioviz.org/obr/releases 3) Click Install button on any app from the App Store and check IGB App Manager Tool to see if the app is installed or 4) Click on Install button on any App from IGB App Manager Tool to see if the app is installed Check uri formation in repository.xml : https://dev-appstore-6.bioviz.org/obr/releases/repository.xml [~aloraine]
          rpatil14 Riddhi Jagdish Patil (Inactive) made changes -
          Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
          rpatil14 Riddhi Jagdish Patil (Inactive) made changes -
          Assignee Riddhi Jagdish Patil [ rpatil14 ]
          rpatil14 Riddhi Jagdish Patil (Inactive) made changes -
          Story Points 2
          Resolution Unresolved [ 10101 ]
          Hide
          ann.loraine Ann Loraine added a comment -

          Please also check that the pending apps repository is also working properly. For testing purposes (before approving apps) we need to be able to install apps.

          Show
          ann.loraine Ann Loraine added a comment - Please also check that the pending apps repository is also working properly. For testing purposes (before approving apps) we need to be able to install apps.
          ann.loraine Ann Loraine made changes -
          Assignee Riddhi Jagdish Patil [ rpatil14 ]
          ann.loraine Ann Loraine made changes -
          Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
          ann.loraine Ann Loraine made changes -
          Status First Level Review in Progress [ 10301 ] To-Do [ 10305 ]
          rpatil14 Riddhi Jagdish Patil (Inactive) made changes -
          Status To-Do [ 10305 ] In Progress [ 3 ]
          Hide
          rpatil14 Riddhi Jagdish Patil (Inactive) added a comment -

          Tested pending apps as well. The uri formed for the pending apps is as expected.
          https://dev-appstore-6.bioviz.org/obr/pending_releases/repository.xml

          Show
          rpatil14 Riddhi Jagdish Patil (Inactive) added a comment - Tested pending apps as well. The uri formed for the pending apps is as expected. https://dev-appstore-6.bioviz.org/obr/pending_releases/repository.xml
          rpatil14 Riddhi Jagdish Patil (Inactive) made changes -
          Status In Progress [ 3 ] Needs 1st Level Review [ 10005 ]
          rpatil14 Riddhi Jagdish Patil (Inactive) made changes -
          Assignee Riddhi Jagdish Patil [ rpatil14 ]
          Hide
          ann.loraine Ann Loraine added a comment -

          Thanks! Riddhi Jagdish Patil please proceed with PR.

          Show
          ann.loraine Ann Loraine added a comment - Thanks! Riddhi Jagdish Patil please proceed with PR.
          ann.loraine Ann Loraine made changes -
          Status Needs 1st Level Review [ 10005 ] First Level Review in Progress [ 10301 ]
          ann.loraine Ann Loraine made changes -
          Status First Level Review in Progress [ 10301 ] Ready for Pull Request [ 10304 ]
          Show
          rpatil14 Riddhi Jagdish Patil (Inactive) added a comment - Pull request submitted https://bitbucket.org/lorainelab/appstore/pull-requests/117/igbf-2017-fix-the-uri-for-media-file-path/diff
          rpatil14 Riddhi Jagdish Patil (Inactive) made changes -
          Status Ready for Pull Request [ 10304 ] Pull Request Submitted [ 10101 ]
          rpatil14 Riddhi Jagdish Patil (Inactive) made changes -
          Summary Installation of apps from AppStore and IGB App Manager Tool failed Installation of apps from AppStore and IGB App Manager Tool failing
          Hide
          ann.loraine Ann Loraine added a comment -

          Merged, not yet deployed on EC2.

          Show
          ann.loraine Ann Loraine added a comment - Merged, not yet deployed on EC2.
          ann.loraine Ann Loraine made changes -
          Status Pull Request Submitted [ 10101 ] Reviewing Pull Request [ 10303 ]
          ann.loraine Ann Loraine made changes -
          Status Reviewing Pull Request [ 10303 ] Merged Needs Testing [ 10002 ]
          Hide
          ann.loraine Ann Loraine added a comment -

          Deployed on dev-appstore-2.bioviz.org. Shamika Gajanan Kulkarni or Noor Zahara please test.

          Show
          ann.loraine Ann Loraine added a comment - Deployed on dev-appstore-2.bioviz.org. Shamika Gajanan Kulkarni or Noor Zahara please test.
          sameer Sameer Shanbhag (Inactive) made changes -
          Assignee Sameer Shanbhag [ sameer ]
          sameer Sameer Shanbhag (Inactive) made changes -
          Status Merged Needs Testing [ 10002 ] Post-merge Testing In Progress [ 10003 ]
          Hide
          sameer Sameer Shanbhag (Inactive) added a comment -

          Working as Expected. I can install app from the Dev-appstore-1 instance.
          Attached a screenshot.

          Moving this thread to Done.

          Show
          sameer Sameer Shanbhag (Inactive) added a comment - Working as Expected. I can install app from the Dev-appstore-1 instance. Attached a screenshot. Moving this thread to Done.
          sameer Sameer Shanbhag (Inactive) made changes -
          Resolution Unresolved [ 10101 ] Fixed [ 1 ]
          Attachment Install App.png [ 14429 ]
          sameer Sameer Shanbhag (Inactive) made changes -
          Resolution Fixed [ 1 ] Done [ 10000 ]
          Status Post-merge Testing In Progress [ 10003 ] Closed [ 6 ]
          sameer Sameer Shanbhag (Inactive) made changes -
          Assignee Sameer Shanbhag [ sameer ] Riddhi Jagdish Patil [ rpatil14 ]
          ann.loraine Ann Loraine made changes -
          Workflow Fall 2019 Workflow Update [ 20774 ] Revised Fall 2019 Workflow Update [ 22516 ]

            People

            • Assignee:
              rpatil14 Riddhi Jagdish Patil (Inactive)
              Reporter:
              rpatil14 Riddhi Jagdish Patil (Inactive)
            • Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: