Project

General

Profile

Actions

How to Update from v20 (Linux)

Download myami 2.1.x source code

Download myami (contains Appion and Leginon) using one of the following options:

Option 1: 3.4 version (Current release)

  • We have switched to git for version control.
    git clone -b myami-3.4 https://emg.nysbc.org/git/myami myami
    

    Note: If you are installing these files on a microscope Windows PC, you may use Git for Windows to clone the files. See notes on configuration note in Here Check compatibility as newer version does not support Windows XP.

Option 2: beta-release version (Used and updated at NRAMM daily with newest features that may not yet documented)

  • We have switched to git for version control.
    git clone -b myami-beta https://emg.nysbc.org/git/myami myami
    

    Note: If you are installing these files on a microscope Windows PC, you may use Git for Windows to clone the files. See notes on configuration note in Here Check compatibility as newer version does not support Windows XP.

Option 3: Development version (For true developer to play with)

  • We have switched to git for version control recently. trunk and future release branches will be available with git clone
  • unstable with latest features
 
This contains features that may still be under development. It is not supported and may not be stable. Use at your own risk.
git clone -b trunk https://your_redmine_username@emg.nysbc.org/git/myami myami
  • your_redmine_username is required if you intend and have permission to push changes to our repository. Please ask the development team if you would like to contribute.*

Note: If you are installing these files on a microscope Windows PC, you may use Git for Windows to clone the files. See notes on configuration note in Here Check compatibility as newer version does not support Windows XP.

Install Appion/Leginon Packages

Install all the myami python packages except appion using the following script:

cd /your_download_area
cd myami
sudo ./pysetup.sh install

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:

cd sinedon
sudo python setup.py install

Rename your current myamiweb at the document root of the web server to something else as a backup.

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.

Copy config.php from your older myamiweb backup to the new myamiweb folder.

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 here

Run Database Update Script

Running the following script will indicate if you need to run any database update scripts.

cd /your_download_area/myami/dbschema
python schema_update.py

This will print out a list of commands to paste into a shell which will run database update scripts.
You can re-run schema_update.py at any time to update the list of which scripts still need to be run.


How to Update from v2.0 (Microscope Windows Computer) >


Updated by Anchi Cheng over 13 years ago · 3 revisions