dokku: Unable to deploy additional apps
After installing Dokku I successfully deployed a rails app on it. But after a while I tried to add a second app
dokku apps:create frontend
now the problem is, that I am unable to push to the new app. Pushing to the first app is still working as expected.
git push dokku@myserver.com:api
succeeds, but
git push dokku@myserver.com:frontend
fails with
fatal: 'frontend' does not appear to be a git repository
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
What could cause this behaviour and how could I find a solution for it?
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 15 (8 by maintainers)
Solved the problem thanks to issue https://github.com/dokku/dokku/issues/116 by generating a new public/private key pair and using
cat ~/.ssh/id_rsa.pub | ssh admin@server sudosshcommand acl-add dokku keyname
instead of adding key manually to authorised_keys.Strange, that it worked before with one app, but not the other.