----------------------------------------------------------------------

Message: 1
Date: Sun, 16 Jan 2011 11:14:16 -0600
From: John Reese <[email protected]>
Subject: [Setup] Migrating from Plone 3.3.5 -> 4.0.1; buildout.cfg
        question
To: [email protected]
Message-ID: <1295198056.12487.67.camel@kubuntu>
Content-Type: text/plain; charset="UTF-8"

I have a standalone Plone 3.3.5 site that I need to migrate to
standalone 4.0.1. The current site has few add-on products. I am trying
to follow the Plone.org documentation at:

http://plone.org/documentation/manual/upgrade-guide/

Starting with section, Upgrading Plone 3x to 4x:

http://plone.org/documentation/manual/upgrade-guide/version/upgrading-plone-3-x-to-4.0

This guide certainly doesn't state what the author thought was obvious.
I'm trying to trace back these assumptions so that I can work with this
document.

I'm trying to do the upgrade on a test server. I built 3.3.5, put in the
add-ons, and performed the first step of upgrade stated by the
documentation - modification of buildout.cfg inside Plone 3.3.5. (I
think the document is referring to the 3.3.5 buildout.cfg - it's not
clear.)

The next step has me completely lost. According to the document, I
should now be Updating Add-on Products for Plone 4: Detecting Plone 4.
WAIT! I modified buildout.cfg in 3.3.5 but I haven't run the
bin/buildout command yet! None of the changes have taken effect! Why did
I modify buildout.cfg in the first place?

And what's this about Plone 4? I haven't installed it yet. (Actually, I
have it on a separate server, but not on the test server.) Should it be
present on my test server as a side-by-side install of Plone? The
document doesn't say.

And what is this weird statement in Detecting Plone 4:

        Here is an example how to detect Plone 4 during imports. Then
        you can use PLONE_VERSION variable for making different code
        paths.
try: # Plone 4 and higher import plone.app.upgrade PLONE_VERSION = 4 except ImportError: PLONE_VERSION = 3 Looks like a script, but what script? In Plone 3x or 4x? And why am I doing this instead of preparing the 3x data for export?

At this point I'm triangulating so many unstated steps that decided to ask for 
your help rather than proceed. How do you really upgrade Plone?

John Reese




------------------------------

Message: 2
Date: Sun, 16 Jan 2011 09:33:21 -0800
From: Steve McMahon <[email protected]>
Subject: Re: [Setup] Migrating from Plone 3.3.5 -> 4.0.1;    buildout.cfg
        question
To: [email protected]
Message-ID:
        <[email protected]>
Content-Type: text/plain; charset="iso-8859-1"

You may find this to be a better guide.

http://plone.org/documentation/manual/upgrade-guide/general-advice-on-updating-from-a-non-buildout-to-buildout-based-installation

It's nominally about upgrading from pre-buildout systems, but everything is
equally applicable to a major version change.

On Sun, Jan 16, 2011 at 9:14 AM, John Reese <[email protected]> wrote:

I have a standalone Plone 3.3.5 site that I need to migrate to
standalone 4.0.1. The current site has few add-on products. I am trying
to follow the Plone.org documentation at:

http://plone.org/documentation/manual/upgrade-guide/

Starting with section, Upgrading Plone 3x to 4x:


http://plone.org/documentation/manual/upgrade-guide/version/upgrading-plone-3-x-to-4.0

This guide certainly doesn't state what the author thought was obvious.
I'm trying to trace back these assumptions so that I can work with this
document.

I'm trying to do the upgrade on a test server. I built 3.3.5, put in the
add-ons, and performed the first step of upgrade stated by the
documentation - modification of buildout.cfg inside Plone 3.3.5. (I
think the document is referring to the 3.3.5 buildout.cfg - it's not
clear.)

The next step has me completely lost. According to the document, I
should now be Updating Add-on Products for Plone 4: Detecting Plone 4.
WAIT! I modified buildout.cfg in 3.3.5 but I haven't run the
bin/buildout command yet! None of the changes have taken effect! Why did
I modify buildout.cfg in the first place?

And what's this about Plone 4? I haven't installed it yet. (Actually, I
have it on a separate server, but not on the test server.) Should it be
present on my test server as a side-by-side install of Plone? The
document doesn't say.

And what is this weird statement in Detecting Plone 4:

       Here is an example how to detect Plone 4 during imports. Then
       you can use PLONE_VERSION variable for making different code
       paths.

       try:
           # Plone 4 and higher
           import plone.app.upgrade
           PLONE_VERSION = 4
       except ImportError:
           PLONE_VERSION = 3

Looks like a script, but what script? In Plone 3x or 4x? And why am I doing
this instead of preparing the 3x data for export?

At this point I'm triangulating so many unstated steps that decided to ask
for your help rather than proceed. How do you really upgrade Plone?

John Reese


_______________________________________________
I was also confused with upgrading procedure from 3.3.5 to 4.0.0.Also standalone. Upgrade procedure is simple but Ad-on products installation is not clear for me.
Generally  my advice :

     1. Uninstall all add-on products  before migrate
2. Stop 3.x.x instance and then copy Data.fs somewhere or copy directly to new 4.0 instance 3.Install new plone 4.0,start new instance once before replace Data.fs
     4.Stop new Plone 4.x instance and replace /var/filestorage/Data.fs
     5.Start new Plone 4.x and start upgrading proces
     6.If upgrading  pass  then   install  Add-on products who is needed

My site is now updated from 3.3.5 to 4.0.0 but I am not install Add-on products for now. For each Add-on products you have instrucions for install.In /var/opt/Plone400/zinstance/buildout.cfg generally you can add lines for install each add-on and run bin/buildout after that. Maybe it ` s wrong way beacuse I was unsuccessfully try to install geo.geographer add-on product.
  Wich way for install add-on products on Plone4 is regular?













--
Goran Sljivic,sistem-inzenjer
Sveuciliste u Zagrebu
Metalurski fakultet web:http://www.simet.hr
Aleja narodnih heroja 3
44103 Sisak, p.p. br.1


Goran Sljivic,system engineer
University  of Zagreb
Faculty of Metallurgy
Croatia
web:http://www.simet.hr

_______________________________________________
Setup mailing list
[email protected]
http://lists.plone.org/mailman/listinfo/setup

Reply via email to