**Running n8n via (Docker, npm, n8n cloud, desktop app):Docker compose
**Operating system:Ubuntu 22.04
I’m somewhat new to n8n but I do have a few years’ experience of managing and maintaining docker containers on my home server.
I attempted to install n8n (docker-compose) a few days but kept getting errors that seemed to be postgres related.
Therefore, I completed an installation without the postgres and redis components (using the default SQLite database) and that seemed to work very well: I completed your level one course.
N-8-n is currently running on SQLite however, I understand that postgres is preferred (if at all possible) I’ve re-attempted to get postgres installed but this error keeps coming up:
PostgreSQL Database directory appears to contain a database; Skipping initialization
2024-12-25 16:07:46.455 UTC [1] LOG: starting PostgreSQL 16.6 (Debian 16.6-1.pgdg120+1) on x86_64-pc-linux-gnu, compiled by gcc (Debian 12.2.0-14) 12.2.0, 64-bit
2024-12-25 16:07:46.455 UTC [1] LOG: listening on IPv4 address “0.0.0.0”, port 5432
2024-12-25 16:07:46.455 UTC [1] LOG: listening on IPv6 address “::”, port 5432
2024-12-25 16:07:46.458 UTC [1] LOG: listening on Unix socket “/var/run/postgresql/.s.PGSQL.5432”
2024-12-25 16:07:46.463 UTC [29] LOG: database system was shut down at 2024-12-25 16:07:45 UTC
2024-12-25 16:07:46.468 UTC [1] LOG: database system is ready to accept connections
2024-12-25 16:07:51.503 UTC [40] FATAL: role “postgres” does not exist
2024-12-25 16:07:56.583 UTC [48] FATAL: role “postgres” does not exist
2024-12-25 16:08:01.688 UTC [56] FATAL: role “postgres” does not exist
I keep getting a 403 error (on this website) when attempting to post the relevant sections from my docker compose…I guess it’s because my account is new.
Ensure to copy your n8n workflow and paste it in the code block, that is in between the pairs of triple backticks, which also could be achieved by clicking </> (preformatted text) in the editor and pasting in your workflow.
```
<your workflow>
```
That implies to any JSON output you would like to share with us.
Make sure that you have removed any sensitive information from your workflow and include dummy or pinned data with it!