MarkLogic Samplestack 安装问题(任务 ':dbTeardown' 执行失败)
MarkLogic Samplestack installation issue (Execution failed for task ':dbTeardown')
我正在尝试在 OS X 10.10.3 上为 ML8.02 安装 Samplestack application。
按照说明,一切顺利,直到 gulp once --browser=chrome
步骤。这会生成任务“:dbTeardown”错误的执行失败,导致 "The Samplestack environment may not be properly configured." 消息。
根据安装手册,这一步需要从"local Samplestack repository root directory"调用。这与前面步骤中的 "marklogic-samplestack directory" 有什么不同吗?如果可以,我应该去哪里看?
不知道该怎么做,我使用了 marklogic-samplestack-master(下载的 zip 的根)并收到以下控制台错误消息。有什么解决办法的建议吗?
[16:55:06] Warning: gulp version mismatch:
[16:55:06] Global gulp is 3.9.0
[16:55:06] Local gulp is 3.8.11
[16:55:07] Using gulpfile ~/Downloads/marklogic-samplestack-master/gulpfile.js
[16:55:07] Starting 'once'...
[16:55:08] Starting 'clean'...
[16:55:08] Starting 'middle-tier-start'...
reconfiguring database, starting app server
./gradlew dbInit --no-daemon
[16:55:08] Finished 'clean' after 189 ms
[16:55:08] Starting 'bower-files'...
[16:55:09] Finished 'bower-files' after 440 ms
[16:55:09] Starting 'build'...
.[16:55:10] processing files
...[16:55:13] saw 221 files
....[16:55:13] Finished 'build' after 4.29 s
(many dots)
./gradlew dbTeardown --no-daemon
...........................................
:
..
FAILURE:
Build failed with an exception.
* What went wrong:
Execution failed for task ':dbTeardown'.
>
Failed Teardown. Check environment before proceeding.
* Try:
Run with
--stacktrace
option to get the stack trace. Run with --info
or
--debug
option to get more log output.....
[16:58:47] detected middle tier started
preparations complete
[16:58:47] 'middle-tier-start' errored after 3.63 min
[16:58:47] Error: EXIT CODE: 1
at ChildProcess.<anonymous> (/Users/matthijs/Downloads/marklogic-samplestack-master/shared/js/dev-tasks/e2e/middleTierJava.js:53:17)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)
Error(s) occurred.
The Samplestack environment may not be properly configured.
[16:58:47] 'once' errored after 3.65 min
[16:58:47] Error: 1
at formatError
(/Users/matthijs/.node/lib/node_modules/gulp/bin/gulp.js:169:10)
at Gulp.<anonymous>
(/Users/matthijs/.node/lib/node_modules/gulp/bin/gulp.js:195:15)
at Gulp.emit (events.js:95:17)
at Gulp.Orchestrator._emitTaskDone (/Users/matthijs/Downloads/marklogic-samplestack-master/node_modules/gulp/node_modules/orchestrator/index.js:264:8)
at /Users/matthijs/Downloads/marklogic-samplestack-master/node_modules/gulp/node_modules/orchestrator/index.js:275:23
at finish (/Users/matthijs/Downloads/marklogic-samplestack-master/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8)
at cb (/Users/matthijs/Downloads/marklogic-samplestack- master/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3)
at ChildProcess.onDone (/Users/matthijs/Downloads/marklogic-samplestack-master/shared/js/dev-tasks/tasks/once.js:38:20)
at ChildProcess.emit (events.js:117:20)
at Process.ChildProcess._handle.onexit (child_process.js:810:12)
运行 按照指南尝试跳过同样的问题
Set up the Java middle tier and database tier with gradle步以配置Node.js型中胎而已。
从日志中可以看出,在First-Time Setup步中使用了gradle。所以我按照上面的第一个 link 和第二段
If you have already secured MarkLogic, you need to update gradle.properties with the admin credentials you used during the install and setup process.
希望对您有所帮助。
我正在尝试在 OS X 10.10.3 上为 ML8.02 安装 Samplestack application。
按照说明,一切顺利,直到 gulp once --browser=chrome
步骤。这会生成任务“:dbTeardown”错误的执行失败,导致 "The Samplestack environment may not be properly configured." 消息。
根据安装手册,这一步需要从"local Samplestack repository root directory"调用。这与前面步骤中的 "marklogic-samplestack directory" 有什么不同吗?如果可以,我应该去哪里看?
不知道该怎么做,我使用了 marklogic-samplestack-master(下载的 zip 的根)并收到以下控制台错误消息。有什么解决办法的建议吗?
[16:55:06] Warning: gulp version mismatch:
[16:55:06] Global gulp is 3.9.0
[16:55:06] Local gulp is 3.8.11
[16:55:07] Using gulpfile ~/Downloads/marklogic-samplestack-master/gulpfile.js
[16:55:07] Starting 'once'...
[16:55:08] Starting 'clean'...
[16:55:08] Starting 'middle-tier-start'...
reconfiguring database, starting app server
./gradlew dbInit --no-daemon
[16:55:08] Finished 'clean' after 189 ms
[16:55:08] Starting 'bower-files'...
[16:55:09] Finished 'bower-files' after 440 ms
[16:55:09] Starting 'build'...
.[16:55:10] processing files
...[16:55:13] saw 221 files
....[16:55:13] Finished 'build' after 4.29 s
(many dots)
./gradlew dbTeardown --no-daemon
...........................................
:
..
FAILURE:
Build failed with an exception.
* What went wrong:
Execution failed for task ':dbTeardown'.
>
Failed Teardown. Check environment before proceeding.
* Try:
Run with
--stacktrace
option to get the stack trace. Run with --info
or
--debug
option to get more log output.....
[16:58:47] detected middle tier started
preparations complete
[16:58:47] 'middle-tier-start' errored after 3.63 min
[16:58:47] Error: EXIT CODE: 1
at ChildProcess.<anonymous> (/Users/matthijs/Downloads/marklogic-samplestack-master/shared/js/dev-tasks/e2e/middleTierJava.js:53:17)
at ChildProcess.emit (events.js:98:17)
at maybeClose (child_process.js:756:16)
at Process.ChildProcess._handle.onexit (child_process.js:823:5)
Error(s) occurred.
The Samplestack environment may not be properly configured.
[16:58:47] 'once' errored after 3.65 min
[16:58:47] Error: 1
at formatError
(/Users/matthijs/.node/lib/node_modules/gulp/bin/gulp.js:169:10)
at Gulp.<anonymous>
(/Users/matthijs/.node/lib/node_modules/gulp/bin/gulp.js:195:15)
at Gulp.emit (events.js:95:17)
at Gulp.Orchestrator._emitTaskDone (/Users/matthijs/Downloads/marklogic-samplestack-master/node_modules/gulp/node_modules/orchestrator/index.js:264:8)
at /Users/matthijs/Downloads/marklogic-samplestack-master/node_modules/gulp/node_modules/orchestrator/index.js:275:23
at finish (/Users/matthijs/Downloads/marklogic-samplestack-master/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:21:8)
at cb (/Users/matthijs/Downloads/marklogic-samplestack- master/node_modules/gulp/node_modules/orchestrator/lib/runTask.js:29:3)
at ChildProcess.onDone (/Users/matthijs/Downloads/marklogic-samplestack-master/shared/js/dev-tasks/tasks/once.js:38:20)
at ChildProcess.emit (events.js:117:20)
at Process.ChildProcess._handle.onexit (child_process.js:810:12)
运行 按照指南尝试跳过同样的问题 Set up the Java middle tier and database tier with gradle步以配置Node.js型中胎而已。
从日志中可以看出,在First-Time Setup步中使用了gradle。所以我按照上面的第一个 link 和第二段
If you have already secured MarkLogic, you need to update gradle.properties with the admin credentials you used during the install and setup process.
希望对您有所帮助。