[Zope] restore acl_users after removal

Jonas Meurer jonas at freesources.org
Sun Oct 31 20:18:43 EST 2004


On 31/10/2004 Dennis Allison wrote:
> Use the emergency login-
> 
> create a file named access in the zope root directory using zpasswd
> populated by a user name and password. Stop and restart zope.  You should
> then be able to login using the emergency password and create an acl-users 
> file and hand populate it with an account and restart Zope.

sorry, but exactly that doesn't work.

i'm running zope 2.7.2 in debian/testing.

i created the inituser file with /usr/lib/zope2.7/bin/zpasswd.py inituser

if i try to use the zopectl adduser script, it gives an error:
/var/lib/zope2.7/instance/new# ./bin/zopectl adduser jonas <pwd>
/usr/lib/python2.3/xmllib.py:9: DeprecationWarning: The xmllib module is
			obsolete. Use xml.sax instead.
  warnings.warn("The xmllib module is obsolete.  Use xml.sax instead.",
			DeprecationWarning)
Traceback (most recent call last):
  File "<string>", line 1, in ?
AttributeError: acl_users

i've no more ideas, as mounting the Data.fs on another instance as
second db doesn't work either. i added to the zope.conf of another
instance:
<zodb_db new>
    <filestorage>
      path /var/lib/zope2.7/instance/new/var/Data.fs
    </filestorage>
    mount-point /new
    container-class Products.TemporaryFolder.TemporaryContainer
</zodb_db>

after restarting this instance, and adding the ZODB Mountpoint, i have
an empty /new temporary folder. the db management at control panel shows
anyway, that the Data.fs has 120mb.

bye
 jonas


More information about the Zope mailing list