Re: [Zope] Data.fs Windows to Linux?
Questions: 1) Am I without hope of ever running the database under Linux again? 2) What is the reason that the database goes from Linux - Windows OK but not in the other direction? 3) MOST IMPORTANT: Is there a technique I can use to tweak the database file or recover it so that it is Linux-friendly? My guess would be that the permissions have got screwed up when you copied the Data.fs back. If you post a proper traceback from event.log showing exactly what the error is then we should be able to give you better help with this. A -- Logicalware Ltd Stuart House, Eskmills, Musselburgh, EH21 7PQ, UK Tel: +44(0)131 273 5130 http://www.logicalware.com ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
RE: [Zope] Data.fs Windows to Linux?
I had a similar issue when playing with Data.fs files, and I found that it was a write permission issue on the file. Don't know if it can help you in that case. Pascal -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Marc Schnapp Sent: 06 August 2005 01:14 To: zope@zope.org Subject: [Zope] Data.fs Windows to Linux? I thought that I would back up my data.fs by copyting the entire Linux /var directory to a Windows machine with spare disk space and then creating a ZIP file on the Windows machine. There was a problem on the Linux machine, so I figured there'd be no problem by simply copying the data.fs (via a Samba share) back from Windows - Linux. It seems that when Zope starts back up, it keeps attempting to deal with the alien database and then shuts down. The Same Database File Works Perfectly With A Windows Plone/Zope Installation - I installed a Windows version of Plone (with Zope of course) and that same data.fs file works just fine in the Windows environment. Questions: 1) Am I without hope of ever running the database under Linux again? 2) What is the reason that the database goes from Linux - Windows OK but not in the other direction? 3) MOST IMPORTANT: Is there a technique I can use to tweak the database file or recover it so that it is Linux-friendly? ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) ** This email and any files transmitted with it are confidential and intended solely for the use of the individual or entity to whom they are addressed. If you have received this email in error please notify the system manager. This footnote also confirms that this email message has been swept by MIMEsweeper for the presence of computer viruses. www.mimesweeper.com ** ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
Re: [Zope] Data.fs Windows to Linux?
Marc Schnapp wrote: I thought that I would back up my data.fs by copyting the entire Linux /var directory to a Windows machine with spare disk space and then creating a ZIP file on the Windows machine. There was a problem on the Linux machine, so I figured there'd be no problem by simply copying the data.fs (via a Samba share) back from Windows - Linux. It seems that when Zope starts back up, it keeps attempting to deal with the alien database and then shuts down. The Same Database File Works Perfectly With A Windows Plone/Zope Installation - I installed a Windows version of Plone (with Zope of course) and that same data.fs file works just fine in the Windows environment. Questions: 1) Am I without hope of ever running the database under Linux again? 2) What is the reason that the database goes from Linux - Windows OK but not in the other direction? 3) MOST IMPORTANT: Is there a technique I can use to tweak the database file or recover it so that it is Linux-friendly? ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev ) we did this (albeit with late 2.6 / early 2.7 versions) often and had no problems. If you are using a cmf based product (like plone) you must check if the skin path stored in the portal skins are still ok. In my time they where stored as an absolute path wit C:\ and /home/zope.. on windows/linux which had to be fixed (there is a script on zope labs which can do that for you). But maybe this is not necessary anymore. Robert ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )
[Zope] Data.fs Windows to Linux?
I thought that I would back up my data.fs by copyting the entire Linux /var directory to a Windows machine with spare disk space and then creating a ZIP file on the Windows machine. There was a problem on the Linux machine, so I figured there'd be no problem by simply copying the data.fs (via a Samba share) back from Windows - Linux. It seems that when Zope starts back up, it keeps attempting to deal with the alien database and then shuts down. The Same Database File Works Perfectly With A Windows Plone/Zope Installation - I installed a Windows version of Plone (with Zope of course) and that same data.fs file works just fine in the Windows environment. Questions: 1) Am I without hope of ever running the database under Linux again? 2) What is the reason that the database goes from Linux - Windows OK but not in the other direction? 3) MOST IMPORTANT: Is there a technique I can use to tweak the database file or recover it so that it is Linux-friendly? ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope-dev )