Difference between revisions of "Updating Onepoint"

From Onepoint Systems Integration
Jump to: navigation, search
m (Pedro Ferreira moved page Onepoint Update to Updating Onepoint)
 
Line 5: Line 5:
 
1- first step is to backup database.php and config.json.
 
1- first step is to backup database.php and config.json.
  
   vi /usr/share/onepoint/onepoint/application/config/database.php
+
   ]# vi /usr/share/onepoint/onepoint/application/config/database.php
  
 
[[File:Update1.png]]
 
[[File:Update1.png]]
  
  
   vi /usr/share/onepoint/onepoint-worker/cfg/config.json
+
   ]# vi /usr/share/onepoint/onepoint-worker/cfg/config.json
  
 
[[File:Update2.png]]
 
[[File:Update2.png]]
Line 19: Line 19:
 
2- After doing the backup mentioned in the previous step, stop the onepoint-worker service.
 
2- After doing the backup mentioned in the previous step, stop the onepoint-worker service.
  
   /usr/share/onepoint/onepoint-worker/stop-onepoint-worker
+
   ]# /usr/share/onepoint/onepoint-worker/stop-onepoint-worker
  
 
[[file:crontab4.png]]
 
[[file:crontab4.png]]
Line 26: Line 26:
 
3- Update the Onepoint with the yum command.
 
3- Update the Onepoint with the yum command.
  
   $ yum update onepoint
+
   ]# yum update onepoint
  
 
[[File:Update3.png]]
 
[[File:Update3.png]]
Line 33: Line 33:
 
4- Restore database.php and config.json.
 
4- Restore database.php and config.json.
  
   vi /usr/share/onepoint/onepoint/application/config/database.php
+
   ]# vi /usr/share/onepoint/onepoint/application/config/database.php
  
 
[[File:Update1.png]]
 
[[File:Update1.png]]
  
  
   vi /usr/share/onepoint/onepoint-worker/cfg/config.json
+
   ]# vi /usr/share/onepoint/onepoint-worker/cfg/config.json
  
 
[[File:Update2.png]]
 
[[File:Update2.png]]

Latest revision as of 18:07, 4 May 2020


This page is intended to assist the user to update de Onepoint, for good practices the first step is to backup the machine’s status.

1- first step is to backup database.php and config.json.

 ]# vi /usr/share/onepoint/onepoint/application/config/database.php

Update1.png


 ]# vi /usr/share/onepoint/onepoint-worker/cfg/config.json

Update2.png

 NOTE:The information above is demonstrative, the filling must be done according to your information.


2- After doing the backup mentioned in the previous step, stop the onepoint-worker service.

 ]# /usr/share/onepoint/onepoint-worker/stop-onepoint-worker

Crontab4.png


3- Update the Onepoint with the yum command.

 ]# yum update onepoint

Update3.png


4- Restore database.php and config.json.

 ]# vi /usr/share/onepoint/onepoint/application/config/database.php

Update1.png


 ]# vi /usr/share/onepoint/onepoint-worker/cfg/config.json

Update2.png

 NOTE:The information above is demonstrative, the filling must be done according to your information.


5- After doing the restore requested in the previous step, go to http://<ADDRESS>/onepoint/ui/setup/update and execute DB update.

 http://<ADDRESS>/onepoint/ui/setup/update

Update4.png