Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>That's not a failure, see <a href="https://github.com/leehambley/sshkit/pull/33" rel="noreferrer">https://github.com/leehambley/sshkit/pull/33</a>.</p> <p>It says <code>failed</code> because that is <em>not</em> a file, thus the test command (<code>[</code> aka <code>man (1) test</code>) has exited with status <code>1</code>.</p> <p>The command in question is coming out of <a href="https://github.com/capistrano/capistrano/blob/master/lib/capistrano/tasks/deploy.rake#L66" rel="noreferrer">this code</a>, reproduced below:</p> <pre><code>desc 'Symlink linked files' task :linked_files do next unless any? :linked_files on roles :app do execute :mkdir, '-pv', linked_file_dirs(release_path) fetch(:linked_files).each do |file| target = release_path.join(file) source = shared_path.join(file) unless test "[ -L #{target} ]" if test "[ -f #{target} ]" execute :rm, target end execute :ln, '-s', source, target end end end end desc 'Check files to be linked exist in shared' task :linked_files do next unless any? :linked_files on roles :app do |host| linked_files(shared_path).each do |file| unless test "[ -f #{file} ]" error t(:linked_file_does_not_exist, file: file, host: host) exit 1 end end end end </code></pre> <p>The task name says it all, really, if your file is listed in the <code>:linked_files</code> variable, it must exist in <code>shared_path</code>, otherwise it will cause Capistrano to abort when the file does not exist.</p> <p>You haven't yet said whether or not this is causing your deploy to fail, and since you've posted so little of the log, indicating nothing but normal behaviour, nobody can guess.</p> <p>You appear to be posting logs from the <code>Symlink linked files</code> task, which is supposed to <em><code>fail</code></em> on <code>config/database.yml</code> if it doesn't exist, it has <code>failed</code> to find it, so it does not have to be deleted.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload