Closed mzch closed 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?
DATABASE_URL=postgres://accent:password@192.168.207.11:5432/accent MIX_ENV=prod PORT=4000 WEBAPP_PORT=4200 WEBAPP_AUTH_PROVIDERS=github,google GITHUB_CLIENT_ID=****** GITHUB_CLIENT_SECRET=****** GOOGLE_API_CLIENT_ID=****** GOOGLE_API_CLIENT_SECRET=****** MAILER_FROM=no-reply@renderere.com SMTP_ADDRESS=192.168.207.21 SMTP_PORT=25
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:
How can I fix this issue?