How to upgrade Plone in Ubuntu

Source: Internet
Author: User
Ubuntu 11.04, 64-bit amd platform, upgraded from Plone4.0.7 to 4.1.31,/usr/local/Plone/zinstance/bin/plonectlstop; 2. Back up the/usr/local/Plone folder first, for example, copy to the folder Plone_backup_4.0.7; 3. Rename/usr/local/Plone to Plone by executing the mv command. tmp; 4. Download linux from Plone.org

Ubuntu 11.04, 64-bit AMD platform, upgraded from Plone4.0.7 to 4.1.3
1./usr/local/Plone/zinstance/bin/plonectl stop;
2. Back up the/usr/local/Plone folder first, for example, copy it to the folder Plone_backup_4.0.7;
3. Rename/usr/local/Plone to Plone. tmp using the mv command;
4. Download the linux installation package from Plone.org;
5. decompress the package and install Plone 4.1.3 and standalone as the root user. Note that the password must be the same as the password of the original site. Typical installation commands are as follows:./install. sh standalone -- password = your password here;
6. After the installation is successful, run plonectl start and open the browser to check whether the operation of http: // localhost: 8080 is normal;
7. Edit buildout. cfg and change the listening port from 8080 to 80;
8. Run cd/usr/local/Plone/zinstance and run the/bin/buildout command to reconfigure Plone;
9./usr/local/Plone/zinstance/bin/plonectl restart;
10. Open a browser to check http: // localhost and check whether the port configuration has been changed successfully;
========================================================== ======
11. stop the service and run/usr/local/Plone/zinstance/bin/plonectl stop;
12. Move the filestorage and blobstorage folders under/usr/local/Plone/zinstance/var to ### Orig file backup ### as backups;
13. Move the filestorage and blobstorage folders under zinstance/var In the Plone. tmp folder renamed in step 1 to the/usr/local/Plone/zinstance/var folder;
14./usr/local/Plone/zinstance/bin/plonectl start;
15. Open the browser, http: // localhost, and Plone will prompt you that the site configuration needs to be upgraded;
16. Upgrade the site according to the requirements of Plone in the browser!

Also, for the upgrade documentation, there is a file named “upgrade.txt under the/usr/local/Plone/plone-docsfile. Its content is as follows:

How to upgrade a Plone site to a newer version
========================================================== ======

This is a short version, more information can be found
Http://plone.org/upgrade.

1. Stop Plone/Zope

2. Always back up your Plone site. You shoshould back up:

* Your Data. fs which contains your site data
* Any file system files you have modified
* Your blob storage if you are already using blobs

3. Install the new version of Plone, this depends upon your installation.
The latest version of Plone is always available from
Http://plone.org/download and your install will depend upon your particle
Setup.

4. Restart Plone/Zope

5. Open up the Zope root folder in a browser. It will show you an overview
All installed Plone sites and tell you which ones need to be upgraded.
Follow the onscreen instructions.

Running the upgrade may:

* Change values you have set in the ZODB, for example actions and properties

* Re-catalog your portal_catalog, this may be time-consuming

* Reapply security to objects, this may be time-consuming

If you have issues please search for an update of your Python, Zope, Plone and
Third-party add-ons and read http://plone.org/upgrade.
If you still have issues please the use the bug tracker
Http://dev.plone.org/plone and include: your Python version, the platform,
Plone versions you are upgrading to and from and most
Important: the full traceback and upgrade log. Try to provide as much
Information as possible.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.