Search code examples
marklogic

how do I clear MarkLogic on windows?


How do I completely remove MarkLogic to start fresh on windows?

If I use the windows uninstaller and reinstall MarkLogic it still has all the data it did before.

At this point I made a mistake and I cant configure MarkLogic at all, so I'm looking to get a fresh build to start over.

When I uninstall and reinstall I get the following:

500: Internal Server Error
SEC-NOADMIN: (err:FOER0000) User does not have admin role.
In /MarkLogic/security.xqy on line 5340
In sec:check-admin()
In /lib/status-check.xqy on line 16
In status-check()
In / on line 6

Solution

  • The installation guide has procedures for complete removal. Essentially, after running the uninstallation, you need to manually delete the folder under program files or wherever you installed MarkLogic.

    http://docs.marklogic.com/guide/installation/procedures#id_53295

    Using this procedure to remove MarkLogic from your system will not remove user data (configuration information, XQuery files used by HTTP or XDBC servers, or forest content). This data is left in place to simplify the software upgrade process. If you wish to remove the user data, you must do so manually using standard operating system commands.