mirego / accent

The first developer-oriented translation tool. True asynchronous flow between translators and your team.
https://www.accent.reviews
BSD 3-Clause "New" or "Revised" License
1.31k stars 99 forks source link

Service doesn't start #101

Closed mzch closed 5 years ago

mzch commented 5 years ago

Hi,

I tried to install accent on my VPS, but accent doesn’t start its service. It says, "The app is in maintenance at the moment."

And 'mix phx.server' shows as below:

06:48:01.015 [info] Running Accent.Endpoint with cowboy 2.6.3 at http://localhost:4000
06:48:06.065 request_id=FayvdJZDWceDIKUAAALB [info] GET /
06:48:06.100 request_id=FayvdJZDWceDIKUAAALB [info] Sent 200 in 34ms
06:48:06.388 request_id=FayvdKmk52-jffcAAALR [info] GET /favicon.ico
06:48:06.411 [error] #PID<0.537.0> running Accent.Endpoint (connection #PID<0.535.0>, stream id 2) terminated
Server: renderere.com:80 (http)
Request: GET /favicon.ico
** (exit) an exception was raised:
    ** (FunctionClauseError) no function clause matching in Plug.Conn.fetch_query_params/2
        (plug) lib/plug/conn.ex:964: Plug.Conn.fetch_query_params(nil, [])
        (phoenix) lib/phoenix/endpoint/render_errors.ex:115: Phoenix.Endpoint.RenderErrors.maybe_fetch_query_params/1
        (phoenix) lib/phoenix/endpoint/render_errors.ex:100: Phoenix.Endpoint.RenderErrors.render/6
        (phoenix) lib/phoenix/endpoint/render_errors.ex:75: Phoenix.Endpoint.RenderErrors.instrument_render_and_send/5
        (phoenix) lib/phoenix/endpoint/render_errors.ex:62: Phoenix.Endpoint.RenderErrors.__catch__/5
        (phoenix) lib/phoenix/endpoint/cowboy2_handler.ex:34: Phoenix.Endpoint.Cowboy2Handler.init/2
        (cowboy) /srv/accent/accent/deps/cowboy/src/cowboy_handler.erl:41: :cowboy_handler.execute/2
        (cowboy) /srv/accent/accent/deps/cowboy/src/cowboy_stream_h.erl:296: :cowboy_stream_h.execute/3

How can I fix this issue?