Troubleshooting a deployment
If a deployment fails, you’ll see an error message in the console. If the error is a Rails stack trace, it will be truncated. To view the entire error message run:fly logs to see the full error message.
Running migrations
For Postgresql, migrations are configured to automatically run after each deployment via the following task in your application’sfly.toml:
bin/docker-entrypoint script.
To disable automatic migrations for deploys, remove db:prepare lines from these files. Then, to manually run migrations after a deployment, run: