Skip to content
This repository has been archived by the owner on Nov 9, 2022. It is now read-only.

Better error message when an extra app-server refers to a project database #166

Closed
dmcassel opened this issue Jan 10, 2014 · 1 comment
Closed

Comments

@dmcassel
Copy link
Collaborator

  1. Bootstrap a project
  2. Create another app server that refers to the content (or modules) database (eg., run app builder, or manually set up some other app server)
  3. Wipe the project

The error message that results is a big stack trace. The essential message is contained in the trace:

"The following http-servers still refer to this database: " followed by the name(s). Reduce the error output to just that message.

@grtjn
Copy link
Contributor

grtjn commented Jun 13, 2017

I ran a check with latest Roxy, and got returned:

Wiping MarkLogic setup for your project from ml9-ml1...
ERROR: ADMIN-DATABASEINUSE: (err:FOER0000) The following http-servers still refer to this database: test.
See MarkLogic Server error log for more details.
ERROR: ... Wipe FAILED

Not perfect, but seems okay to me.

@grtjn grtjn closed this as completed Jun 13, 2017
@grtjn grtjn added this to the July 2017 milestone Jun 13, 2017
@grtjn grtjn self-assigned this Jun 13, 2017
@grtjn grtjn added the deployer label Jun 13, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants