Help with deployment

#1
by elmerzole - opened

Can you tell me how I can deploy this myself. I tried doing it using a supabase db but it runs into an error for some reason when building

Can you give me your build logs

Exit code: 1. Reason: Permissions 0644 for n8n settings file /home/node/.n8n/config are too wide. This is ignored for now, but in the future n8n will attempt to change the permissions automatically. To automatically enforce correct permissions now set N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=true (recommended), or turn this check off set N8N_ENFORCE_SETTINGS_FILE_PERMISSIONS=false.
Initializing n8n process
There was an error initializing DB
connect ENETUNREACH 2600:1f1c:f9:4d04:3ccf:372f:2233:b1eb:5432 - Local (:::0)

These are the container logs. The build went fine. I'm using supabase for database

From your logs, it seems that there is an error in database connection. In fact, i use supabase as well. And I meet this problem at first. When you click connect bottom on the supabase, you will see three connection URL ,and you should use second URL which is called Transaction pooler. Additional, please keep your secret are true and not forgot N8N_ENCRYPTION_KEY and WEBHOOK_URL

elmerzole changed discussion status to closed
elmerzole changed discussion status to open

Thanks. Transaction pooler worked. I was using the direct connection method and it didn't work. Supabase storage will suffice, right? I've never used it.

Sign up or log in to comment