Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
136750162 opened this issue Feb 8, 2023 · 8 comments

Comments

@136750162
Copy link

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
Copy link
Author

image

@136750162
Copy link
Author

image

@pavelhoral
Copy link
Member

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?

@136750162
Copy link
Author

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
Copy link
Author

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?

@pavelhoral
Copy link
Member

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.

@136750162
Copy link
Author

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
Copy link
Author

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. ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants