-
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
Mina aborts during setup #91
Comments
Did you try to |
(master branch is already 0.2.1 and contains large amount of changes since 0.2.0 release) |
I updated the Gemfile to pull directly from the Github repo, building off of master during the bundle install. This is the output when running bundle exec mina setup --verbose
[email protected]'s password:
-----> Setting up /srv/www/test.com
mkdir: cannot create directory `/srv/www': Permission denied
! ERROR: Setup failed.
! Ensure that the path '/srv/www/test.com' is accessible to the SSH user.
! Try doing:
! sudo mkdir -p "/srv/www/test.com" && sudo chown -R deploy "/srv/www/test.com"
mkdir: cannot create directory `/srv/www': Permission denied
chmod: cannot access `/srv/www/test.com/shared/log': No such file or directory
mkdir: cannot create directory `/srv/www': Permission denied
chmod: cannot access `/srv/www/test.com/shared/config': No such file or directory
touch: cannot touch `/srv/www/test.com/shared/config/database.yml': No such file or directory
bash: line 24: -----: command not found
Connection to adammargherio.com closed. |
That's looks more optimistic. Did you And I ask one more time: is there any chance to get rid of need in sudoer? |
I think the best solution to get rid of the sudoer is to do a chown/chmod on the /srv/www directory and move it from root to deploy. That way there isn't a need for sudo. It would be the same user account for all deploys, and all deploys would take place in that directory, so there wouldn't be a need to tweak anything further down the road. |
There's plenty of good articles on the web, describing this topic. |
The original issue posted is resolved with Thanks. |
When running a
mina setup --verbose
, it seems like everything works appropriately, but after all of the steps are finished, I receive this in the terminal:Any thoughts? I've got
gem 'mina', github: 'nadarei/mina'
in the Gemfile.The text was updated successfully, but these errors were encountered: