Updating plone addons on several sites at once - plone

I have a plone instance containing several plone sites.
Whenever I upgrade plone (ex. from 4.2.1 to 4.2.3) there are some addons which need to be updated as well. My own local products need to be updated from time to time as well.
I usually go into the zmi quickinstaller folder reinstall them one by one. However having 18 plone sites in this particular plone instance means that now I have to update the addons for every site manually.
Is there a product or script which would automate the update of products/addons?

The addon ftw.upgrade provides a view (##manage-upgrades) which lists all addon-upgrades for this plone site (in an order based on dependencies) and you can upgrade all addons for one plone site with a single click. Scripting APIs and upgrading of multiple sites are in development. Upgrading the plone version is not supported, that's the job of the plone migration tool.
The addon collective.upgrade does a similar job and has already scripting support and I think it can also upgrade plone sites, not just addons.

Related

Alfresco share customization to create a page within share for alfresco 5.X

Alfresco 5.x have been built on top of maven where earlier it was ant.
Can anyone suggest how do i create share page in the alfresco 5.x
Till now we have tried creating page using the below documentation in
https://docs.alfresco.com/4.1/tasks/tutorial-share-add-page.html
Let us know how to do the same using alfresco 5.x which gave error using the above documentation.

How to manage a remote Plone site from my local Plone 5.0?

My team has developed a Plone site using 4.3 and put it on a virtual server. Although I am able to manage many settings as an admin user through the Plone site over the server, when I try to install more add-on and themes to the site, I realize I don't have its buildout nor any file on my Plone5.0 folder. Is there a way for me to pull down that Plone site to my local machine, and create an identical site using Zope instance? Thanks!
Buildout is not 'managed' TTW (through the web), you must have access to the server filesystem where the Plone is hosted. The buildout automates the installation and/or configuration of Plone and their additional components (like a webserver, cache service etc.), but not only Plone, and many other softwares built with python (or not).
From buildout.org website: "Buildout is a Python-based build system for creating, assembling and deploying applications from multiple parts, some of which may be non-Python-based."
In your case, you can't simply manage a Plone instance in 4.3 through another remote one in 5.0 (not even with same version, as far I know). Well, at least, not without ZEOCluster (and the versions should match).
The unified installer from Plone.org is based on buildout and is well commented (check for files named buildout.cfg, base.cfg, develop.cfg etc.).
To upgrade your plone site from 4.3 to 5.0 you can check this link: http://docs.plone.org/manage/upgrading/, section "Upgrading Plone 4.x to 5.0" The migration should be more simple than older versions like 3.x or 2.x.
You also can use collective.transmogrify (and friends - jsonify, dexterity, filesystem etc.) to 'copy' contents from your live plone 4.3 to a local development in 4.3. In most cases, those tools are recommended for large Plone sites (less than ~100 contents can be a overkill), in my opinion. So, then you can upgrade the 4.3 instance to 5.0 locally. That's the roughly way to do so. Anyway you should have access to the buildout on both Plone instances (local/remote) and a good knowledge of the Plone ecosystem (Zope, ZoDB, Python etc.).
Check if your Plone instance contains content types developed with Archetypes (AT), because, Plone 5 uses the Dexterity content type as default, no more AT. The builtin content types in Plone (folder, file, image etc) can be upgraded by plone.app.contenttypes, but custom content (add-ons) should be migrated by a developer or their maintainer.

STS 3.6.0 is not based on Eclipse Luna

I've read that STS 3.6.0 is based on eclipse Luna. However, I have STS 3.6 (upgraded from the IDE since several versions ago) but in the "about" section it says the Platform is Eclipse Juno SR2 (4.2.2).
Is there something special I have to do to upgrade my STS to eclipse Luna and so be able to use Java 8, and Tomcat 8?
If you update STS using the "Check for Updates" mechanism, it updates to newer versions of STS, but it doesn't update the underlying Eclipse platform version. This is by design to avoid complicated situations with conflicting plugin dependencies, etc. Therefore you would need to start with a fresh STS 3.6.0 for Eclipse 4.4 installation in order to jump to Eclipse 4.4 (which also includes the Java8 support).
If you don't want to manually install a bunch of third-party plugins again manually after starting with a fresh STS installation, you can consider to use a script that installs features automatically, like this one: https://gist.github.com/martinlippert/5155155. It is for Mac, but it should be transferable to other operating systems.
Hope this helps!

Update Drupal from non-server computer

I am working on my drupal site from the non server computer. It is outdated and needs to be updated (from drupal 6 to 7). I am an admin on this site and i have all the credentials. Can i update drupal 6 to 7 from a computer that does not have the drupal directory on it? (i.e from the drupal site on a laptop) Every time i click download on the recommended update it just downloads a .tar.gz file. Can somebody point me in the right direction?
You cannot upgrade your drupal 6 live site by simply clicking on an upgrade to D7 button.
Drupal is a modular system. If you upgrade the drupal core to version 7, all contributed and custom modules must be replaced by D7 counterparts. Even worse, Drupal 7 differs conceptionally from Drupal 6. An upgrade to D7 is possible, but not in an automatic process. You have to do the complex upgrade process by hand.
Your question suggests that you should probably stay with Drupal 6.

How can I create a WIX installer that will install both to IIS6 and IIS7

I'm uing various different versions of WIX trying to get an installer to be able to install to both IIS versions. I've heard that WIX doesn't natively support IIS7 so one must make a CA to provide the functionality
Does anyone have an example of how to create functionality which can do this? I've already got an installer to install the web site to IIS6 but can't attach this with an IIS7 custom action I've found.
Edit: Ahh okay I'll rephrase my question.
How would I create a UI to allow a user to choose the web site to use for IIS6 and IIS7 (i.e support all versions of IIS to query)?
WiX 3.5 supports IIS7. You should use the same elements of IIsExtension you normally do for IIS6. Besides, "IIS6 compatibility" prerequisite is not required any longer.

Resources