Project

General

Profile

Actions

Minor release update » History » Revision 8

« Previous | Revision 8/9 (diff) | Next »
Anchi Cheng, 01/31/2018 02:25 AM


Minor release update instructions

We recommend that you use git pull to get minor update files

simply change directories to your download area inside your myami git clone and run

git pull
.

*NOTE: On CentOS6, on the first time you run "git pull", it may complain

error: Ref refs/remotes/origin/trunk is at e48a4bc1ea51b705af53fe11b778aff350f58f88 but expected 213db4b122c39154208ad655727628f42c414f8e
 ! 213db4b..1348e4a  trunk      -> origin/trunk  (unable to update local ref)

Just repeat the same command until it returns

something like this with number of files changed,

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.

Updated by Anchi Cheng almost 7 years ago · 8 revisions