Help: n8n 1.98.2 Crashes During Startup After Update from 1.95.3
Hi n8n Community!
I’m experiencing issues after updating from n8n 1.95.3 to 1.98.2 and hoping someone might have encountered similar problems or can provide guidance.
My Setup
- Infrastructure: Ubuntu 22.04 LTS on VPS (8 vCPU, 32GB RAM, 400GB NVMe)
- Docker: Using docker-compose with PostgreSQL 15
- Previous version: 1.95.3 (working perfectly)
- Target version: 1.98.2 (latest)
- Configuration: Setup with 25 credentials configured
What I Did
- Clean update process: Changed
image: n8nio/n8n:1.95.3
toimage: n8nio/n8n:latest
in docker-compose.yml - Proper shutdown:
docker-compose down
→docker-compose up -d
- Full backup: Database, credentials, and configuration backed up before update
The Problem
After update, n8n crashes during startup with these symptoms:
Logs showing:
2025-06-24T08:48:17.495Z | error | Last session crashed
2025-06-24T08:48:27.501Z | info | Initializing n8n process
2025-06-24T08:48:27.623Z | debug | Lazy-loading nodes and credentials from n8n-nodes-base {"nodes":481,"credentials":384}
2025-06-24T08:48:27.634Z | debug | Lazy-loading nodes and credentials from @n8n/n8n-nodes-langchain {"nodes":93,"credentials":21}
Then it stops/hangs indefinitely
Container status:
- Status:
Up X minutes (unhealthy)
- Version check: Returns
1.98.2
when container responds - Web interface: Returns 502 Bad Gateway
- Health check: Fails consistently
What I’ve Tried
- Multiple restarts:
docker-compose restart n8n
- Clean shutdown/startup: Full docker-compose down/up cycle
- Waiting longer: Left it for 10+ minutes to complete initialization
- Resource check: Plenty of RAM/CPU available
Potential Causes I’m Considering
- Memory issues during loading 574 nodes (481 base + 93 LangChain)
- Database migration problems from 1.95.3 to 1.98.2
- LangChain compatibility issues with existing configuration
- Credential compatibility (though logs suggest they’re loading)
My Current n8n Configuration
# Key environment variables:
N8N_EXECUTION_DATA_MAX_SIZE: 64
EXECUTIONS_TIMEOUT: 7200
N8N_LANGCHAIN_ENABLED: true
N8N_AI_ENABLED: true
N8N_NODES_INCLUDE: "@n8n/n8n-nodes-langchain"
Questions for the Community
- Has anyone experienced similar crashes when updating to 1.98.2?
- Are there known compatibility issues with LangChain nodes in 1.98.2?
- Should I increase memory allocation for the container? (currently using Docker defaults)
- Is there a recommended upgrade path for production setups with many credentials?
- Any specific debug steps to identify the exact crash point?
Current Status
I’ve rolled back to 1.95.3 for now (which works perfectly), but I’d love to get the latest features working.
Additional Context
- Production environment with business workflows
- No custom nodes installed (using community standard setup)
- Standard PostgreSQL setup (no custom configurations)
- Regular maintenance and updates applied to the host system
Any Help Appreciated!
Whether it’s troubleshooting tips, similar experiences, or suggestions for a different update approach - all input welcome!
Has anyone successfully updated from 1.95.3 to 1.98.2 with a similar setup? What was your process?
Thanks in advance for any insights!
P.S. Happy to provide more logs, configuration details, or run additional diagnostic commands if helpful!