Project

General

Profile

Upgrade From 20x » History » Version 8

Eric Hou, 10/28/2010 02:34 PM

1 1 Amber Herold
h1. Upgrade From 2.0.x
2
3 2 Amber Herold
h2. Download myami 2.1.x source code
4 1 Amber Herold
5
{{include(appion:Download_Appion_Files_Shared)}}
6 3 Amber Herold
7 7 Amber Herold
h2. Install Appion Packages
8
9
h3. Install all the myami python packages _except appion_ using the following script:
10
11
<pre>
12 8 Eric Hou
cd /your_download_area/myami
13 7 Amber Herold
sudo ./pysetup.sh install
14
</pre>
15
16
That will install each package, and report any failures.  To determine the cause of failure, see the generated log file "pysetup.log".  If necessary, you can enter a specific package directory and run the python setup command manually.  For example, if sinedon failed to install, you can try again like this: 
17 1 Amber Herold
18 7 Amber Herold
<pre>
19 8 Eric Hou
cd /your_download_area/myami/sinedon
20 7 Amber Herold
sudo python setup.py install
21
</pre>
22
23
h3. Install the Appion python package
24
25
*Important:* You need to install the Appion 2.1.x packages to the *same location* that you installed 2.0.x packages.  You may have used a flag shown below _--install-scripts=/usr/local/bin_ in your original installation. If you did, you need to use it this time as well. You can check if you installed your packages there by browsing to /usr/local/bin and looking for ApDogPicker.py. If the file is there, you should use the flag. if the file is not there, you should remove the flag from the command to install Appion to the default location. 
26 1 Amber Herold
27 7 Amber Herold
The pysetup.py script above did not install the appion package.  Since the appion package includes many executable scripts, it is important that you know where they are being installed.  To prevent cluttering up the /usr/bin directory, you can specify an alternative path, typically /usr/local/bin, or a directory of your choice that you will later add to your PATH environment variable.  Install appion like this:
28
<pre>
29 8 Eric Hou
cd /your_download_area/myami/appion
30 7 Amber Herold
sudo python setup.py install --install-scripts=/usr/local/bin
31
</pre>
32
33 5 Amber Herold
34
h2. Run Database Update Script
35
36
Running the following script will correct a problem that affects Leginon users. See issue #942 for more information.
37
<pre>
38
cd /your_download_area/myami/dbschema
39
python leginondbUpdate-r14897.py
40
</pre>
41 6 Amber Herold
42
___
43
44
[[Upgrade_Instructions| Upgrade Instructions ^]]
45
46
______