Upgrade From 20x » History » Revision 7
Revision 6 (Amber Herold, 10/21/2010 04:52 PM) → Revision 7/16 (Amber Herold, 10/27/2010 05:31 PM)
h1. Upgrade From 2.0.x h2. Download myami 2.1.x source code {{include(appion:Download_Appion_Files_Shared)}} h2. Install {{include(appion:Install Appion Packages Shared)}} 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. Install the Appion python package *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. 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: <pre> cd appion sudo python setup.py install --install-scripts=/usr/local/bin </pre> h2. Run Database Update Script Running the following script will correct a problem that affects Leginon users. See issue #942 for more information. <pre> cd /your_download_area/myami/dbschema python leginondbUpdate-r14897.py </pre> ___ [[Upgrade_Instructions| Upgrade Instructions ^]] ______