{"action":"created","issue":{"url":"https://api.github.com/repos/bitwalker/distillery/issues/566","repository_url":"https://api.github.com/repos/bitwalker/distillery","labels_url":"https://api.github.com/repos/bitwalker/distillery/issues/566/labels{/name}","comments_url":"https://api.github.com/repos/bitwalker/distillery/issues/566/comments","events_url":"https://api.github.com/repos/bitwalker/distillery/issues/566/events","html_url":"https://github.com/bitwalker/distillery/issues/566","id":367750228,"node_id":"MDU6SXNzdWUzNjc3NTAyMjg=","number":566,"title":"Deploy production to FreeBSD system - libdl.so.1 not found","user":{"login":"lpvm","id":7320067,"node_id":"MDQ6VXNlcjczMjAwNjc=","avatar_url":"https://avatars0.githubusercontent.com/u/7320067?v=4","gravatar_id":"","url":"https://api.github.com/users/lpvm","html_url":"https://github.com/lpvm","followers_url":"https://api.github.com/users/lpvm/followers","following_url":"https://api.github.com/users/lpvm/following{/other_user}","gists_url":"https://api.github.com/users/lpvm/gists{/gist_id}","starred_url":"https://api.github.com/users/lpvm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpvm/subscriptions","organizations_url":"https://api.github.com/users/lpvm/orgs","repos_url":"https://api.github.com/users/lpvm/repos","events_url":"https://api.github.com/users/lpvm/events{/privacy}","received_events_url":"https://api.github.com/users/lpvm/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2018-10-08T11:40:05Z","updated_at":"2018-10-09T10:58:20Z","closed_at":null,"author_association":"NONE","body":"### Steps to reproduce\r\n`$ mix deliver start production --verbose`\r\nThe development is done in Linux\r\nThe build and release are in two FreeBSD computers of the same release 11.2.\r\n\r\n### Verbose Logs\r\n<summary>\r\n\r\n```\r\nEDELIVER ORIF WITH START COMMAND\r\n-----> starting production servers\r\nproduction node:\r\n  user    : elixir\r\n  host    : orif_orif\r\n  path    : /usr/home/elixir/orif/orif_release\r\n  response: Shared object \"libdl.so.1\" not found, required by \"beam\"\r\nShared object \"libdl.so.1\" not found, required by \"beam\"\r\nShared object \"libdl.so.1\" not found, required by \"beam\"\r\nUnusable Erlang runtime system! This is likely due to being compiled for another system than the host is running                                    \r\nShared object \"libdl.so.1\" not found, required by \"beam\"\r\nSTART DONE!\r\n```\r\n\r\n  <details>\r\n\r\n```\r\n# Put your logs here!\r\n```\r\n\r\n  </details>\r\n</summary>\r\n\r\n### Description of issue\r\n- What are the expected results?\r\nI expected that the application could start, but it doesn't.\r\n\r\n- What version of Distillery?\r\n2.0.10\r\n\r\n- What OS, Erlang/Elixir versions are you seeing this issue on?\r\nDevelopment box:\r\n```\r\n$ elixir -v\r\nErlang/OTP 21 [erts-10.1] [source] [64-bit] [smp:8:8] [ds:8:8:10] [async-threads:1]\r\nElixir 1.7.3 (compiled with Erlang/OTP 21)\r\n```\r\n\r\nProduction box:\r\n```\r\n$ elixir -v                                                                                                                     \r\nErlang/OTP 19 [erts-8.3.5.4] [source] [64-bit] [async-threads:10] [hipe] [kernel-poll:false] [dtrace]                                               \r\nElixir 1.6.5 (compiled with OTP 19)\r\n```\r\n\r\n- If possible, also provide your `rel/config.exs`, as it is often\r\n  my first troubleshooting question, and you'll save us both time :)\r\n```\r\n$ grep -v '^#' rel/config.exs\r\n~w(rel plugins *.exs)\r\n|> Path.join()\r\n|> Path.wildcard()\r\n|> Enum.map(&Code.eval_file(&1))\r\n\r\nuse Mix.Releases.Config,\r\n    # This sets the default release built by `mix release`\r\n    default_release: :default,\r\n    default_environment: Mix.env()\r\nenvironment :dev do\r\n  set dev_mode: true\r\n  set include_erts: false\r\n  set cookie: :\"ei\"                                                                   \r\nend\r\nenvironment :prod do\r\n  set include_erts: true\r\n  set include_src: false\r\n  set cookie: :\"h\"                                                                   \r\nend\r\nrelease :orif do\r\n  set version: current_version(:orif)\r\n  set applications: [\r\n    :runtime_tools\r\n  ]\r\nend\r\n```\r\n\r\n\r\n\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/bitwalker/distillery/issues/comments/428149476","html_url":"https://github.com/bitwalker/distillery/issues/566#issuecomment-428149476","issue_url":"https://api.github.com/repos/bitwalker/distillery/issues/566","id":428149476,"node_id":"MDEyOklzc3VlQ29tbWVudDQyODE0OTQ3Ng==","user":{"login":"lpvm","id":7320067,"node_id":"MDQ6VXNlcjczMjAwNjc=","avatar_url":"https://avatars0.githubusercontent.com/u/7320067?v=4","gravatar_id":"","url":"https://api.github.com/users/lpvm","html_url":"https://github.com/lpvm","followers_url":"https://api.github.com/users/lpvm/followers","following_url":"https://api.github.com/users/lpvm/following{/other_user}","gists_url":"https://api.github.com/users/lpvm/gists{/gist_id}","starred_url":"https://api.github.com/users/lpvm/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lpvm/subscriptions","organizations_url":"https://api.github.com/users/lpvm/orgs","repos_url":"https://api.github.com/users/lpvm/repos","events_url":"https://api.github.com/users/lpvm/events{/privacy}","received_events_url":"https://api.github.com/users/lpvm/received_events","type":"User","site_admin":false},"created_at":"2018-10-09T10:58:20Z","updated_at":"2018-10-09T10:58:20Z","author_association":"NONE","body":"I solved this issue.\r\nAfter inspecting the output of the crash, the problem is that the `erlang` version installed in the FreeBSD box is still 19, so the `bcrypt` package had to be downgraded, as mentioned in https://github.com/riverrun/bcrypt_elixir"}}
{"actor":{"display_login":"lpvm"}}