-
Notifications
You must be signed in to change notification settings - Fork 7.8k
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
n8n crashes on start if LocalFileTrigger option ignored is an empty string #4824
Comments
marzn
added a commit
to marzn/n8n
that referenced
this issue
Dec 5, 2022
Hey @marzn, Thanks for the report and the work you have done putting in the PR to fix this one, I have given it a test and with your fix it is working as it should. Nice work 🙌🏻 |
MiloradFilipovic
added a commit
that referenced
this issue
Dec 6, 2022
* master: fix: Handle error when workflow does not exist or is inaccessible (#4831) feat(editor): Schema view (#4615) fix: Enable source-maps on WorkflowRunnerProcess in `own` mode (#4832) ci: Fix linting on master (no-changelog) (#4830) feat: Add message for readonly nodes. Improve foreign credentials handling (#4759) feat(KoBoToolbox Node): Add support for Media file API (#4578) fix(Local File Trigger Node): Fix issue that causes a crash if the ignore field is empty (#4824) (#4825) refactor: Codex updates for XML and HtmlExtract Nodes (#4801) refactor: Reactivate workflow locking (#4770) # Conflicts: # packages/editor-ui/src/Interface.ts
Fix got released with |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Describe the bug
If a LocalFileTrigger is configured with the ignore option but no input (default is an empty string) or the input is deleted, but the ignore option is not deleted, this will result in a crash of n8n. n8n is even not able to restart, because the LocalFileTrigger is executed on startup.
Log / Stacktrace:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
n8n should not crash (on startup).
Environment (please complete the following information):
Additional context
If you run in this issue an can not start n8n again, try to export your workflows:
n8n export:workflow --all --pretty
Remove the empty ignore option from the LocalFileTrigger node and import your workflows again.
The text was updated successfully, but these errors were encountered: