Project

General

Profile

Upgrade From 20x » History » Version 7

Amber Herold, 10/27/2010 05:31 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
cd /your_download_area
13
cd myami
14
sudo ./pysetup.sh install
15
</pre>
16
17
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: 
18
19
<pre>
20
cd sinedon
21
sudo python setup.py install
22
</pre>
23
24
h3. Install the Appion python package
25
26
*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. 
27
28
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:
29
<pre>
30
cd appion
31
sudo python setup.py install --install-scripts=/usr/local/bin
32
</pre>
33
34 5 Amber Herold
35
h2. Run Database Update Script
36
37
Running the following script will correct a problem that affects Leginon users. See issue #942 for more information.
38
<pre>
39
cd /your_download_area/myami/dbschema
40
python leginondbUpdate-r14897.py
41
</pre>
42 6 Amber Herold
43
___
44
45
[[Upgrade_Instructions| Upgrade Instructions ^]]
46
47
______