This is an existing Phoenix app on fly.io. Trying to deploy a new release (
flyctl deploy) and I get this error.
The differences between the two configs comes from my
runtime.exs. I’m fairly new to Elixir and Phoenix. How do I resolve this?
--> This release will not be available until the release command succeeds. Starting instance Configuring virtual machine Pulling container image Unpacking image Preparing kernel init Configuring firecracker Starting virtual machine Starting init (commit: f447594)... Setting up swapspace version 1, size = 512 MiB (536866816 bytes) no label, UUID=8d82dbc4-fe78-430d-871e-9bbc834ad618 Preparing to run: `/app/bin/migrate` as nobody 2022/12/30 21:51:59 listening on [fdaa:0:d6a7:a7b:a593:11c0:b8f6:2]:22 (DNS: [fdaa::3]:53) * Compile time value was set to: [url: [host: "localhost"], render_errors: [formats: [html: IterupWeb.ErrorHTML, json: IterupWeb.ErrorJSON], layout: false], pubsub_server: Iterup.PubSub, live_view: [signing_salt: "xxxxxxx"], cache_static_manifest: "priv/static/cache_manifest.json"] To fix this error, you might: * Make the runtime value match the compile time one * Recompile your project. If the misconfigured application is a dependency, you may need to run "mix deps.compile iterup --force" * Alternatively, you can disable this check. If you are using releases, you can set :validate_compile_env to false in your release configuration. If you are using Mix to start your system, you can pass the --no-validate-compile-env flag Crash dump is being written to: erl_crash.dump...done Starting clean up. Error release command failed, deployment aborted