-
Notifications
You must be signed in to change notification settings - Fork 492
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
release_path error deploy faild #346
Comments
Seems like your node daemon could not start properly and retuns an error, try to check the log. |
thanks for your reply.but.my setting below set :deploy_to, '/home/node/pepper_develop' task :setup do queue "mkdir -p #{deploy_to}/shared/node_modules" desc "Deploys the current version to the server." |
release_path isn't suitable path to start server |
mina deploy -v
-----> Symlinking shared paths
$ mkdir -p "."
$ rm -rf "./log"
$ ln -s "/home/node/pepper_develop/shared/log" "./log"
$ rm -rf "./node_modules"
$ ln -s "/home/node/pepper_develop/shared/node_modules" "./node_modules"
npm WARN prefer global [email protected] should be installed with -g
npm WARN prefer global [email protected] should be installed with -g
-----> Deploy finished
-----> Building
-----> Moving build to releases/2
$ mv "$build_path" "$release_path"
$ cd "$release_path"
-----> Build finished
-----> Launching
-----> Updating the current symlink
$ ln -nfs "$release_path" "current"
-----> Launching
$ cd "$release_path"
! ERROR: Deploy failed.
-----> Cleaning up build
Deleting release
$ rm -rf "$release_path"
Unlinking current
$ ln -nfs "$previous_path" "current"
$ rm -f "deploy.lock"
can you help me,thanks?
The text was updated successfully, but these errors were encountered: