hello, sorry for the stupid question, but ... i removed my acl_users folder, and now need to restore it. there's no real problem with the lost data, but i'm not able to login into zope any longer in any way. even emergency user and ftp login don't work any more. is there any way to access the zope file hierarchy for placing a new acl_users folder there? otherwise ... does this mean, that there's no way any longer to access the data in zope? bye jonas
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. On Mon, 1 Nov 2004, Jonas Meurer wrote:
hello,
sorry for the stupid question, but ... i removed my acl_users folder, and now need to restore it. there's no real problem with the lost data, but i'm not able to login into zope any longer in any way. even emergency user and ftp login don't work any more.
is there any way to access the zope file hierarchy for placing a new acl_users folder there?
otherwise ... does this mean, that there's no way any longer to access the data in zope?
bye jonas _______________________________________________ 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 )
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
On Mon, 1 Nov 2004 02:18:43 +0100, Jonas Meurer <jonas@freesources.org> wrote:
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
You should use 'access' instead of 'inituser': the latter just create a normal users and sets the password, but it won't work if there is no acl_users in an already existing Zope database; the former will actually set up an emergency user (AFAIK). -- Roberto Lupi http://www.lupi-software.com/
On 01/11/2004 Roberto Lupi wrote:
You should use 'access' instead of 'inituser': the latter just create a normal users and sets the password, but it won't work if there is no acl_users in an already existing Zope database; the former will actually set up an emergency user (AFAIK).
thanks for advice, i'll try next time ;) this time i got it restored with zopectl debug, and then
app.manage_importObject('acl_users.zexp') get_transaction().commit()
luck that i still had a acl_users.zexp export of the acl_users folder. anyway, i could also create a new acl_users folder:
app.manage_addAclUsers();
bye jonas
Hi, Am Mo, den 01.11.2004 schrieb Dennis Allison um 1:51:
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.
I'd try Undo first here. Reagards Tino
participants (4)
-
Dennis Allison -
Jonas Meurer -
Roberto Lupi -
Tino Wildenhain