Missing dependency plug_cowboy
Hi,
Branch develop does not build on up-to-date debian Stretch with Elixir 1.7.x (I have had the issue for a few weeks, but I can't say when the bug was introduced).
Here is the relevant part from the log file:
19:26:41.246 [info] Application pleroma exited: Pleroma.Application.start(:normal, []) returned an error: shutdown: failed to start child: Pleroma.Web.Endpoint
** (EXIT) shutdown: failed to start child: Phoenix.Endpoint.Handler
** (EXIT) "plug_cowboy dependency missing"
And here is a quick patch which seems to work:
diff --git a/mix.exs b/mix.exs
index 865ead43..5beb044c 100644
--- a/mix.exs
+++ b/mix.exs
@@ -48,6 +48,7 @@ defmodule Pleroma.Mixfile do
{:postgrex, ">= 0.13.5"},
{:gettext, "~> 0.15"},
{:cowboy, "~> 1.1.2", override: true},
+ {:plug_cowboy, "~> 1.0"},
{:comeonin, "~> 4.1.1"},
{:pbkdf2_elixir, "~> 0.12.3"},
{:trailing_format_plug, "~> 0.0.7"},