How to Update from v21 (Linux) » History » Revision 9
Revision 8 (Anchi Cheng, 06/06/2012 08:41 PM) → Revision 9/15 (Anchi Cheng, 06/06/2012 08:42 PM)
h1. How to Update from v21 (Linux) h2. Warning: Update the microscope to 2.2 first before doing this h2. Download myami 2.2.x 2.1.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> 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. 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]] {{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)]] ______