Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I have one plone instance in directory A. Then I copied the instance to directory B. Today I find that the running plone located in B even I run "sudo ./bin/plonectl start" in A. I have two problem to resolve:

  1. How could I start plone instance in A ?
  2. How could I start them both so I can combine contents in A and B?

Debian 6, Plone 4.1.4

share|improve this question

migrated from stackoverflow.com Mar 7 '13 at 15:53

This question came from our site for professional and enthusiast programmers.

    
Are these Unified Installer setups? Did you re-run the buildout to re-generate the paths? Did you adjust the port on which the second server runs? Do you have a front-end server (apache, nginx, varnish, haproxy loadbalancer, etc.)? –  Martijn Pieters Mar 7 '13 at 10:04

1 Answer 1

up vote 3 down vote accepted

My suspicion is that you never changed the port assignments in the configurations. Server B was probably left running; your attempts to start Server A failed because it couldn't get the port already held by B.

So, first get both running by editing the buildout.cfg for one of them to specify a different http-address for the zope instance.

Once both are running, you may combine them so that they appear at different paths in the same web host by using rewrite rules in your reverse proxy (probably apache or nginx).

If you want to combine them into the same Zope database by exporting one site from it's original zope server and importing into the target server. They will still be different Plone instances, though in the same database. If you want to combine them into the same Plone instance, then export content rather than the whole site, and import into the target Plone site.

Export/import is done through the Zope Management Interface. The two Plone configurations must match exactly for this to work. Expect to have to reindex the Plone content after any export/import.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.