Check RAILS_MASTER_KEY in the .env if exists.
foreman with Procfile can cause this issue as it looks through .env first for the master key.