Ticket: "Invalid DB credentials on new install"
@heps Just created a ticket
Question: I can’t login on new installation
Attempted: I’m trying to setup the app using the docker compose file that you provided. Just copy-pasted from website. It says “the provided database credentials for postiz-user are not valid”. What i’m doing wrong?
Working On: I’m working with docker compose on mac. I’m not using caddy, i just want to use localhost
Take it from here @Mod 🔥
Question: I can’t login on new installation
Attempted: I’m trying to setup the app using the docker compose file that you provided. Just copy-pasted from website. It says “the provided database credentials for postiz-user are not valid”. What i’m doing wrong?
Working On: I’m working with docker compose on mac. I’m not using caddy, i just want to use localhost
Take it from here @Mod 🔥
10 Replies
Heya @heps , did you change the ports in the
docker-compose.yml
for postiz-redis and postiz-postgres by any chanceI tried to change the 3000 one. But then i just copy-pasted your example.
Should I change something? If yes, it’s not clear that i have to
It should work without changing anything apart from the URLs ofc which I presume you've already did. To localhost or a server owned by you.
Also I'm not a developer on the postiz team, just someone like you. Had the same issue as you when I changed the ports and thought I could help
Should i change the urla to https://localhost?
Without any port?
Can you provide an example, please?
Sure, here is my .env file that works- (for my Ubuntu atleast)
The relevant part of the .env file ^
Thanks! I’m going to try
Do you know if i can change the default 3000 port to something like 3001:3000? With other apps i do this to change the default settings
Yeah of course, You can change the ports, just that some ports are repeated twice in the .env file.
Some people often edit one occurrence and forget to edit the second one leading to errors
@heps My env file above was in reference to this recommendation. Nevo David is the creator of Postiz.
Hey folks, are you still having problems here?
@GHOUL , @heps , do you still need help here?
Nope