Closed ghost closed 8 years ago
For future reference- what was the issue?
In order to test Dandelion, I had created a folder with some sample files on my localhost, which I initalized with Git, but I had not committed any changes. After the first commit, the initial error message did not come up again.
However, strange thing is that when I am trying to deploy the test folder to to a live server (http://example.com/dandelion_test, i.e. /var/www/html/dandelion_test - I have not created this folder yet on the live server), the script says that changes are deployed, but the files cannot be found on the server:
Connecting to sftp://MyUsername@107.177.777.777/var/www/html
Remote revision: 0f475648538c1061e56d35fee39bf4b1576f982e
Deploying revision: 419c725515ac910e44c17420ac8a9c1e95670431
Deploying changes...
Writing file: contact.html
Skipping file: dandelion.yml
Writing file: index.html
This is my configuration file:
adapter: sftp
host: 107.177.777.777
username: MyUsername
password: MyPassword
port: 21001
path: var/www/html
exclude:
- .gitignore
- dandelion.yml
- news.html
- .git/
Seems like nothing is actually pushed to the server.
Any idea what is wrong?
Looks like you may be deploying to a relative path (var/www/html
= ~/var/www/html
) instead of /var/www/html
.
Just tried that as well but the same result; nothing is deployed to the server although I get the deployment messages in the console. Could that be a write access problem; i.e. the Dandelion script does not have sufficient rights to create and write the files on the live server?
You'd typically see Dandelion throw an exception if there is an access problem. Could you try uploading the files w/ a different SFTP client to make sure it's not a server issue?
Need more info to debug this. @4Digits If this is still an issue for you please re-open.
Get the following error when trying to deploy with Dandelion:
Could the Ruby version I am using be the problem (
ruby 2.2.2p95 (2015-04-13 revision 50295) [x86_64-linux]
)?