How modify *path* of a 'zope instance home' ??
I tried modifying paths to 'zope instance home' in bin/runzope, bin/runzope.bat and etc/zope.conf. I also tried just doing a symbolic link from old path to new location of 'zope instance home'. NOTHING WORKS!!!! I get errors about Zope/Plone not being able to load Archtypes product. **Is the old zope instance home _path_ burned into a binary somewhere that cannot be changed??** e.g. Does Data.fs depend on old path somehow?? HOW CHANGE PATH OF ZOPE INSTANCE HOME??? Chris
I tried modifying paths to 'zope instance home' in bin/runzope, bin/runzope.bat and etc/zope.conf.
Note that runzope.bat is only relevant on windows, and runzip is only relevant on unix/linux/OSX. If you're on *nix, you also need to modify bin/zopectl if you use it. Also check the paths to all the other defined variables. e.g. ZOPE_HOME, CONFIG_FILE, SOFTWARE_HOME, PYTHONPATH.
**Is the old zope instance home _path_ burned into a binary somewhere that cannot be changed??**
It should not be.
e.g. Does Data.fs depend on old path somehow??
There used to be problems with skin directories keeping old paths, but that may be fixed. See http://zopelabs.com/cookbook/1021216110 I have not had any such problems in a long time, but I'm not sure if that's because it's fixed or because I haven't tried to break it :) -PW
seberino@spawar.navy.mil wrote at 2005-9-22 20:56 -0700:
I tried modifying paths to 'zope instance home' in bin/runzope, bin/runzope.bat and etc/zope.conf.
I also tried just doing a symbolic link from old path to new location of 'zope instance home'.
NOTHING WORKS!!!!
Then, apparently, you do something wrong...
I get errors about Zope/Plone not being able to load Archtypes product.
**Is the old zope instance home _path_ burned into a binary somewhere that cannot be changed??**
No.
e.g. Does Data.fs depend on old path somehow??
No.
HOW CHANGE PATH OF ZOPE INSTANCE HOME???
The most natural way should work... The most natural way is calling "bin/mkzopeinstance.py". Use an instance directory without a "bin" or "etc" directory, because "mkzopeinstance.py" will not overwrite existing files (which it places in "bin" and "etc" subdirectories). -- Dieter
participants (3)
-
Dieter Maurer -
Paul Winkler -
seberinoï¼ spawar.navy.mil