Discussion:
[PloneDavis-Discuss] problems moving a Plone site
Ben Ransom
2011-12-07 19:25:55 UTC
Permalink
Hi all,
I'm trying to move a plone 3.3.5 site to a newer box (newer underlying Linux). On newbox, I've installed Plone 3.3.5, made buildout.cfg the same as from the oldbox, run buildout, and copied over Data.fs from a shutdown state on oldbox.

Apache is running on both oldbox and newbox. To test on the newbox and avoid influence of rewrite issues (and dns, and virtualhostmonster), I launch firefox on newbox and point to http://IP_address:8080 ?so far, so good: I see the vanilla Plone banner page. But if I click on "View your Plone site" (which is http://IP_address:8080/Plone ), firefox shows an error (see below). Interestingly, I get the same error if I check http://localhost:8080/Plone even on oldbox, yet http://IP_address:8080/Plone shows the site correctly (on oldbox).

Anyone know what is causing this error? I need to test browse through the Plone site on newbox before cutting over.

Thanks,
-Ben

Ben Ransom
College of Engineering
UC Davis
530-752-5625


-------------------error from http://IP_address:8080/Plone -------------
Site Error

An error was encountered while publishing this resource.

TraversalError
(Also, the following error occurred while attempting to render the standard error message, please see the event log for full details: ('No traversable adapter found', {u'content': [('version', '1.6'), ('mode', 'html'), ('setPosition', (106, 24)), ('setSourceFile', 'main_template'), ('beginScope', {u'tal:define': u'show_border context/@@plone/showEditableBorder', u'metal:define-macro': u'content', u'tal:attributes': u"class python:test(show_border,'documentEditable','')"}), ('setLocal', (u'show_border', <PathExpr standard:u'context/@@plone/showEditableBorder'>)), ('startTag', (u'div', [(u'metal:define-macro', u'content', 'metal'), (u'tal:define', u'show_border context/@@plone/showEditableBorder', 'tal'), (u'tal:attribu ??..etc etc etc

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www2.dcn.org/pipermail/zugod-discuss/attachments/20111207/7befaa58/attachment.html
Ben Ransom
2011-12-07 20:03:52 UTC
Permalink
Turns out http://localhost:8080/Plone and http://IP_address:8080/Plone both work fine on oldbox ?I think the problem was a browser caching issue.

I still have problems on newbox, so am now trying to find which product versions I have running, as buildout perhaps grabbed newer versions.
-Ben

From: Ben Ransom <bransom at ucdavis.edu<mailto:bransom at ucdavis.edu>>
Reply-To: Zope/Plone Users' Group of Davis Discussion <zugod-discuss at velocipede.dcn.davis.ca.us<mailto:zugod-discuss at velocipede.dcn.davis.ca.us>>
Date: Wed, 7 Dec 2011 19:25:55 +0000
To: Zope/Plone Users' Group of Davis Discussion <zugod-discuss at velocipede.dcn.davis.ca.us<mailto:zugod-discuss at velocipede.dcn.davis.ca.us>>
Subject: [PloneDavis-Discuss] problems moving a Plone site

Hi all,
I'm trying to move a plone 3.3.5 site to a newer box (newer underlying Linux). On newbox, I've installed Plone 3.3.5, made buildout.cfg the same as from the oldbox, run buildout, and copied over Data.fs from a shutdown state on oldbox.

Apache is running on both oldbox and newbox. To test on the newbox and avoid influence of rewrite issues (and dns, and virtualhostmonster), I launch firefox on newbox and point to http://IP_address:8080 ?so far, so good: I see the vanilla Plone banner page. But if I click on "View your Plone site" (which is http://IP_address:8080/Plone ), firefox shows an error (see below). Interestingly, I get the same error if I check http://localhost:8080/Plone even on oldbox, yet http://IP_address:8080/Plone shows the site correctly (on oldbox).

Anyone know what is causing this error? I need to test browse through the Plone site on newbox before cutting over.

Thanks,
-Ben

Ben Ransom
College of Engineering
UC Davis
530-752-5625


-------------------error from http://IP_address:8080/Plone -------------
Site Error

An error was encountered while publishing this resource.

TraversalError
(Also, the following error occurred while attempting to render the standard error message, please see the event log for full details: ('No traversable adapter found', {u'content': [('version', '1.6'), ('mode', 'html'), ('setPosition', (106, 24)), ('setSourceFile', 'main_template'), ('beginScope', {u'tal:define': u'show_border context/@@plone/showEditableBorder', u'metal:define-macro': u'content', u'tal:attributes': u"class python:test(show_border,'documentEditable','')"}), ('setLocal', (u'show_border', <PathExpr standard:u'context/@@plone/showEditableBorder'>)), ('startTag', (u'div', [(u'metal:define-macro', u'content', 'metal'), (u'tal:define', u'show_border context/@@plone/showEditableBorder', 'tal'), (u'tal:attribu ??..etc etc etc

_______________________________________________ ZUGOD-Discuss mailing list ZUGOD-Discuss at velocipede.dcn.davis.ca.us<mailto:ZUGOD-Discuss at velocipede.dcn.davis.ca.us> http://www2.dcn.org/mailman/listinfo/zugod-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www2.dcn.org/pipermail/zugod-discuss/attachments/20111207/ac8d0c3f/attachment.html
Carol McMasters-Stone
2011-12-07 20:09:17 UTC
Permalink
Ben,
Making the versions match is the first step. If that doesn't help, post back to the list. I can help.

Carol

From: Ben Ransom <bransom at ucdavis.edu<mailto:bransom at ucdavis.edu>>
Reply-To: Zope/Plone Users' Group of Davis Discussion <zugod-discuss at velocipede.dcn.davis.ca.us<mailto:zugod-discuss at velocipede.dcn.davis.ca.us>>
Date: Wed, 7 Dec 2011 20:03:52 +0000
To: Zope/Plone Users' Group of Davis Discussion <zugod-discuss at velocipede.dcn.davis.ca.us<mailto:zugod-discuss at velocipede.dcn.davis.ca.us>>
Subject: Re: [PloneDavis-Discuss] problems moving a Plone site

Turns out http://localhost:8080/Plone and http://IP_address:8080/Plone both work fine on oldbox ?I think the problem was a browser caching issue.

I still have problems on newbox, so am now trying to find which product versions I have running, as buildout perhaps grabbed newer versions.
-Ben

From: Ben Ransom <bransom at ucdavis.edu<mailto:bransom at ucdavis.edu>>
Reply-To: Zope/Plone Users' Group of Davis Discussion <zugod-discuss at velocipede.dcn.davis.ca.us<mailto:zugod-discuss at velocipede.dcn.davis.ca.us>>
Date: Wed, 7 Dec 2011 19:25:55 +0000
To: Zope/Plone Users' Group of Davis Discussion <zugod-discuss at velocipede.dcn.davis.ca.us<mailto:zugod-discuss at velocipede.dcn.davis.ca.us>>
Subject: [PloneDavis-Discuss] problems moving a Plone site

Hi all,
I'm trying to move a plone 3.3.5 site to a newer box (newer underlying Linux). On newbox, I've installed Plone 3.3.5, made buildout.cfg the same as from the oldbox, run buildout, and copied over Data.fs from a shutdown state on oldbox.

Apache is running on both oldbox and newbox. To test on the newbox and avoid influence of rewrite issues (and dns, and virtualhostmonster), I launch firefox on newbox and point to http://IP_address:8080 ?so far, so good: I see the vanilla Plone banner page. But if I click on "View your Plone site" (which is http://IP_address:8080/Plone ), firefox shows an error (see below). Interestingly, I get the same error if I check http://localhost:8080/Plone even on oldbox, yet http://IP_address:8080/Plone shows the site correctly (on oldbox).

Anyone know what is causing this error? I need to test browse through the Plone site on newbox before cutting over.

Thanks,
-Ben

Ben Ransom
College of Engineering
UC Davis
530-752-5625


-------------------error from http://IP_address:8080/Plone -------------
Site Error

An error was encountered while publishing this resource.

TraversalError
(Also, the following error occurred while attempting to render the standard error message, please see the event log for full details: ('No traversable adapter found', {u'content': [('version', '1.6'), ('mode', 'html'), ('setPosition', (106, 24)), ('setSourceFile', 'main_template'), ('beginScope', {u'tal:define': u'show_border context/@@plone/showEditableBorder', u'metal:define-macro': u'content', u'tal:attributes': u"class python:test(show_border,'documentEditable','')"}), ('setLocal', (u'show_border', <PathExpr standard:u'context/@@plone/showEditableBorder'>)), ('startTag', (u'div', [(u'metal:define-macro', u'content', 'metal'), (u'tal:define', u'show_border context/@@plone/showEditableBorder', 'tal'), (u'tal:attribu ??..etc etc etc

_______________________________________________ ZUGOD-Discuss mailing list ZUGOD-Discuss at velocipede.dcn.davis.ca.us<mailto:ZUGOD-Discuss at velocipede.dcn.davis.ca.us> http://www2.dcn.org/mailman/listinfo/zugod-discuss
_______________________________________________ ZUGOD-Discuss mailing list ZUGOD-Discuss at velocipede.dcn.davis.ca.us<mailto:ZUGOD-Discuss at velocipede.dcn.davis.ca.us> http://www2.dcn.org/mailman/listinfo/zugod-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www2.dcn.org/pipermail/zugod-discuss/attachments/20111207/74554adb/attachment.html
Ben Ransom
2011-12-07 20:35:11 UTC
Permalink
Yeeha, all better now. (newbox plone is working ?at least the first blush look)

I take ? and pass on -- a strong moral to this little story. If I had lost my live site (disk crash, whatever), it might have been substantially more difficult if not impossible to recreate, without having found which product versions it was running based on whenever buildout was last run. Fortunately I have the live site on oldbox and ran:
bin/buildout -Novvvvv |sed -ne 's/^Picked: //p' | sort | uniq

?then took the output of that command and added it to newbox buildout.cfg under [versions]
I found one or two version lines that I still needed to poke at, then repeat bin/buildout but this was pretty trivial.

I had found the above buildout line to find all the auto-picked versions from //http://www.uwosh.edu/ploneprojects/documentation/how-tos/how-to-use-buildout-to-pin-product-versions

Cheers,
-Ben

From: Carol McMasters-Stone <cbeck at ucdavis.edu<mailto:cbeck at ucdavis.edu>>
Reply-To: Zope/Plone Users' Group of Davis Discussion <zugod-discuss at velocipede.dcn.davis.ca.us<mailto:zugod-discuss at velocipede.dcn.davis.ca.us>>
Date: Wed, 7 Dec 2011 20:09:17 +0000
To: Zope/Plone Users' Group of Davis Discussion <zugod-discuss at velocipede.dcn.davis.ca.us<mailto:zugod-discuss at velocipede.dcn.davis.ca.us>>
Subject: Re: [PloneDavis-Discuss] problems moving a Plone site

Ben,
Making the versions match is the first step. If that doesn't help, post back to the list. I can help.

Carol

From: Ben Ransom <bransom at ucdavis.edu<mailto:bransom at ucdavis.edu>>
Reply-To: Zope/Plone Users' Group of Davis Discussion <zugod-discuss at velocipede.dcn.davis.ca.us<mailto:zugod-discuss at velocipede.dcn.davis.ca.us>>
Date: Wed, 7 Dec 2011 20:03:52 +0000
To: Zope/Plone Users' Group of Davis Discussion <zugod-discuss at velocipede.dcn.davis.ca.us<mailto:zugod-discuss at velocipede.dcn.davis.ca.us>>
Subject: Re: [PloneDavis-Discuss] problems moving a Plone site

Turns out http://localhost:8080/Plone and http://IP_address:8080/Plone both work fine on oldbox ?I think the problem was a browser caching issue.

I still have problems on newbox, so am now trying to find which product versions I have running, as buildout perhaps grabbed newer versions.
-Ben

From: Ben Ransom <bransom at ucdavis.edu<mailto:bransom at ucdavis.edu>>
Reply-To: Zope/Plone Users' Group of Davis Discussion <zugod-discuss at velocipede.dcn.davis.ca.us<mailto:zugod-discuss at velocipede.dcn.davis.ca.us>>
Date: Wed, 7 Dec 2011 19:25:55 +0000
To: Zope/Plone Users' Group of Davis Discussion <zugod-discuss at velocipede.dcn.davis.ca.us<mailto:zugod-discuss at velocipede.dcn.davis.ca.us>>
Subject: [PloneDavis-Discuss] problems moving a Plone site

Hi all,
I'm trying to move a plone 3.3.5 site to a newer box (newer underlying Linux). On newbox, I've installed Plone 3.3.5, made buildout.cfg the same as from the oldbox, run buildout, and copied over Data.fs from a shutdown state on oldbox.

Apache is running on both oldbox and newbox. To test on the newbox and avoid influence of rewrite issues (and dns, and virtualhostmonster), I launch firefox on newbox and point to http://IP_address:8080 ?so far, so good: I see the vanilla Plone banner page. But if I click on "View your Plone site" (which is http://IP_address:8080/Plone ), firefox shows an error (see below). Interestingly, I get the same error if I check http://localhost:8080/Plone even on oldbox, yet http://IP_address:8080/Plone shows the site correctly (on oldbox).

Anyone know what is causing this error? I need to test browse through the Plone site on newbox before cutting over.

Thanks,
-Ben

Ben Ransom
College of Engineering
UC Davis
530-752-5625


-------------------error from http://IP_address:8080/Plone -------------
Site Error

An error was encountered while publishing this resource.

TraversalError
(Also, the following error occurred while attempting to render the standard error message, please see the event log for full details: ('No traversable adapter found', {u'content': [('version', '1.6'), ('mode', 'html'), ('setPosition', (106, 24)), ('setSourceFile', 'main_template'), ('beginScope', {u'tal:define': u'show_border context/@@plone/showEditableBorder', u'metal:define-macro': u'content', u'tal:attributes': u"class python:test(show_border,'documentEditable','')"}), ('setLocal', (u'show_border', <PathExpr standard:u'context/@@plone/showEditableBorder'>)), ('startTag', (u'div', [(u'metal:define-macro', u'content', 'metal'), (u'tal:define', u'show_border context/@@plone/showEditableBorder', 'tal'), (u'tal:attribu ??..etc etc etc

_______________________________________________ ZUGOD-Discuss mailing list ZUGOD-Discuss at velocipede.dcn.davis.ca.us<mailto:ZUGOD-Discuss at velocipede.dcn.davis.ca.us> http://www2.dcn.org/mailman/listinfo/zugod-discuss
_______________________________________________ ZUGOD-Discuss mailing list ZUGOD-Discuss at velocipede.dcn.davis.ca.us<mailto:ZUGOD-Discuss at velocipede.dcn.davis.ca.us> http://www2.dcn.org/mailman/listinfo/zugod-discuss
_______________________________________________ ZUGOD-Discuss mailing list ZUGOD-Discuss at velocipede.dcn.davis.ca.us<mailto:ZUGOD-Discuss at velocipede.dcn.davis.ca.us> http://www2.dcn.org/mailman/listinfo/zugod-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www2.dcn.org/pipermail/zugod-discuss/attachments/20111207/491f248b/attachment-0001.html
Loading...