{"action":"created","issue":{"url":"https://api.github.com/repos/marklogic/slush-marklogic-node/issues/408","repository_url":"https://api.github.com/repos/marklogic/slush-marklogic-node","labels_url":"https://api.github.com/repos/marklogic/slush-marklogic-node/issues/408/labels{/name}","comments_url":"https://api.github.com/repos/marklogic/slush-marklogic-node/issues/408/comments","events_url":"https://api.github.com/repos/marklogic/slush-marklogic-node/issues/408/events","html_url":"https://github.com/marklogic/slush-marklogic-node/issues/408","id":184875162,"number":408,"title":"Changing the name of the ${app-name}-user in ml-config.xml breaks the bootstrap","user":{"login":"mstellwa","id":9841609,"avatar_url":"https://avatars.githubusercontent.com/u/9841609?v=3","gravatar_id":"","url":"https://api.github.com/users/mstellwa","html_url":"https://github.com/mstellwa","followers_url":"https://api.github.com/users/mstellwa/followers","following_url":"https://api.github.com/users/mstellwa/following{/other_user}","gists_url":"https://api.github.com/users/mstellwa/gists{/gist_id}","starred_url":"https://api.github.com/users/mstellwa/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mstellwa/subscriptions","organizations_url":"https://api.github.com/users/mstellwa/orgs","repos_url":"https://api.github.com/users/mstellwa/repos","events_url":"https://api.github.com/users/mstellwa/events{/privacy}","received_events_url":"https://api.github.com/users/mstellwa/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-10-24T15:32:00Z","updated_at":"2016-10-25T02:45:19Z","closed_at":null,"body":"For example if I change the user in ml-config.xml to ${app-name}-user-A I get the following:\r\nmats-mac:simple-test mstellwa$ ./ml local bootstrap\r\nBootstrapping your project into MarkLogic 8 on localhost...\r\nERROR: note: restart required\r\nSEC-USERDNE: xdmp:user(\"simple-test-user\") -- User does not exist: user-name = simple-test-user\r\nSee MarkLogic Server error log for more details.\r\nERROR: ... Bootstrap FAILED\r\nERROR: exit\r\nERROR: [\"deploy/lib/ml.rb:170:in `exit'\", \"deploy/lib/ml.rb:170:in `<main>'\"]\r\n"},"comment":{"url":"https://api.github.com/repos/marklogic/slush-marklogic-node/issues/comments/255921338","html_url":"https://github.com/marklogic/slush-marklogic-node/issues/408#issuecomment-255921338","issue_url":"https://api.github.com/repos/marklogic/slush-marklogic-node/issues/408","id":255921338,"user":{"login":"patrickmcelwee","id":808015,"avatar_url":"https://avatars.githubusercontent.com/u/808015?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickmcelwee","html_url":"https://github.com/patrickmcelwee","followers_url":"https://api.github.com/users/patrickmcelwee/followers","following_url":"https://api.github.com/users/patrickmcelwee/following{/other_user}","gists_url":"https://api.github.com/users/patrickmcelwee/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickmcelwee/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickmcelwee/subscriptions","organizations_url":"https://api.github.com/users/patrickmcelwee/orgs","repos_url":"https://api.github.com/users/patrickmcelwee/repos","events_url":"https://api.github.com/users/patrickmcelwee/events{/privacy}","received_events_url":"https://api.github.com/users/patrickmcelwee/received_events","type":"User","site_admin":false},"created_at":"2016-10-25T02:45:19Z","updated_at":"2016-10-25T02:45:19Z","body":"But the REST server being set up in `ml-config.xml` _does_ reference that default-user, which defaults to ${app-name}-user, which user you are no longer creating, leading to the error."}}
{"actor":{"display_login":"patrickmcelwee"}}