How to Update from v21 (Linux) » History » Revision 14
Revision 13 (Anchi Cheng, 06/07/2012 01:39 PM) → Revision 14/15 (Anchi Cheng, 06/07/2012 03:08 PM)
h1. How to Update from v21 (Linux) h2. Download myami 2.2.x source code {{include(appion:Download_Appion_Files_Shared)}} h2. Install Appion/Leginon Packages h3. Install all the myami python packages _except appion_ using the following script: <pre> cd /your_download_area cd myami sudo ./pysetup.sh install </pre> 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: <pre> cd sinedon sudo python setup.py install </pre> h3. Move leginon.cfg if it was saved with the installation. Run this script to find out where it was: <pre> cd /your_download_area/myami/leginion/ configcheck.py </pre> If the script can not find leginon.cfg, and you found a copy of leginon.cfg in $PYTHONSITEPKG/leginon/config from the last installation, move that leginon.cfg to $PYTHONSITEPKG/leginon. h2. Rename your current myamiweb at the document root of the web server to something else as a backup. h2. Install updated Web viewers and tools *You will not need to upgrade php mrc tools*. See [[Install the Web Interface]] section in Complete Installation Chapter to put the new myamiweb tools to document root for the web server. h2. Copy config.php from your older myamiweb backup to the new myamiweb folder. h2. Step through setup wizard in the myamiweb on your server 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. {{include(Appion:Run Database Update Script)}} h2. Assigning Cs value for each TEM used by Leginon 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. 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* 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)]] ______ [[How_to_Update_from_v21_(Microscope_Windows_Computer)| How to Update from v2.1 (Microscope Windows Computer) >]] ______