Project

General

Profile

Minor release update » History » Revision 8

Revision 7 (Amber Herold, 02/14/2011 12:33 PM) → Revision 8/9 (Anchi Cheng, 01/31/2018 02:25 AM)

h1. Minor release update instructions 

 We recommend You can "check the Files tab for updated minor release versions":http://emg.nysbc.org/projects/appion/files/ of your installed release. These will include any critical bug fixes that you use git pull to get minor have been addressed since the original release. 

 You may update files 

 by either downloading a released tar file or doing an svn update if your original installation was via svn checkout. To do the svn update, simply change directories to your download area inside your myami git clone installation and run <pre>git pull</pre>. <pre>svn update</pre>. 

 *NOTE: On CentOS6, on the first time you run "git pull", it may complain 
 <pre> 
 error: Ref refs/remotes/origin/trunk is at e48a4bc1ea51b705af53fe11b778aff350f58f88 but expected 213db4b122c39154208ad655727628f42c414f8e 
  ! 213db4b..1348e4a    trunk        -> origin/trunk    (unable to update local ref) 
 </pre>  

 Just repeat the same command until it returns 

 something like this with number of files changed, 
 <pre> 
 Updating 207294d..4f7d0e9 
 Fast-forward 
 ..... 
  6 files changed, 30 insertions(+), 13 deletions(-) 
 /pre> 

 or 
 <pre> 
 Already up-to-date. 
 </pre> 

 h2. Update the Appion Packages 


 {{include(appion:Install Appion Packages Short Shared)}} 

 h2. Update the web interface 

 Copy the entire myamiweb folder found at myami/myamiweb to your web directory (ex. /var/www/html). You may want to save a copy of your old myamiweb directory first. 
 <pre> 
 cp -rf myamiweb /var/www/html 
 </pre> 

 h2. Run Database Update Script 

 Running the following script will indicate if you need to run any database update scripts. 
 <pre> 
 cd /your_download_area/myami/dbschema 
 python schema_update.py 
 </pre> 

 This will print out a list of commands to paste into a shell which will run database update scripts.  
 You can re-run schema_update.py at any time to update the list of which scripts still need to be run.