-
Notifications
You must be signed in to change notification settings - Fork 603
Codex/improve heroku deployment code for n8n qab2dj #28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Codex/improve heroku deployment code for n8n qab2dj #28
Conversation
Update PostgreSQL version to 15 in app.json
Update repository URL in app.json
Update repository URL in app.json
|
u |
| if install_n8n_runtime "$target_version" "$force_install" "$installed_version"; then | ||
| if [ "$force_install" = "true" ]; then | ||
| log "Forced installation completed; unset N8N_FORCE_INSTALL to avoid reinstalling on every boot." | ||
| export N8N_FORCE_INSTALL=false |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Bug: Heroku Config Var Not Persisting
The export N8N_FORCE_INSTALL=false command only affects the current process, failing to persist across dyno restarts. This means the Heroku config var for N8N_FORCE_INSTALL remains true, leading to n8n being reinstalled on every subsequent dyno boot, contrary to the log message's intent.
yes