Header

Error - no such file

Whilst using DeployHQ, you may come across the error: no such file, during deployment. This shows that a reference was made to a file that doesn't exist.

You will need to ensure that all the directories in the specified path do exist.

If is useful to check both SSH and SFTP, as they can be configured separately as different protocols, with different paths. To check from a command line you would use the following commands to connect:

## SSH

$ ssh user@server -p port 
$ ls /deployment/path

## SFTP

$ sftp user@server -p port
$ ls /deployment/path

No such file error during server configuration

If you notice this error while setting up your server configuration in DeployHQ, check that the directory you've entered as the deployment path exists in your server, and that the user you've added in your DeployHQ server configuration has appropriate permissions to be able to upload/delete files in this path on your server.

To resolve any permissions issues found in this configuration, feel free to follow our related article.

Tree

Proudly powered by Katapult. Running on 100% renewable energy.