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
- Stop Newired Portal by running the stop.bat file you can find in <portal folder>
- 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 - Delete folders (newired, collector and report) and war files (newired.war, collector.war and report.war) in the folder <tomcat folder>/webapps/
- Copy the .war files you downloaded into <tomcat folder>/webapps/
- Start Newired Portal by running the start.bat file you can find in <portal folder>
- Wait until newired, report and collector folders are created in <tomcat folder>/webapps/
- Stop Newired Portal by running the stop.bat file you can find in <portal folder>
- 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 - 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)
- Start Newired Portal by running the start.bat file you can find in <portal folder>
- Delete the Editor if you have already installed it
- Re-install the Editor from the Portal download section
CentOS
- Open the terminal and type the command "systemctl stop newired"
- 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 - Delete folders (newired, collector and report) and war files (newired.war, collector.war and report.war) in the folder <tomcat folder>/webapps/
- Copy the .war files you downloaded into <tomcat folder>/webapps/
- In the terminal, type the command "systemctl restart newired"
- Wait until newired, report and collector folders are created in <tomcat folder>/webapps/
- In the terminal, type the command "systemctl stop newired"
- 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 - 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)
- In the terminal, type the command "systemctl restart newired"
- In the terminal, type the command "systemctl status newired". The status of the Newired service should look like in the image below:
12. Delete the Editor if you have already installed it
13. Re-install the Editor from the Portal download section