wrends icon indicating copy to clipboard operation
wrends copied to clipboard

After uninstalling this service, all created user data cannot be cleared

Open 136750162 opened this issue 2 years ago • 8 comments

Hello, I would like to ask where the user data created by this service is currently stored. After I uninstalled it, I found that the user is still not deleted. After I reinstalled, the same user cannot be created successfully, and the prompt already exists and cannot be added. , how to deal with this problem?

136750162 avatar Feb 08 '23 08:02 136750162

image

136750162 avatar Feb 08 '23 08:02 136750162

image

136750162 avatar Feb 08 '23 08:02 136750162

Just tested uninstall and everything works as expected.

By default user data is stored in db directory under the base Wren:DS directory. So maybe you are copying Wren:DS with already initialized directory data folders?

pavelhoral avatar Feb 09 '23 08:02 pavelhoral

Just tested uninstall and everything works as expected.

By default user data is stored in db directory under the base Wren:DS directory. So maybe you are copying Wren:DS with already initialized directory data folders?

My operation is to uninstall the Wrends: DS service that has already been installed, then decompress and install the service again, and then connect to the client to add a new Entry. At this time, it will prompt that the Entry exists, but it cannot be accessed under the BaseDN. Query to this Entry

136750162 avatar Feb 09 '23 09:02 136750162

Just tested uninstall and everything works as expected. By default user data is stored in db directory under the base Wren:DS directory. So maybe you are copying Wren:DS with already initialized directory data folders?

My operation is to uninstall the Wrends: DS service that has already been installed, then decompress and install the service again, and then connect to the client to add a new Entry. At this time, it will prompt that the Entry exists, but it cannot be accessed under the BaseDN. Query to this Entry

I would like to know how to completely clear some Entry data created before, or how to transfer these data to Mysql or other storage services?

136750162 avatar Feb 09 '23 10:02 136750162

My operation is to uninstall the Wrends: DS service that has already been installed, then decompress and install the service again, and then connect to the client to add a new Entry. At this time, it will prompt that the Entry exists, but it cannot be accessed under the BaseDN. Query to this Entry

I don't see how that is possible. As I wrote by default data folder is inside wrends folder. So if you delete your installation you are deleting the data as well.

or how to transfer these data to Mysql or other storage services?

Best way to transport data is to use LDIF export via export-ldif and work with that.

pavelhoral avatar Feb 10 '23 11:02 pavelhoral

I don't see how that is possible. As I wrote by default data folder is inside wrends folder. So if you delete your installation you are deleting the data as well.

My steps are as follows:

  1. Configure the service and start it
  2. Create a DN under BaseDN Entyr Objectclass=Person DN: (cn=test,dc=yykj,dc=com)
  3. Uninstall the service without deleting the newly added Entry data (delete everything in the wrends folder)
  4. Install and configure this service again
  5. After starting and configuring the service, add an Entry DN again: (cn=test,dc=yykj,dc=com) and enter the DN of the Entry that was not deleted before uninstalling. At this time, it will prompt that the Entry already exists. hint

I don’t know if my description can clearly express my problem. At present, once the newly added Entry data exists on the service before the service is uninstalled, after the service is installed again, the Entry data that has not been deleted before the uninstallation cannot be queried, and at the same time The same Entry data cannot be added again

136750162 avatar Feb 13 '23 03:02 136750162

I don't see how that is possible. As I wrote by default data folder is inside wrends folder. So if you delete your installation you are deleting the data as well.

I found that after I uninstalled the service, installed the service again, restarted the computer and started the service again, the problem I mentioned above would not exist. I don’t know if this is the result of not deleting the system cache temporary files during uninstallation. ?

136750162 avatar Feb 14 '23 07:02 136750162