Re: [Zope] Recovering from Data.fs

2007-01-09 Thread Paul Winkler
On Tue, Jan 09, 2007 at 06:49:11PM +, Rowan Woodhouse wrote:
 Hi,
 
 I'm trying to recover a zope instance from a hardware failure. The
 only thing I have left is the backed up Data.fs file. I'm not entirely
 sure which version of Zope was used but I think it was 2.9 (certainly
 not 3), or what the install paths were for the instance or zope.
 
 When I try and use the backed Data.fs in a new zope instance I get the
 following error:
 
 
 Site Error
 
 An error was encountered while publishing this resource.
 
 Error Type: AttributeError
 Error Value: __getitem__

We need the full traceback.
Look in your new instance, for the event log in the logs/ dir.
That should contain the error and the full traceback.

 From my understanding the paths for the zope instance have to be the
 same for Data.fs to work correctly. Is that correct?

No, Data.fs should be portable.

-- 

Paul Winkler
http://www.slinkp.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] Recovering from Data.fs

2007-01-09 Thread Maciej Wisniowski
 From my understanding the paths for the zope instance have to be the
 same for Data.fs to work correctly. Is that correct?
 
 No, Data.fs should be portable.
 
Yup, need to crete plain new Zope instance and put
your data.fs into var directory. After this start Zope
and take a look into ControlPanel-ProductManagement to
see if you have broken (or not installed at all) products.
You might also lack external methods from Extensions/ folder.

Of course you need to know user and password to log into ZMI.
You may create new one in zopectl with useradd (or adduser I don't
remember) command.

-- 
Maciej Wisniowski
___
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] Recovering from Data.fs

2007-01-09 Thread Tino Wildenhain

Maciej Wisniowski schrieb:

From my understanding the paths for the zope instance have to be the
same for Data.fs to work correctly. Is that correct?

No, Data.fs should be portable.


Yup, need to crete plain new Zope instance and put
your data.fs into var directory. After this start Zope
and take a look into ControlPanel-ProductManagement to
see if you have broken (or not installed at all) products.
You might also lack external methods from Extensions/ folder.

Of course you need to know user and password to log into ZMI.
You may create new one in zopectl with useradd (or adduser I don't
remember) command.


Needless to say you should keep an original copy of your
Data.fs on a safe place while you do the above tests.

You should be save, but you never know :-)

Regards
Tino
___
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 )