edeliver - scp无法找到构建

时间:2017-01-27 11:23:30

标签: elixir phoenix-framework edeliver

直到最近," edeliver"运作良好,但现在它抛出了这个错误:

部署

时出现此错误
[skipped]
==> Tarball updated!
==> Release successfully built!
    You can run it in one of the following ways:
      Interactive: _build/prod/rel/my_website123/bin/my_website123 console
      Foreground: _build/prod/rel/my_website123/bin/my_website123 foreground
      Daemon: _build/prod/rel/my_website123/bin/my_website123 start
-----> Copying release 0.1.5 to local release store
-----> Copying my_website123.tar.gz to release store
scp: /home/my_user123/my_website123/builds/rel/my_website123/releases/0.1.5/my_website123.tar.gz: No such file or directory

RELEASE BUILD OF my_website123 WAS SUCCESSFUL!

[skipped]

DEPLOYING RELEASE OF my_website123 APP TO PRODUCTION HOSTS

-----> Authorizing hosts
ls: cannot access '.deliver/releases/my_website123_*.*.tar.gz': No such file or directory
No *(s) found in local release store.
You can build one with the ./edeliver build * task.

此前,大约一个月或两周,之前它运作良好。

Elixir 1.4.0

此外," tput:终端属性是什么:没有这样的设备或地址"在这里意思是:

   tput: terminal attributes: No such device or address

    tput: terminal attributes: No such device or address

1 个答案:

答案 0 :(得分:1)

此错误与Elixir(和OTP完全没有任何关系。)

这是SSH的野兽。由edeliver执行的一个SSH命令正在尝试向终端发送一些消息。如果没有一个打开,就会发生这种情况。

手动尝试ssh到目的地,您可能会看到错误。消除尝试放入STDERR / STDOUT的内容的根本原因,您的部署将恢复正常。