Re: Upgrading the database after upgrading Plone

"Jens W. Klein" <jens-/[email protected]> Fri, 08 May 2015 11:44:22 +0200
Newsgroups gmane.comp.web.zope.plone.user
Organization Klein & Partner KG
Message-ID <[email protected]>
On 2015-05-07 23:19, Wolfgang Jeltsch wrote:
> Am Mittwoch, den 06.05.2015, 12:59 +0200 schrieb Jens W. Klein:
>> On 2015-05-06 12:38, Wolfgang Jeltsch wrote:
>>> Hi,
>>>
>>> from the thread I started yesterday, I learned that it is necessary to
>>> upgrade profiles after upgrading Plone. I think this is not documented
>>> in the Plone Upgrade Guide, which is a pity.
>>>
>>>   From what I understand now, you have to do the following steps after
>>> upgrading to a newer Plone version:
>>>
>>>     • Go to the root page of your Plone installation and run the upgrade
>>>       procedures for all the sites from there.
>>>
>>>     • For every site, go to /⟨site⟩/portal_setup/manage_upgrades, and run
>>>       the upgrade procedures of all the profiles listed there.
>>>
>>> Is this actually all that is necessary, or is there something else to
>>> do?
>>
>>
>> Migration guide at
>> https://plone.org/documentation/manual/upgrade-guide/minor-version-upgrades
>> tells me to:
>> """
>> 3) Run Migration Script
>>
>> Visit your Zope instance's ZMI (http://yoursite:8080).  You will likely
>> see a message prompting you to run Plone's migration script for each
>> site in your instance, e.g.
>>
>> This site configuration is outdated and needs to be upgraded.
>>
>> Click Upgrade button next to the site and the upgrade will run.  Check
>> the "Dry Run" checkbox if you want to test the migration before you
>> execute it.
>> """
>>
>> This should run the upgrade steps. If this does not work I consider this
>> a bug and we should either fix the migration or the documentation.
>
> Well, this runs the upgrade steps for the site, but not the ones related
> to profiles. This broke TinyMCE when upgrading from 4.0 to 4.3. I had to
> run the upgrade steps from /⟨site⟩/portal_setup/manage_upgrades also, at
> least for TinyMCE.
>
> So the documentation is not in line with how the migration actually
> works.

Thanks for sharing your experience! I created an issue here:
https://github.com/plone/documentation/issues/249

Jens
-- 
Klein & Partner KG, member of BlueDynamics Alliance


------------------------------------------------------------------------------
One dashboard for servers and applications across Physical-Virtual-Cloud 
Widest out-of-the-box monitoring support with 50+ applications
Performance metrics, stats and reports that give you Actionable Insights
Deep dive visibility with transaction tracing using APM Insight.
http://ad.doubleclick.net/ddm/clk/290420510;117567292;y
_______________________________________________
Plone-Users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plone-users