So I am using an old mac (2015) and tried the “everyone else method”
everything seems to be working with n8n but then I try to run the postgres image I get the following error
Error: Database is uninitialized and superuser password is not specified.
You must specify POSTGRES_PASSWORD to a non-empty value for the
superuser. For example, “-e POSTGRES_PASSWORD=password” on “docker run”.
You may also use “POSTGRES_HOST_AUTH_METHOD=trust” to allow all
connections without a password. This is not recommended.
See PostgreSQL documentation about “trust”:
What am I doing wrong? I tried the mac solution and the “everyone else” solution
Also I tried reinstalling the package and I get the following message on my terminal
WARN[0000] The “POSTGRES_HOST” variable is not set. Defaulting to a blank string.
obviously the postgre container is not running, how can I fix this? i dont know a lot about coding or anything related, just trying to play with the workflows for now
@Cesars-dev If this suggestion solved your problem, please mark my post as the solution (blue box with check mark) so that this ongoing discussion does not distract others who want to find the answer to the original question. Thanks
actually it was very helpfull, did not solve the problem directly because I am on a different enviroment but I came up with 2 solutions:
1 using SQLite
2 downloading and running a container with PostgreSQL on docker
bot solutions seemed viable but I was able to come up with the solution thanks to your suggestion since I noticed my postgre container was not routed properly (is that the way to say it?)
Anyway, I would like to leave it open for a couple of days in case someone has a more direct solution