Project

General

Profile

How to Update from v21 (Linux) » History » Version 8

Anchi Cheng, 06/06/2012 08:41 PM

1 1 Anchi Cheng
h1. How to Update from v21 (Linux)
2
3 5 Anchi Cheng
h2. Warning:  Update the microscope to 2.2 first before doing this
4
5 8 Anchi Cheng
h2. Download myami 2.1.x source code
6 1 Anchi Cheng
7 8 Anchi Cheng
{{include(appion:Download_Appion_Files_Shared)}}
8 1 Anchi Cheng
9 8 Anchi Cheng
h2. Install Appion/Leginon Packages
10
11
h3. Install all the myami python packages _except appion_ using the following script:
12
13
<pre>
14
cd /your_download_area
15
cd myami
16
sudo ./pysetup.sh install
17
</pre>
18
19
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: 
20
21
<pre>
22
cd sinedon
23
sudo python setup.py install
24
</pre>
25
26
h2. Rename your current myamiweb at the document root of the web server to something else as a backup.
27
28
h2. Install updated Web viewers and tools
29
30
*You will not need to upgrade php mrc tools*.
31
32
See [[Install the Web Interface]] section in Complete Installation Chapter to put the new myamiweb tools to document root for the web server.  
33
34
h2. Copy config.php from your older myamiweb backup to the new myamiweb folder.
35
36
h2. Step through setup wizard in the myamiweb on your server
37
38
The Setup Wizard will take you through the steps to update config.php  If the wizard does not have the privilege to modify the file at the last step, copy the displayed result to an text editor and save as config.php to replace the olde one.
39
40
You will be asked about whether you want to enable myamiweb user login feature that restricts individual user's access to projects and administrator features.  Read about it [[appion:User Management|here]]
41
42
{{include(Appion:Run Database Update Script)}}
43
44 1 Anchi Cheng
h2. Assigning Cs value for each TEM used by Leginon
45
46 8 Anchi Cheng
schema-r15653.py that shows up in the list of required update when schema-update.py is run is used to assign individual spherical aberration constant (Cs) values to different microscope.  Please find out what these values are in advance before running the script to save time.
47 1 Anchi Cheng
48
Running the python script will prompt you at each TEM you have used so far so that you can enter the value in unit of *millimeter*
49
50 4 Anchi Cheng
The Cs value also need to match what is set in pyscope/instrument.cfg before you will be able to acquire more images.  See [[How to Update from v2.1 (Microscope Windows Computer)]]
51 2 Anchi Cheng
52
53
______
54
55 6 Anchi Cheng
[[How_to_Update_from_v21_(Microscope_Windows_Computer)|< How to Update from v2.1 (Microscope Windows Computer)]]
56 2 Anchi Cheng
57
58
______