Nextedy App - Update guide

Modified on Mon, 20 Jul at 12:35 PM

The update procedure of any Nextedy App consists of 2 main parts:
- Check for the update of the plugin.
- Update of the plugin. Can be either manual or automated.
In this article, we describe the steps needed for the successful update of Nextedy products. 



Update Check (modify once new menu is available)


- Check from the Administration:

There is an administration page that helps you check if there is a new version.

  1. Go to Polarion Administration
  2. Select : Nextedy GANTT > Setup
  3. Click button "Check for Updates"
  4. It tells you what is the latest version available:

Due to privacy reasons, we do not run any scripts downloaded from our download server. This is a reason, why we cannot compare the dates automatically. 


- Check the changelog:
Alternatively, you can open the product changelog file and check what the last available version is, as well as what new functionalities it contains.
You'd need to replace the 'productname' placeholder with the required product name in lowercase:
https://download.nextedy.com/productname/CHANGELOG.txt



Manual Update

  1. Download the new version from https://www.nextedy.com/product/nextedy-gantt/#download
  2. Stop Polarion server
  3. Uninstall Gantt - i.e. delete `POLARION_INSTALL_LOCATION/polarion/extension/com.nextedy.polarion.gantt
  4. Install new version: as described https://nextedy.freshdesk.com/support/solutions/articles/48000354777-what-is-the-installation-procedure


Please, do not forget step #4 from installation procedure:

    Delete `[POLARION_INSTALL]/data/workspace/.config`


Automated Updater (on Linux)

We are sharing an easy way how to update the extension to the latest version with a single click. 

Create update_gantt.sh script with following content:


#/bin/bash

cd /opt/polarion/polarion/extensions/

echo
echo Currently installed version:
cat com.nextedy.polarion.gantt/.bnum

echo
echo Going to install version:
curl -H 'Cache-Control: no-cache' https://download.nextedy.com/gantt/bnum.txt?$(date +%s)

echo  
read -p "Are you sure you wish to install this version? y/n "
if [ "$REPLY" != "y" ]; then
           exit
fi

wget https://download.nextedy.com/gantt/nextedy_gantt.zip

service polarion stop

rm -R -f com.nextedy.polarion.gantt/

unzip nextedy_gantt.zip
rm -f nextedy_gantt.zip
rm -f GANTT_README.txt

rm -rf /opt/polarion/data/workspace/.config

service polarion start
Generic


Was this article helpful?

That’s Great!

Thank you for your feedback

Sorry! We couldn't be helpful

Thank you for your feedback

Let us know how can we improve this article!

Select at least one of the reasons
CAPTCHA verification is required.

Feedback sent

We appreciate your effort and will try to fix the article