We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
sudo
such as mina nginx:reload, mina nginx:stop actions, they need input the password to run, but it never prompt, just hanging;
mina nginx:reload
mina nginx:stop
if I add set :execution_mode, :system to the deploy file, these actions works well;but when I run mina nginx:print, it reports errors
set :execution_mode, :system
mina nginx:print
mina nginx:print sh: line 39: echo "-----> Loading rbenv" export RBENV_ROOT="$HOME/.rbenv" export PATH="$HOME/.rbenv/bin:$PATH" if ! which rbenv >/dev/null; then echo "! rbenv not found" echo "! If rbenv is installed, check your :rbenv_path setting." exit 1 fi eval "$(rbenv init -)" echo ' upstream koob { server unix:///home/deploy/site/koob/shared/tmp/puma.sock fail_timeout=0; } server { listen 80 default deferred; server_name kbook.wenghuaedu.com root /home/deploy/site/koob/current/public; location ^~ /assets/ { gzip_static on; expires max; add_header Cache-Control public; } try_files $uri/index.html $uri @koob; location @koob { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header Host $http_host; proxy_redirect off; proxy_pass http://koob; } error_page 500 502 503 504 /500.html; client_max_body_size 4G; keepalive_timeout 10; } ': No such file or directory ! Run Error
what's wrong with my config?
The text was updated successfully, but these errors were encountered:
https://github.com/mina-deploy/mina/blob/master/docs/faq.md#--mina-hangs-after-i-type-my-password-in
Sorry, something went wrong.
No branches or pull requests
such as
mina nginx:reload
,mina nginx:stop
actions, they need input the password to run, but it never prompt, just hanging;if I add
set :execution_mode, :system
to the deploy file, these actions works well;but when I runmina nginx:print
, it reports errorswhat's wrong with my config?
The text was updated successfully, but these errors were encountered: