I have seen this mentioned before here, but topics are now closed.
Anytime I want to set a wait node with a longer time interval it just keeps running and does not execute. It is driving me a bit nuts.
This is the error response in the container log:
TypeError: execution.waitTill.getTime is not a function
I have tried in an empty workflow, restarted everything, set up correct timezones for both DB and N8N, and the schedule trigger node works as it should. I did set the timezones AFTER instantiating the DB though.
My setup is docker, via docker compose and I am using a Postgres DB.
Docker compose config is like so:
version: '3.8'
services:
n8n:
image: n8nio/n8n:ai-beta
ports:
- "5678:5678"
environment:
- N8N_BASIC_AUTH_ACTIVE=true
- N8N_BASIC_AUTH_USER=user
- N8N_BASIC_AUTH_PASSWORD=password
- DB_TYPE=postgresdb
- DB_POSTGRESDB_HOST=db
- DB_POSTGRESDB_PORT=5432
- DB_POSTGRESDB_DATABASE=n8n
- DB_POSTGRESDB_USER=redacted
- DB_POSTGRESDB_PASSWORD=redacted
- N8N_HOST=n8n.example.com
- WEBHOOK_URL=https://n8n.example.com
- N8N_PUSH_BACKEND=sse
- TZ=Europe/Paris
- GENERIC_TIMEZONE=Europe/Paris
volumes:
- /appdata/n8n/files:/files
- /appdata/n8n/system:/home/node/.n8n
depends_on:
- db
restart: unless-stopped
db:
image: postgres:12
volumes:
- /appdata/n8n/postgres:/var/lib/postgresql/data
environment:
- POSTGRES_USER=redacted
- POSTGRES_PASSWORD=redacted
- POSTGRES_DB=n8n
- TZ=Europe/Paris
- USER=1000:1000
restart: unless-stopped
I am pulling my hair. I will have to try to release the wait node via a webhook and the schedule trigger node in from a separate workflow or something similar.
All time settings seem ok otherwise.
Any thoughts? Appreciate it <3