[Silva-general] Re: Silva-general Digest, Vol 11, Issue 2

Dav Clark dav at alum.mit.edu
Wed Jan 4 16:45:11 CET 2006


Just for completeness, I can ditto more or less exactly what Marc said.

If I were to share a Data.fs with you, Guido, whither should I send it?

DC

On Jan 4, 2006, at 5:39 PM, silva-general-request at infrae.com wrote:

> Message: 4
> Date: Mon, 2 Jan 2006 22:09:39 +0100
> From: Marc Petitmermet <petitmermet at mat.ethz.ch>
> Subject: Re: [Silva-general] SilvaNews-1.2 to SilvaNewsNetwork-2.0.1
> To: Guido Wesdorp <guido at infrae.com>
> Cc: silva-general <silva-general at infrae.com>
> Message-ID: <74F83090-AC65-475F-A69A-85888422DBA6 at mat.ethz.ch>
> Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
>
> On 02. Jan 2006, at 17:05 Uhr, Guido Wesdorp wrote:
>
>> Marc Petitmermet wrote:
>>> what is the correct procedure to upgrade silvanews to the latest
>>> version? the upgrade.txt only explains about how to go from 1.0
>>> to  1.1 and then it stops. how to get it from 1.2 to 2.0.1? this
>>> is how i  did it:
>>> 1. production system: zope export of site with silva-1.3 and
>>> silvanews-1.2
>>> 2. testing system: import zope export into silva-1.4.1 and
>>> silvanews-1.2
>>>    the usual: restart zope/ refresh silva extensions
>>> 3. testing system: replace silvanews-1.2 with silvanewsnetwork-2.0.1
>>>    the usual: restart zope/ refresh silva extensions
>>>    service news: upgrade content (this is not documented)
>> The problems you're having are indeed related to a bad upgrade:
>> since you're using .zexps the system isn't keeping track of the
>> versions properly (I guess), which makes that the news service
>> doesn't know it has to run updates.
>>
>> Normally, upgrading works like this:
>>
>> 1. replace the Product code with the new release code
>
> i did. in the first step above i replaced all products except
> silvanews (the zexp import does not work with the new silvanews
> version installed). then i replaced the silavnews version.
>
>> 2. go to 'service_news', if there's an upgrade required it will
>> display a special screen with a button you can press
>
> i did as you can see in my procedure above.
>
>> 3. press the button, this will trigger the upgrade code
>
> i did.
>
>> Now I'm not sure *why* the service doesn't recognize your 'data
>> version' (you don't see this special screen, do you?)
>
> yes, i did see it and i used it. but apparently the upgrade did not
> work properly for me.
> i don't have that many news related objects (news, filters, viewers);
> i can manually recreate them. i just did not have the time yet.
>
> regards,
> marc
>




More information about the Silva-general mailing list