Ang, Trish | 1 Sep 2010 01:49
Picon

Re: [PloneDavis-Discuss] FW: [Plone] West Coast Sprint <at> UCLA - August 27, 28, and 29, 2010

Hi everyone!

The sprint went really well! If you'd like, we can show y'all what we
learned at the next meeting. It was our first brush with XDV and on the
whole we liked it, and were able to complete a theme with it on Plone 3.3.5.

Another couple thoughts we had were, perhaps in a future meeting we can go
over what every one is currently working on in Plone? And also maybe at
another future meeting, we can video conference with the UCLA group! I feel
like there are a lot of things we can maybe somehow collaborate with,
especially on FSD related projects and PloneEDU type projects.

Trish


On 8/17/10 3:13 PM, "Ang, Trish" <pgang <at> ucdavis.edu> wrote:

> Hi all!
> 
> Tyler & I are planning on heading down for this. It'd be cool to have more
> Davis representation if any of y'all are available. =)
> 
> Trish
> 
> 
> ------ Forwarded Message
> From: Luke Brannon <brannon <at> gseis.ucla.edu>
> Date: Thu, 12 Aug 2010 22:32:51 -0700
> To: "plone <at> lists.ucla.edu" <plone <at> lists.ucla.edu>
> Subject: [Plone] West Coast Sprint  <at>  UCLA - August 27, 28, and 29, 2010
(Continue reading)

Alex Mandel | 1 Sep 2010 02:09

[PloneDavis-Discuss] Rescuing an old site

So I'm try to help someone out here(Opensource project called
geonetwork). A server got hacked and had to be taken offline. Before
doing so a zexp of the site was taken (which I have).

So on another machine I did a Unified install of 2.5.5 and attempted to
import the zexp to get an error:

Input MIME type 'text/x-web-markdown' for transform markdown_to_html is
not registered in the MIME types registry

A solution on the web in several places says "By adding the
‘text/x-web-markdown’ and ‘text/x-web-textile’ MIME types in the
mimetypes_registry in the original site and re-exporting, the import was
successful."

Problem here is I don't have access to the original site anymore (the
hard disk it was on has actually died).

Is this an issue of version mismatch? I'm only guessing the site was
2.5.x vintage, and added the PloneSoftwareCenter as that was the only
known add on product people could remember.

Any chance hand editing the PortalTransforms product would allow it?
"Module Products.PortalTransforms.TransformEngine, line 271, in
_mapTransform" is the bottom of the traceback.

Other idea, anyone know how to extract the content from a zexp file. I'm
not sure we care if it goes back into Plone at this point.

Thanks,
(Continue reading)

Alex Mandel | 1 Sep 2010 02:31

Re: [PloneDavis-Discuss] Rescuing an old site

On 08/31/2010 05:09 PM, Alex Mandel wrote:
> So I'm try to help someone out here(Opensource project called
> geonetwork). A server got hacked and had to be taken offline. Before
> doing so a zexp of the site was taken (which I have).
> 
> So on another machine I did a Unified install of 2.5.5 and attempted to
> import the zexp to get an error:
> 
> Input MIME type 'text/x-web-markdown' for transform markdown_to_html is
> not registered in the MIME types registry
> 
> A solution on the web in several places says "By adding the
> ‘text/x-web-markdown’ and ‘text/x-web-textile’ MIME types in the
> mimetypes_registry in the original site and re-exporting, the import was
> successful."
> 
> Problem here is I don't have access to the original site anymore (the
> hard disk it was on has actually died).
> 
> Is this an issue of version mismatch? I'm only guessing the site was
> 2.5.x vintage, and added the PloneSoftwareCenter as that was the only
> known add on product people could remember.
> 
> Any chance hand editing the PortalTransforms product would allow it?
> "Module Products.PortalTransforms.TransformEngine, line 271, in
> _mapTransform" is the bottom of the traceback.
> 
> Other idea, anyone know how to extract the content from a zexp file. I'm
> not sure we care if it goes back into Plone at this point.
> 
(Continue reading)

David Siedband | 1 Sep 2010 02:54
Gravatar

Re: [PloneDavis-Discuss] Rescuing an old site

Hi Alex,

> I'm thinking that maybe I should try on a Plone 2.1.x site to see if
> that works but I can't seem to find an archive that still has those
> files for download. Anyone know where the files have been moved since
> the sourceforge days? Or anyone have a 2.1.x server running that's
> willing to try an import for me?

Older versions of Plone can be downloaded here:

http://dist.plone.org/archive/

--
David Siedband
http://zentraal.com
Carol Mcmasters-Stone | 1 Sep 2010 18:39
Picon

Re: [PloneDavis-Discuss] FW: [Plone] West Coast Sprint <at> UCLA - August 27, 28, and 29, 2010

Great!  I'll put together a meeting shortly. :-)

Carol

On Aug 31, 2010, at 4:49 PM, Ang, Trish wrote:

> Hi everyone!
> 
> The sprint went really well! If you'd like, we can show y'all what we
> learned at the next meeting. It was our first brush with XDV and on the
> whole we liked it, and were able to complete a theme with it on Plone 3.3.5.
> 
> Another couple thoughts we had were, perhaps in a future meeting we can go
> over what every one is currently working on in Plone? And also maybe at
> another future meeting, we can video conference with the UCLA group! I feel
> like there are a lot of things we can maybe somehow collaborate with,
> especially on FSD related projects and PloneEDU type projects.
> 
> Trish
> 
> 
> On 8/17/10 3:13 PM, "Ang, Trish" <pgang@...> wrote:
> 
>> Hi all!
>> 
>> Tyler & I are planning on heading down for this. It'd be cool to have more
>> Davis representation if any of y'all are available. =)
>> 
>> Trish
>> 
(Continue reading)

Steve McMahon | 1 Sep 2010 18:42
Gravatar

Re: [PloneDavis-Discuss] Rescuing an old site

Please pardon my taking advantage of Alex's pain to step up on a soap box, but we should all learn from this:

.zexp exports are not backups! They can only be imported into databases running with *identical* version and product configurations. Their only real use is for moving things around within that very limited boundary.

If all you have is a .zexp, you're going to have to try to set up an identical Zope version, then repeatedly try imports until you finally get all the right add ons in place to match the old configuration. Miserable!

On Tue, Aug 31, 2010 at 5:09 PM, Alex Mandel <tech_dev-V1ui0Jp4Xm2ZwHVy+eqOOgC/G2K4zDHf@public.gmane.org> wrote:
So I'm try to help someone out here(Opensource project called
geonetwork). A server got hacked and had to be taken offline. Before
doing so a zexp of the site was taken (which I have).

So on another machine I did a Unified install of 2.5.5 and attempted to
import the zexp to get an error:

Input MIME type 'text/x-web-markdown' for transform markdown_to_html is
not registered in the MIME types registry

A solution on the web in several places says "By adding the
‘text/x-web-markdown’ and ‘text/x-web-textile’ MIME types in the
mimetypes_registry in the original site and re-exporting, the import was
successful."

Problem here is I don't have access to the original site anymore (the
hard disk it was on has actually died).

Is this an issue of version mismatch? I'm only guessing the site was
2.5.x vintage, and added the PloneSoftwareCenter as that was the only
known add on product people could remember.

Any chance hand editing the PortalTransforms product would allow it?
"Module Products.PortalTransforms.TransformEngine, line 271, in
_mapTransform" is the bottom of the traceback.

Other idea, anyone know how to extract the content from a zexp file. I'm
not sure we care if it goes back into Plone at this point.

Thanks,
Alex
_______________________________________________
ZUGOD-Discuss mailing list
ZUGOD-Discuss <at> velocipede.dcn.davis.ca.us
http://www2.dcn.org/mailman/listinfo/zugod-discuss

_______________________________________________
ZUGOD-Discuss mailing list
ZUGOD-Discuss@...
http://www2.dcn.org/mailman/listinfo/zugod-discuss
Alex Mandel | 1 Sep 2010 19:28

Re: [PloneDavis-Discuss] Rescuing an old site

Steve,

In this particular case is there any way to open the zexp directly in
python just to try and grab stuff out of it just by looping through and
extracting junks of text. As I said before site rescue isn't the
important part, just data recovery.

Thanks,
Alex

On 09/01/2010 09:42 AM, Steve McMahon wrote:
> Please pardon my taking advantage of Alex's pain to step up on a soap box,
> but we should all learn from this:
> 
> .zexp exports are not backups! They can only be imported into databases
> running with *identical* version and product configurations. Their only real
> use is for moving things around within that very limited boundary.
> 
> If all you have is a .zexp, you're going to have to try to set up an
> identical Zope version, then repeatedly try imports until you finally get
> all the right add ons in place to match the old configuration. Miserable!
> 
> On Tue, Aug 31, 2010 at 5:09 PM, Alex Mandel <tech_dev@...>wrote:
> 
>> So I'm try to help someone out here(Opensource project called
>> geonetwork). A server got hacked and had to be taken offline. Before
>> doing so a zexp of the site was taken (which I have).
>>
>> So on another machine I did a Unified install of 2.5.5 and attempted to
>> import the zexp to get an error:
>>
>> Input MIME type 'text/x-web-markdown' for transform markdown_to_html is
>> not registered in the MIME types registry
>>
>> A solution on the web in several places says "By adding the
>> ‘text/x-web-markdown’ and ‘text/x-web-textile’ MIME types in the
>> mimetypes_registry in the original site and re-exporting, the import was
>> successful."
>>
>> Problem here is I don't have access to the original site anymore (the
>> hard disk it was on has actually died).
>>
>> Is this an issue of version mismatch? I'm only guessing the site was
>> 2.5.x vintage, and added the PloneSoftwareCenter as that was the only
>> known add on product people could remember.
>>
>> Any chance hand editing the PortalTransforms product would allow it?
>> "Module Products.PortalTransforms.TransformEngine, line 271, in
>> _mapTransform" is the bottom of the traceback.
>>
>> Other idea, anyone know how to extract the content from a zexp file. I'm
>> not sure we care if it goes back into Plone at this point.
>>
>> Thanks,
>> Alex
Steve McMahon | 1 Sep 2010 22:28
Gravatar

Re: [PloneDavis-Discuss] Rescuing an old site

I don't know of any mechanism for reading .zexp files other than Zope itself.

On Wed, Sep 1, 2010 at 10:28 AM, Alex Mandel <tech_dev-V1ui0Jp4Xm2ZwHVy+eqOOgC/G2K4zDHf@public.gmane.org> wrote:
Steve,

In this particular case is there any way to open the zexp directly in
python just to try and grab stuff out of it just by looping through and
extracting junks of text. As I said before site rescue isn't the
important part, just data recovery.

Thanks,
Alex

On 09/01/2010 09:42 AM, Steve McMahon wrote:
> Please pardon my taking advantage of Alex's pain to step up on a soap box,
> but we should all learn from this:
>
> .zexp exports are not backups! They can only be imported into databases
> running with *identical* version and product configurations. Their only real
> use is for moving things around within that very limited boundary.
>
> If all you have is a .zexp, you're going to have to try to set up an
> identical Zope version, then repeatedly try imports until you finally get
> all the right add ons in place to match the old configuration. Miserable!
>
> On Tue, Aug 31, 2010 at 5:09 PM, Alex Mandel <tech_dev-V1ui0Jp4Xm2ZwHVy+eqOOgC/G2K4zDHf@public.gmane.org>wrote:
>
>> So I'm try to help someone out here(Opensource project called
>> geonetwork). A server got hacked and had to be taken offline. Before
>> doing so a zexp of the site was taken (which I have).
>>
>> So on another machine I did a Unified install of 2.5.5 and attempted to
>> import the zexp to get an error:
>>
>> Input MIME type 'text/x-web-markdown' for transform markdown_to_html is
>> not registered in the MIME types registry
>>
>> A solution on the web in several places says "By adding the
>> ‘text/x-web-markdown’ and ‘text/x-web-textile’ MIME types in the
>> mimetypes_registry in the original site and re-exporting, the import was
>> successful."
>>
>> Problem here is I don't have access to the original site anymore (the
>> hard disk it was on has actually died).
>>
>> Is this an issue of version mismatch? I'm only guessing the site was
>> 2.5.x vintage, and added the PloneSoftwareCenter as that was the only
>> known add on product people could remember.
>>
>> Any chance hand editing the PortalTransforms product would allow it?
>> "Module Products.PortalTransforms.TransformEngine, line 271, in
>> _mapTransform" is the bottom of the traceback.
>>
>> Other idea, anyone know how to extract the content from a zexp file. I'm
>> not sure we care if it goes back into Plone at this point.
>>
>> Thanks,
>> Alex

_______________________________________________
ZUGOD-Discuss mailing list
ZUGOD-Discuss <at> velocipede.dcn.davis.ca.us
http://www2.dcn.org/mailman/listinfo/zugod-discuss

_______________________________________________
ZUGOD-Discuss mailing list
ZUGOD-Discuss@...
http://www2.dcn.org/mailman/listinfo/zugod-discuss
Ang, Trish | 2 Sep 2010 21:03
Picon

Re: [PloneDavis-Discuss] Rescuing an old site

Hi Alex!

We have a Plone 2.5 server running on OpenBSD. Not sure if it'll be of any
help to you, but if you want we can try importing a copy of your .zexp.
Steve's right though ‹ all the product versions need to be correct for the
import to work.

Here's the info from our 2.5 box:
Plone 2.5.5, 
 CMF-1.6.4, 
 Zope (Zope 2.9.8-final, python 2.4.4, openbsd4),
 Five 1.4.4, 
 Python 2.4.4 (#1, Aug 17 2007, 08:00:48) [GCC 3.3.5 (propolice)],
  PIL 1.1.5  

Tyler & I have been told repeatedly that .zexp isn't a safe or reliable
means for backing up websites, and I definitely see that from instances such
as this one. However, we do still use it for transferring websites between
servers, i.e. from our development box to our production box. It works for
us because we have a number of servers all built off the same buildout.cfg.

It was suggested during the sprint that all websites should have their own
data.fs, and that moving websites should be done via those data.fs files. We
haven't been able to do this since we have so many websites to deal with and
not nearly enough space, but I was wondering how you all handle this? Does
anyone have Zope instances with multiple data.fs files and if yeah, what are
your experiences with it?

- trish

On 9/1/10 10:28 AM, "Alex Mandel" <tech_dev@...> wrote:

> Steve,
> 
> In this particular case is there any way to open the zexp directly in
> python just to try and grab stuff out of it just by looping through and
> extracting junks of text. As I said before site rescue isn't the
> important part, just data recovery.
> 
> Thanks,
> Alex
> 
> On 09/01/2010 09:42 AM, Steve McMahon wrote:
>> Please pardon my taking advantage of Alex's pain to step up on a soap box,
>> but we should all learn from this:
>> 
>> .zexp exports are not backups! They can only be imported into databases
>> running with *identical* version and product configurations. Their only real
>> use is for moving things around within that very limited boundary.
>> 
>> If all you have is a .zexp, you're going to have to try to set up an
>> identical Zope version, then repeatedly try imports until you finally get
>> all the right add ons in place to match the old configuration. Miserable!
>> 
>> On Tue, Aug 31, 2010 at 5:09 PM, Alex Mandel
>> <tech_dev@...>wrote:
>> 
>>> So I'm try to help someone out here(Opensource project called
>>> geonetwork). A server got hacked and had to be taken offline. Before
>>> doing so a zexp of the site was taken (which I have).
>>> 
>>> So on another machine I did a Unified install of 2.5.5 and attempted to
>>> import the zexp to get an error:
>>> 
>>> Input MIME type 'text/x-web-markdown' for transform markdown_to_html is
>>> not registered in the MIME types registry
>>> 
>>> A solution on the web in several places says "By adding the
>>> Œtext/x-web-markdown¹ and Œtext/x-web-textile¹ MIME types in the
>>> mimetypes_registry in the original site and re-exporting, the import was
>>> successful."
>>> 
>>> Problem here is I don't have access to the original site anymore (the
>>> hard disk it was on has actually died).
>>> 
>>> Is this an issue of version mismatch? I'm only guessing the site was
>>> 2.5.x vintage, and added the PloneSoftwareCenter as that was the only
>>> known add on product people could remember.
>>> 
>>> Any chance hand editing the PortalTransforms product would allow it?
>>> "Module Products.PortalTransforms.TransformEngine, line 271, in
>>> _mapTransform" is the bottom of the traceback.
>>> 
>>> Other idea, anyone know how to extract the content from a zexp file. I'm
>>> not sure we care if it goes back into Plone at this point.
>>> 
>>> Thanks,
>>> Alex
> 
> _______________________________________________
> ZUGOD-Discuss mailing list
> ZUGOD-Discuss@...
> http://www2.dcn.org/mailman/listinfo/zugod-discuss
Steve McMahon | 3 Sep 2010 18:48
Gravatar

Re: [PloneDavis-Discuss] Rescuing an old site

On Thu, Sep 2, 2010 at 12:03 PM, Ang, Trish <pgang-ZnEz5tD0I2KVc3sceRu5cw@public.gmane.org> wrote:

...
It was suggested during the sprint that all websites should have their own
data.fs, and that moving websites should be done via those data.fs files. We
haven't been able to do this since we have so many websites to deal with and
not nearly enough space, but I was wondering how you all handle this? Does
anyone have Zope instances with multiple data.fs files and if yeah, what are
your experiences with it?
...

For those in the dark, this is done by "mounting" multiple data.fs databases at different points in the object hierarchy.

It's a hassle to set up, and may result in a much larger memory footprint since the database object caches for little-used sites will no longer be shared.

But .. it works and can be a life-saver at migration time. I tend to do it with bigger/active sites, while still packing a fairly large number of smaller, less-active sites into a single db.
_______________________________________________
ZUGOD-Discuss mailing list
ZUGOD-Discuss@...
http://www2.dcn.org/mailman/listinfo/zugod-discuss

Gmane