Capistrano 在 linked_files 和 linked_dirs 上的许多失败状态是什么意思?
Capistrano many failed status on linked_files and linked_dirs what do they mean?
好的,据我所知,一切都运行良好,但我确实在大多数 linked_files 和 linked_dirs 任务中看到了很多 "failed" 状态,而且我我想知道他们是否值得关注。这里有几个例子:
DEBUG [423a17e1] Running [ -L /home/caluebat/www/ravenfort/releases/20160312213815/tmp/pids ] on xxx.xxx.xxx.xxx
DEBUG [423a17e1] Command: [ -L /home/caluebat/www/ravenfort/releases/20160312213815/tmp/pids ]
DEBUG [423a17e1] Finished in 0.470 seconds with exit status 1 (failed).
DEBUG [541d2f8a] Running [ -d /home/caluebat/www/ravenfort/releases/20160312213815/tmp/pids ] on xxx.xxx.xxx.xxx
DEBUG [541d2f8a] Command: [ -d /home/caluebat/www/ravenfort/releases/20160312213815/tmp/pids ]
DEBUG [541d2f8a] Finished in 0.476 seconds with exit status 1 (failed).
我无法在 Capistrano 官方文档中找到任何详细信息,他们将问题发送至此处或邮件列表。
如能对上述故障进行澄清,我将不胜感激。
非常感谢。
别担心!
每当 cap 运行一个 returns 非零结果的命令时,它会以红色打印该行并显示 "failed"。这可能会产生误导,因为它运行大量命令只是为了查看已经存在的内容。例如 [ -d foo ]
表示 "Is there a directory named foo?" 它实际上不是故障,它只是检查目标机器以找出它需要做的工作。
如果 cap 遇到真正的错误,它会提前退出,你会得到堆栈跟踪and/or实际错误消息。
好的,据我所知,一切都运行良好,但我确实在大多数 linked_files 和 linked_dirs 任务中看到了很多 "failed" 状态,而且我我想知道他们是否值得关注。这里有几个例子:
DEBUG [423a17e1] Running [ -L /home/caluebat/www/ravenfort/releases/20160312213815/tmp/pids ] on xxx.xxx.xxx.xxx
DEBUG [423a17e1] Command: [ -L /home/caluebat/www/ravenfort/releases/20160312213815/tmp/pids ]
DEBUG [423a17e1] Finished in 0.470 seconds with exit status 1 (failed).
DEBUG [541d2f8a] Running [ -d /home/caluebat/www/ravenfort/releases/20160312213815/tmp/pids ] on xxx.xxx.xxx.xxx
DEBUG [541d2f8a] Command: [ -d /home/caluebat/www/ravenfort/releases/20160312213815/tmp/pids ]
DEBUG [541d2f8a] Finished in 0.476 seconds with exit status 1 (failed).
我无法在 Capistrano 官方文档中找到任何详细信息,他们将问题发送至此处或邮件列表。
如能对上述故障进行澄清,我将不胜感激。 非常感谢。
别担心!
每当 cap 运行一个 returns 非零结果的命令时,它会以红色打印该行并显示 "failed"。这可能会产生误导,因为它运行大量命令只是为了查看已经存在的内容。例如 [ -d foo ]
表示 "Is there a directory named foo?" 它实际上不是故障,它只是检查目标机器以找出它需要做的工作。
如果 cap 遇到真正的错误,它会提前退出,你会得到堆栈跟踪and/or实际错误消息。