Project

General

Profile

Minor release update » History » Version 8

Anchi Cheng, 01/31/2018 02:25 AM

1 5 Amber Herold
h1. Minor release update instructions
2 1 Amber Herold
3 8 Anchi Cheng
We recommend that you use git pull to get minor update files
4 1 Amber Herold
5 8 Anchi Cheng
simply change directories to your download area inside your myami git clone and run <pre>git pull</pre>.
6
7
*NOTE: On CentOS6, on the first time you run "git pull", it may complain
8
<pre>
9
error: Ref refs/remotes/origin/trunk is at e48a4bc1ea51b705af53fe11b778aff350f58f88 but expected 213db4b122c39154208ad655727628f42c414f8e
10
 ! 213db4b..1348e4a  trunk      -> origin/trunk  (unable to update local ref)
11
</pre> 
12
13
Just repeat the same command until it returns
14
15
something like this with number of files changed,
16
<pre>
17
Updating 207294d..4f7d0e9
18
Fast-forward
19
.....
20
 6 files changed, 30 insertions(+), 13 deletions(-)
21
/pre>
22
23
or
24
<pre>
25
Already up-to-date.
26
</pre>
27 2 Amber Herold
28 3 Amber Herold
h2. Update the Appion Packages
29 1 Amber Herold
30
31
{{include(appion:Install Appion Packages Short Shared)}}
32 3 Amber Herold
33
h2. Update the web interface
34
35
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.
36 6 Amber Herold
<pre>
37
cp -rf myamiweb /var/www/html
38
</pre>
39 7 Amber Herold
40
h2. Run Database Update Script
41
42
Running the following script will indicate if you need to run any database update scripts.
43
<pre>
44
cd /your_download_area/myami/dbschema
45
python schema_update.py
46
</pre>
47
48
This will print out a list of commands to paste into a shell which will run database update scripts. 
49
You can re-run schema_update.py at any time to update the list of which scripts still need to be run.