【问题标题】:edeliver -- scp is unable to find a buildedeliver -- scp 无法找到构建
【发布时间】:2017-01-27 11:23:29
【问题描述】:

直到最近,“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.

以前,大约一个月或两周前,它运行良好。

灵药 1.4.0

还有,这里的“tput:终端属性:没有这样的设备或地址”是什么意思:

   tput: terminal attributes: No such device or address

    tput: terminal attributes: No such device or address

【问题讨论】:

    标签: elixir phoenix-framework edeliver


    【解决方案1】:

    此错误与 Elixir(和 OTP 完全无关)。

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

    尝试手动ssh 到目的地,您可能会发现问题所在。消除尝试放入 STDERR/STDOUT 的根本原因,您的部署将恢复正常。

    【讨论】:

    • 通过 ssh 登录时没有问题。但是,“tput:终端属性:没有这样的设备或地址”不是一个大问题。问题是我无法部署。
    • 这两个问题 [恕我直言] 相关。你试过手动scp吗?
    • 还没有。但是 scp 由于“没有这样的文件或目录”而失败,因为该死的 edeliver 或酿酒厂不再将我的版本复制到发布文件夹中。我已经手动完成了。
    猜你喜欢
    • 2018-09-05
    • 1970-01-01
    • 1970-01-01
    • 2019-10-29
    • 2022-09-30
    • 2015-10-29
    • 2018-04-06
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多