Giter Site home page Giter Site logo

chmod: cannot access `/path/to/app': No such file or directory chmod: cannot access `/public_html/test': No such file or directory about git-deploy HOT 4 CLOSED

mislav avatar mislav commented on June 9, 2024
chmod: cannot access `/path/to/app': No such file or directory chmod: cannot access `/public_html/test': No such file or directory

from git-deploy.

Comments (4)

mislav avatar mislav commented on June 9, 2024

The "/path/to/myapp" is just an example path from the docs. The actual path on your server will be different.

I don't know what the error about "/public_html/test" is about. Can you share your actual remotes config and how did you run git-deploy in the setup phase?

from git-deploy.

fedesilvaponte avatar fedesilvaponte commented on June 9, 2024

Yes, sorry, the example was wrong. Here's what I dit exactly

git init
git remote add production [email protected]:/gitexample
git deploy setup -r production

And here's the error I get:

[production] $ chmod g+ws /gitexample && \
  cd /gitexample && \
  git init --shared && \
  git config --bool receive.denyNonFastForwards false && \
  git config receive.denyCurrentBranch ignore
stdin: is not a tty
chmod: cannot access `/gitexample': No such file or directory

[email protected] is just an example so I don't have to post my current server ssh login

from git-deploy.

mislav avatar mislav commented on June 9, 2024

So, the sudo command tried to create the "/gitexample" directory but failed with "stdin: is not a tty". I don't know exactly why, but to work around the problem, log into the server and create the "/gitexample" directory yourself.

from git-deploy.

fedesilvaponte avatar fedesilvaponte commented on June 9, 2024

I found the problem, I wasn't accessing the correct folder on my server. Now it seems to be working.

Sorry for wasting your time, and thanks for this great program!

from git-deploy.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.