Describe the problem/error/question
I am trying to connect to the rds postgresql using a simple docker-compose file. but it is always saying in the log
UserSettings were generated and saved to: /home/node/.n8n/config
2023-08-13T12:13:48.897Z | debug | Lazy Loading credentials and nodes from n8n-nodes-base "{\n credentials: 320,\n nodes: 431,\n file: 'DirectoryLoader.js',\n function: 'loadAll'\n}"
2023-08-13T12:16:05.497Z | error | Last session crashed "{ file: 'CrashJournal.js', function: 'init' }"
2023-08-13T12:16:15.869Z | debug | Lazy Loading credentials and nodes from n8n-nodes-base "{\n credentials: 320,\n nodes: 431,\n file: 'DirectoryLoader.js',\n function: 'loadAll'\n}"
Please share your workflow
my docker-compose file is running in an ec2 instance. both rds and ec2 are running in the same VPC. My compose file:
version: '3.8'
services:
n8n:
image: n8nio/n8n:latest
restart: unless-stopped
environment:
- DB_TYPE=postgresdb
- DB_POSTGRESDB_HOST=host_name
- DB_POSTGRESDB_PORT=5432
- DB_POSTGRESDB_DATABASE=db_name
- DB_POSTGRESDB_USER=user
- DB_POSTGRESDB_PASSWORD=some_pass
- N8N_LOG_LEVEL=debug
- DB_LOGGING_OPTIONS=all
- DB_LOGGING_ENABLED=true
ports:
- 80:5678
Information on your n8n setup
- latest
- PostgreSQL v11.9
- Docker
- ubuntu