Updating Newired Components

Modified on Tue, 20 Dec, 2022 at 1:29 PM


If you need to update Newired by replacing the content of <tomcat folder>/webapps/newired, <tomcat folder>/webapps/collector and <tomcat folder>/webapps/report, follow the procedure below.
This procedure is required just in case you have downloaded a hot fix package from https://download.newired.com or if you are customizing Newired style.

Windows

  1. Stop Newired Portal by running the stop.bat file you can find in <portal folder>
  2. Backup the following files in <tomcat folder>:
    webapps/newired/WEB-INF/classes/application.properties
    webapps/collector/WEB-INF/classes/application.properties
    webapps/report/WEB-INF/classes/application.properties
  3. Delete folders (newired, collector and report) and war files (newired.war, collector.war and report.war) in the folder <tomcat folder>/webapps/
  4. Copy the .war files you downloaded into <tomcat folder>/webapps/
  5. Start Newired Portal by running the start.bat file you can find in <portal folder>
  6. Wait until newired, report and collector folders are created in <tomcat folder>/webapps/
  7. Stop Newired Portal by running the stop.bat file you can find in <portal folder>
  8. Copy and replace backuped application.properties files (point 2) to
    <tomcat folder>/webapps/newired/WEB-INF/classes/application.properties
    <tomcat folder>/webapps/collector/WEB-INF/classes/application.properties
    <tomcat folder>/webapps/report/WEB-INF/classes/application.properties

  9. REQUIRED JUST IF APPLYING A HOT FIX - Open application.properties file in <portal folder>/<tomcat folder>/webapps\newired\WEB-INF\classes\ and change "newired.version=xx.x.x(old version) to "newired.version=yy.y.y" (new version)

  10. Start Newired Portal by running the start.bat file you can find in <portal folder>
  11. Delete the Editor if you have already installed it
  12. Re-install the Editor from the Portal download section

CentOS


  1. Open the terminal and type the command "systemctl stop newired"
  2. Backup the following files in <tomcat folder>:
    webapps/newired/WEB-INF/classes/application.properties
    webapps/collector/WEB-INF/classes/application.properties
    webapps/report/WEB-INF/classes/application.properties
  3. Delete folders (newired, collector and report) and war files (newired.war, collector.war and report.war) in the folder <tomcat folder>/webapps/
  4. Copy the .war files you downloaded into <tomcat folder>/webapps/
  5. In the terminal, type the command "systemctl restart newired"
  6. Wait until newired, report and collector folders are created in <tomcat folder>/webapps/
  7. In the terminal, type the command "systemctl stop newired"
  8. Copy and replace backed up application.properties files (point 2) at these paths in the <tomcat folder>:
    webapps/newired/WEB-INF/classes/application.properties
    webapps/collector/WEB-INF/classes/application.properties
    webapps/report/WEB-INF/classes/application.properties

  9. REQUIRED JUST IF APPLYING A HOT FIX - Open application.properties file in <tomcat folder>/webapps/newired/WEB-INF/classes/ and change "newired.version=xx.x.x" (old version) to "newired.version=yy.y.y(new version)

  10. In the terminal, type the command "systemctl restart newired"
  11. In the terminal, type the command "systemctl status newired". 
     12. Delete the Editor if you have already installed it

     13. Re-install the Editor from the Portal download section



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