I have installed n8n on my Mac through NPM and so far, I’m really enjoying it.
I’m running through a few problems but the main one is:
Some executions are running for ages, and there’s no way for me to stop them (I restarted the computer, no change, they reappear) - I activated (after I admit) the timeout on workflows - but it doesnt change.
I am sorry you’re having trouble. Can you check your server logs, to verify whether n8n might have crashed during these executions, preventing a final execution status from being written to the database?
And is the workflow possibly using a polling trigger node? These have caused seemingly endless executions to appear in the execution list in the past where the polling action itself failed. I thought this has been fixed though, so it’d be good to understand what exactly is happening in these problematic executions.
Hi and thanks for reaching out! Do you have any idea what kind of logs and where you would want me to look at (npm on mac) because I’m not sure where are those logs?
So the cron trigger should be fine, but the logs would be interesting.
Where exactly these live will depend on how exactly you run your version of n8n and you have it configured. By default, n8n would send logs to the console. So you should see any output directly in the terminal you are launching n8n in. If you are a using a process manager like pm2 you could view using the pm2 logs command (or the respective equivalent in other tools of course)
If you have N8N_LOG_OUTPUT=file and N8N_LOG_FILE_LOCATION, the logs would be written into a log file living at the location you have specified.